OpenCart PayPal Express Checkout Problem Occured but no Error response in Log

fritz-valentin
Contributor
Contributor

Hello there,
I need to set up PayPal Express Checkout in OpenCart 3.0.3.8:
I have created new NVP/SOAP API credentials, and the sandbox mode seems to work fine, but when in Live-Mode the PayPal Window just says "An Error occured" (without more information) as soon as the customer want to check out. However, the OpenCart Log seems to show a successful response from PayPal:

 

 

fritzvalentin_0-1698257275123.png


No money gets sent and no new order is created, it behaves as if the payment was cancelled. Any ideas?

...Strangely, I already had PP Express Checkout working once, but it suddenly started to show this Error a couple of months ago. Then I had used "PayPal Commerce Platform" (which uses the REST API) since then, but now I need PayPal Express again as it's the only Option which supprts recurring Payments with OpenCart.

Please help if you can! 🙂

Login to Me Too
1 REPLY 1

Kavyar
Moderator
Moderator

Good day @fritz-valentin 

 

Thank you for posting to the PayPal community.

 

I kindly request that you retry the process by following the below guide links:

 

To process PayPal Express Checkout payments, please contact your website developer or the support of third party platform(eCommerce) to handle their internal website code and initiate the payment by triggering the SetExpressCheckout API call from your website to the PayPal system via -  https://developer.paypal.com/docs/archive/express-checkout/ec-initiate-payment.

 

Once the payment has been initiated, the merchant's website can trigger the GetExpressCheckoutDetails API call to retrieve buyer/customer information, such as name, email address and delivery address, from PayPal.

 

https://developer.paypal.com/docs/archive/express-checkout/ec-get-payment-details/

 

Finally, the merchant's website must trigger a call to the DoExpressCheckout payment API to recover the buyer/customer's funds via -  https://developer.paypal.com/docs/archive/express-checkout/ec-finalize-payment/.

 

Third party platforms eCommerce develops their own plugins/modules. 

 

Also, I would suggest to please contact the support of your third party platform(eCommerce) who can able to help you regarding eCommerce plugins/modules setup and follow the above steps.

 

If your still facing issues, please create an MTS ticket via - https://www.paypal-support.com/s/?language=en_US  with the detailed information and error details.

 

Sincerely,

Kavya

PayPal MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

 

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.