From e61d580abac3216217e6fa4faf98dfcf1302eb24 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Thu, 13 Feb 2014 12:31:32 +0000 Subject: [PATCH] Buttonsource should be bn MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @coenjacobs doesn’t have to be in read me --- .../paypal/class-wc-gateway-paypal.php | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/includes/gateways/paypal/class-wc-gateway-paypal.php b/includes/gateways/paypal/class-wc-gateway-paypal.php index 10b8e8af821..24bcf2c0a4f 100644 --- a/includes/gateways/paypal/class-wc-gateway-paypal.php +++ b/includes/gateways/paypal/class-wc-gateway-paypal.php @@ -274,37 +274,37 @@ class WC_Gateway_Paypal extends WC_Payment_Gateway { // PayPal Args $paypal_args = array_merge( array( - 'cmd' => '_cart', - 'business' => $this->email, - 'no_note' => 1, - 'currency_code' => get_woocommerce_currency(), - 'charset' => 'UTF-8', - 'rm' => is_ssl() ? 2 : 1, - 'upload' => 1, - 'return' => esc_url( add_query_arg( 'utm_nooverride', '1', $this->get_return_url( $order ) ) ), - 'cancel_return' => esc_url( $order->get_cancel_order_url() ), - 'page_style' => $this->page_style, - 'paymentaction' => $this->paymentaction, - 'BUTTONSOURCE' => 'WooThemes_Cart', - + 'cmd' => '_cart', + 'business' => $this->email, + 'no_note' => 1, + 'currency_code' => get_woocommerce_currency(), + 'charset' => 'UTF-8', + 'rm' => is_ssl() ? 2 : 1, + 'upload' => 1, + 'return' => esc_url( add_query_arg( 'utm_nooverride', '1', $this->get_return_url( $order ) ) ), + 'cancel_return' => esc_url( $order->get_cancel_order_url() ), + 'page_style' => $this->page_style, + 'paymentaction' => $this->paymentaction, + 'bn' => 'WooThemes_Cart', + // Order key + ID - 'invoice' => $this->invoice_prefix . ltrim( $order->get_order_number(), '#' ), - 'custom' => serialize( array( $order_id, $order->order_key ) ), - + 'invoice' => $this->invoice_prefix . ltrim( $order->get_order_number(), '#' ), + 'custom' => serialize( array( $order_id, $order->order_key ) ), + // IPN - 'notify_url' => $this->notify_url, - + 'notify_url' => $this->notify_url, + // Billing Address info - 'first_name' => $order->billing_first_name, - 'last_name' => $order->billing_last_name, - 'company' => $order->billing_company, - 'address1' => $order->billing_address_1, - 'address2' => $order->billing_address_2, - 'city' => $order->billing_city, - 'state' => $order->billing_state, - 'zip' => $order->billing_postcode, - 'country' => $order->billing_country, - 'email' => $order->billing_email + 'first_name' => $order->billing_first_name, + 'last_name' => $order->billing_last_name, + 'company' => $order->billing_company, + 'address1' => $order->billing_address_1, + 'address2' => $order->billing_address_2, + 'city' => $order->billing_city, + 'state' => $order->billing_state, + 'zip' => $order->billing_postcode, + 'country' => $order->billing_country, + 'email' => $order->billing_email ), $phone_args );