Paypal payment notification refused:invalid amount
13 years 3 months ago #108181
by 3by400
3by400, Inc.
3by400.com
Websites that Work, Marketing that Matters
Paypal payment notification refused:invalid amount was created by 3by400
We're having an issue with the way product options are being sent to Paypal for payment. We have a product that costs $19.95 and an option that costs an additional $14.95. We are grouping the options with the main product so that in the cart the two products are combined in one line item with a cost of $34.90.
The issue is that when the customer is redirected to Paypal the main product is listed as $34.90 and the option is also shown as a second item with an additional $14.95 fee, which makes the Paypal total $49.85.
The issue is that when the customer is redirected to Paypal the main product is listed as $34.90 and the option is also shown as a second item with an additional $14.95 fee, which makes the Paypal total $49.85.
3by400, Inc.
3by400.com
Websites that Work, Marketing that Matters
Please Log in or Create an account to join the conversation.
13 years 3 months ago #108238
by nicolas
Replied by nicolas on topic Paypal payment notification refused:invalid amount
Add the line:
if($product->order_product_option_parent_id) continue;
after the line:
foreach($order->cart->products as $product){
in the file plugins/hikashoppayment/paypal/paypal.php and that will fix the problem.
We'll fix that properly in next version of HikaShop.
if($product->order_product_option_parent_id) continue;
after the line:
foreach($order->cart->products as $product){
in the file plugins/hikashoppayment/paypal/paypal.php and that will fix the problem.
We'll fix that properly in next version of HikaShop.
Please Log in or Create an account to join the conversation.
Time to create page: 0.175 seconds