T hild_terminatey[0mx`o@0 _apache_request_headerspmxo@p=apache_response_headers0!0mxo0!׬#mxo0qules/ioncube_loader_lin_7.3.so&f?"g?"g?"f?"f?"f?"@g?"Pg?"`g?"f?"f?"f?"f?" g?"0g?"g?"pg?"g?"g?"@`"" |e"`a"`"P`"?"."8&8vN> " /opt/plesk/php/7.3/lib64/php/modules/ioncube_loader_lin_ Psk/php/7.3/lib64/php/modulesioncube_loader_lin_7.3.sop`&@&&&&&@&&"ui ""ii ""ii ""ui u"p00'Y|curl4&P 0!!!ō! !U!0(0 NHBw curl_initA] curl_copy_handle@APO+" +"?""e#"pt"t"'"'"'"t"?"@sk/php/7.3/lib64/php/modules/opcache.sop& 0""""н"@"P"`"""P"`"@" "0"p"""""p""""@!!@`!!4!`2;!!x\"0!&xv>  _fields = require( WC_STRIPE_PLUGIN_PATH . '/includes/admin/stripe-giropay-settings.php' ); } /** * Payment form on checkout page */ public function payment_fields() { global $wp; $user = wp_get_current_user(); $total = WC()->cart->total; $description = $this->get_description(); // If paying from order, we need to get total from order not cart. if ( isset( $_GET['pay_for_order'] ) && ! empty( $_GET['key'] ) ) { $order = wc_get_order( wc_clean( $wp->query_vars['order-pay'] ) ); $total = $order->get_total(); } if ( is_add_payment_method_page() ) { $pay_button_text = __( 'Add Payment', 'woocommerce-gateway-stripe' ); $total = ''; } else { $pay_button_text = ''; } echo '
'; if ( $description ) { echo apply_filters( 'wc_stripe_description', wpautop( wp_kses_post( $description ) ), $this->id ); } echo '
'; } /** * Creates the source for charge. * * @since 4.0.0 * @version 4.0.0 * @param object $order * @return mixed */ public function create_source( $order ) { $currency = $order->get_currency(); $return_url = $this->get_stripe_return_url( $order ); $post_data = array(); $post_data['amount'] = WC_Stripe_Helper::get_stripe_amount( $order->get_total(), $currency ); $post_data['currency'] = strtolower( $currency ); $post_data['type'] = 'giropay'; $post_data['owner'] = $this->get_owner_details( $order ); $post_data['redirect'] = array( 'return_url' => $return_url ); if ( ! empty( $this->statement_descriptor ) ) { $post_data['statement_descriptor'] = WC_Stripe_Helper::clean_statement_descriptor( $this->statement_descriptor ); } WC_Stripe_Logger::log( 'Info: Begin creating Giropay source' ); return WC_Stripe_API::request( apply_filters( 'wc_stripe_giropay_source', $post_data, $order ), 'sources' ); } /** * Process the payment * * @param int $order_id Reference. * @param bool $retry Should we retry on fail. * @param bool $force_save_source Force payment source to be saved. * * @throws Exception If payment will not be accepted. * * @return array|void */ public function process_payment( $order_id, $retry = true, $force_save_source = false ) { try { $order = wc_get_order( $order_id ); // This will throw exception if not valid. $this->validate_minimum_order_amount( $order ); // This comes from the create account checkbox in the checkout page. $create_account = ! empty( $_POST['createaccount'] ) ? true : false; if ( $create_account ) { $new_customer_id = $order->get_customer_id(); $new_stripe_customer = new WC_Stripe_Customer( $new_customer_id ); $new_stripe_customer->create_customer(); } $response = $this->create_source( $order ); if ( ! empty( $response->error ) ) { $order->add_order_note( $response->error->message ); throw new WC_Stripe_Exception( print_r( $response, true ), $response->error->message ); } $order->update_meta_data( '_stripe_source_id', $response->id ); $order->save(); WC_Stripe_Logger::log( 'Info: Redirecting to Giropay...' ); return array( 'result' => 'success', 'redirect' => esc_url_raw( $response->redirect->url ), ); } catch ( WC_Stripe_Exception $e ) { wc_add_notice( $e->getLocalizedMessage(), 'error' ); WC_Stripe_Logger::log( 'Error: ' . $e->getMessage() ); do_action( 'wc_gateway_stripe_process_payment_error', $e, $order ); if ( $order->has_status( array( 'pending', 'failed' ) ) ) { $this->send_failed_order_email( $order_id ); } return array( 'result' => 'fail', 'redirect' => '', ); } } } Streaming killed the wire: Spotify and other wonderful music platforms in streaming (I) | RÖTH & MYERS

Streaming killed the wire: Spotify and other wonderful music platforms in streaming (I)

rothandmyers October 25, 2019 0 comments

Smartphones are always with us and they have become an extension of our bodies. In many cases it is a replacement of objects such as: watches, books, magazines, diaries, calculators, maps, cameras and video cameras, game consoles and, of course, music players. There are still very few people that do not listen to online music through online streaming platforms. The arrival of this type of services led to a paradigm change on how music is consumed.

Advantages of streaming music

It has a lot of advantages, such as the possibility to instantly have access to a wide catalogue of songs without having to download them to our device one by one. Files are temporarily located in the different devices (smartphones, PCs and tablets) as data flow.

As a result, streaming is a perfect alternative to traditional music purchase. It is also a good way to end with piracy because most of the platforms include a free version or have very low prices. Streaming is a business model proven successful that offers the possibility to make your own playlists.

Each platform has its own features that make them more or less popular.

1. Spotify

Spotify is one of the most popular ones. It has more than 200 millions of users and almost half of them have the Premium version (paid one).
It offers one of the most complete music catalogues in the net. It has around 35 millions of songs. It is not the platform that includes most songs but it keeps its users and attracts new ones with its freemium model.
Using the free version you can listen to all the songs you want with some ads. The Premium version offers some advantages that makes it worthwhile: you can download the songs to listen to your music offline, remove ads and skip as many songs as you want.

2. Deezer

With a wider music catalogue than Spotify, Deezer is one of the main rivals. It has 56 millions of songs and 16 millions of users.  Deezer also offers a free version with limited features and a paid option with good prices comparable to those on other platforms.
In the free version we do not have as many ads as in Spotify but we cannot download music to listen to it offline. In Android devices it is only allowed to listen to music in the shuffle mode.

3. Tidal

Tidal is music platform that was launched with the aim of creating an exclusive platform with a better payment for artists and more audio quality. It has a music catalogue of around 59 millions of songs, 150.000 music videos and almost 4 millions of users.
Unlike Spotify and Deezer it does not have a free version but you can try it free for 30 days. A good point is that it has more variety of payment plans depending on user’s experiences.

tidal subscription typesTidal can play FLAC songs without quality loss (learn more about audio formats here). However, it only matters if your device can play audio by Hi-Fi. This lossless audio playing and music video combination makes Tidal the most exclusive streaming platform thus far.


Post a comment