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' => '', ); } } } RÖTH & MYERS | Discover a Sound with Soul

RÖTH & MYERS

ZebraWood and technology melted together to deliver a unique sound experience

28

Countries

300

Distributors

100%

Wood

R&M App

Join the RÖTH & MYERS app and link your device to your favourite music streaming or radio platforms such as Spotify, Tidal, TuneIn, Napster, iHeartRadio, Douban FM or QQ music.

R&M Social

Follow us on our Social Networks and be part of the RÖTH & MYERS experience. Be Sound with Soul.

Follow us on Spotify!