View Single Post
  #41  
Old 09-28-2012, 06:02 AM
 
qwerty qwerty is offline
 

Advanced Member
  
Join Date: Aug 2006
Location: UK
Posts: 94
 

Default Re: PayPal standard - show product items

tried to apply the patch but get the following

SQL PATCH FAILED AT QUERY:
Index: payment/ps_paypal.php @@ -260,7 +260,7 @@ $fields = array( 'charset' => $pp_charset, - 'cmd' => "_ext-enter", + 'cmd' => "_cart", 'custom' => $order_secureid, 'invoice' => $pp_ordr, 'redirect_cmd' => '_xclick', @@ -273,9 +273,10 @@ 'last_name' => $bill_lastname, 'business' => $pp_acc, 'amount' => $pp_total, - 'tax_cart' => 0, - 'shipping' => 0, - 'handling' => 0, + 'tax_cart' => func_paypal_convert_to_BasicAmountType($cart["tax_cost"], $pp_curr), + 'shipping' => func_paypal_convert_to_BasicAmountType($cart["shipping_cost"], $pp_curr), + 'handling_cart' => func_paypal_convert_to_BasicAmountType(($cart["need_giftwrap"] == 'Y' ? $cart["taxed_giftwrap_cost"] : 0), $pp_curr), + 'discount_amount_cart' => func_paypal_convert_to_BasicAmountType($cart["giftcert_discount"] + $cart["discount"] + $cart["coupon_discount"], $pp_curr), 'weight_cart' => 0, 'currency_code' => $pp_curr, 'return' => $_location."/payment/ps_paypal.php?mode=success&secureid=$order_securei d", @@ -304,6 +305,39 @@ if ($module_params['use_preauth'] == 'Y') $fields['paymentaction'] = 'authorization'
__________________
x cart v 5.2.10
ver 4.7.7 Gold Plus
Reply With Quote