Send shipping name to paypal
This commit is contained in:
parent
e8ef14ce7d
commit
56d98cb7c5
|
@ -250,7 +250,7 @@ class Woocommerce_Paypal extends Woocommerce_Payment_Gateway {
|
|||
|
||||
// Shipping Cost
|
||||
if ($order->get_shipping()>0) :
|
||||
$paypal_args['item_name_2'] = __('Shipping cost', 'woocommerce');
|
||||
$paypal_args['item_name_2'] = __('Shipping via ', 'woocommerce') . ucwords($order->shipping_method_title);
|
||||
$paypal_args['quantity_2'] = '1';
|
||||
$paypal_args['amount_2'] = number_format($order->get_shipping(), 2, '.', '');
|
||||
endif;
|
||||
|
|
|
@ -132,6 +132,7 @@ Yes you can! Join in on our GitHub repository :) https://github.com/woothemes/wo
|
|||
* Error are now lists instead of divs so we can show multiple errors at once
|
||||
* Problem: Stock management off, hide out of stock on meant some product were hidden randomly. Solution: Enable instock/outofstock selector on edit product page regardless of settings
|
||||
* If sending shipping to paypal, send shipping address
|
||||
* Send shipping name to paypal
|
||||
|
||||
= 1.3.2.1 - 15/12/2011 =
|
||||
* Category/Ordering fix
|
||||
|
|
Loading…
Reference in New Issue