[Skip to main content](#vessel-content)

#   Paypal payment notification refused:invalid amount

##

- **[3by400](/forum/user/6842-3by400 "View 3by400's Profile")**
- [![3by400's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6842.jpg)](/forum/user/6842-3by400 "View 3by400's Profile") Topic Author
- [ Offline](/forum/user/6842-3by400)

Less More

- Posts: 211
- Thank you received: 14
-
-
- [](https://3by400.com)
-

13 years 5 months ago [\#108181](#108181) by [3by400](/forum/user/6842-3by400 "View 3by400's Profile")  *[Paypal payment notification refused:invalid amount](/forum/2-general-talk-about-hikashop/83450-paypal-payment-notification-refused-invalid-amount#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...")* was created by *[3by400](/forum/user/6842-3by400 "View 3by400's Profile")*

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](https://3by400.com)
Websites that Work, Marketing that Matters

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgzNDUwLXBheXBhbC1wYXltZW50LW5vdGlmaWNhdGlvbi1yZWZ1c2VkLWludmFsaWQtYW1vdW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86560
- Thank you received: 14307
-
-

13 years 5 months ago [\#108238](#108238) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Paypal payment notification refused:invalid amount](/forum/2-general-talk-about-hikashop/83450-paypal-payment-notification-refused-invalid-amount#108238 "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...")*

Add the line:
if($product-&gt;order_product_option_parent_id) continue;

after the line:
foreach($order-&gt;cart-&gt;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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgzNDUwLXBheXBhbC1wYXltZW50LW5vdGlmaWNhdGlvbi1yZWZ1c2VkLWludmFsaWQtYW1vdW50P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.042 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
