DoExpressCheckoutPayment API for Opencart 2

erik_paka

New member
Aug 21, 2019
8
1
3
I am using opencart 2.
Recently my site occured a problem there different item and amount between checkout page and paypal.
I asked paypal tech person. he replied as below

I checked the logs for the mentioned transaction.
When your website call SetExpressCheckout API, the amount is 544.00, and there are 4 items in the order.
When the buyer approve the payment, the amount is 544.00 and there are 4 items in the order.
When your website call GetExpressCheckoutDetails API to get order details, the amount is still 544.00 and 4 items in the order.
While when your website call DoExpressCheckoutPayment API to finalize the payment, it sent 395.00 as the total amount, and only 3 items in order. That's why the payment amount is 395.00 and only 3 items in the transaction detail.

---------------

That's mean there are a error occur in DoExpressCheckoutPayment api. But how can I check and fixed it? I am exactly no any idea ^.^"
Anyone can give advice to me?
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu