I am having a problem implementing PayPal payments, where users have two errors on my page when trying to pay through paypal : "Sorry, we weren't able to set up preapproved payments at this time" or "Please go back to merchant and try using a different payment method"?
This consistently appears whenever users attempt to make a payment. The business account is fully approved, has a linked bank account, and has no restrictions. According to PayPal support, the account is eligible to receive payments. We've tested the process with various PayPal accounts—each with a confirmed card—and even tried using only the card, but the error persists. We also created new PayPal accounts, yet the issue remains unresolved.
In the backend, I use Node.js. The implementation of the payment gateway is done through PayPal's smart buttons (frontend), which create the purchase order for the subscription plan and redirect the user to confirm the purchase. However, during the user's authentication process, an error message appears. This also happens when manually creating the purchase order through the API and redirecting the user to the approve URL and going through the authentication process again.