Paypal payment notification refused:invalid amount

  • Posts: 195
  • Thank you received: 13
  • Hikashop Business
11 years 4 months ago #108181

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.


3by400, Inc.
3by400.com
Websites that Work, Marketing that Matters

Please Log in or Create an account to join the conversation.

  • Posts: 82727
  • Thank you received: 13342
  • MODERATOR
11 years 4 months ago #108238

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.

Please Log in or Create an account to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum