As you know, PayPal is considered one of the best payment methods recognized worldwide. This is why adding this payment method to the checkout page of a Magento store makes it more appealing to users. Additionally, several PayPal payment options make it even more flexible and versatile within Magento.
What causes the error and how to fix it?
The client faced payment errors in their store based on Magento 2.3.4. When using PayPal Payflow Pro during checkout, an unusual situation arose. No action occurred despite the user inputting all card details and clicking the “Place Order” button. No error messages were shown, yet credit card payments failed to process.
To resolve this, a patch must be implemented, which includes modifications to a block, route, and template.
The initial step will involve making adjustments to the PayPal settings. Please refer to the information below.
1) You need to configure Return URL Method in your manager.paypal.com account: Service Settings -> Hosted Checkout Pages -> Set Up -> Payment Confirmation section.
2) Go to your manager.paypal.com,
i) Then go at "Home --> Service Summary --> Hosted Checkout Pages -->Set up" and set Cancel URL Method to POST;
ii) Return URL Method: POST;
iii) Enable Secure Token: Yes;
This will capture the real amount after authorize the amount 0, this action works immediately.
3) Go to "Paypal Manager --> Account Administration --> Transaction Settings" and set Allow reference transactions to Yes. This action will take effect in an hour.
Then you need to install our patch: Patch for PayflowPro.
Please note that for the Community Edition, use MDVA-25602_CE_2.3.4_v1.composer.patch.
For the Enterprise Edition, use MDVA-25602_EE_2.3.4_v1.composer.patch.
After applying the patch, there is a possibility of encountering an error: ##ERROR 10548—The merchant’s account cannot process transactions. To address this, it is crucial to contact PayPal support for the correct configuration.
Consider referring to the corresponding question in the official forum for additional guidance.
In today’s e-commerce landscape, ensuring a seamless and secure shopping experience is paramount. Integrating PayPal Payflow Pro is essential for an attractive store, setting high service standards. Despite setup challenges, partnering with specialists and utilizing PayPal’s support streamlines the process, ensuring reliable store operations and user-friendly payments. Let PayPal Payflow Pro drive growth and foster strong customer relationships.