Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Paypal error Item amount must add up to specified amount subtotal

Tags:

paypal

I'm using PayPal's REST API from my .Net MVC 4 Razor website.

On creating a payment I've traced the following request and response through fiddler:

enter image description here

Can anyone explain what's causing the error please? The transactions amount total and items price is both 0.24 so I can't understand why the error.

like image 570
Rob Bowman Avatar asked Aug 25 '13 10:08

Rob Bowman


1 Answers

Please set price under items as 0.12. You are shipping 2 items for a total amount of 0.24 so it should have be 0.24 / 2 = 0.12. Assuming the unit price is 0.12, You have correctly set the total amount as 0.24

like image 186
Prasanna_PayPal Avatar answered Nov 14 '22 02:11

Prasanna_PayPal