Magento – PayPal advanced error message “Payment has been declined. Please try again”

onepage-checkoutpaymentpaypal

I am using PayPal advanced. Everything as far as paypal integration is concerned is working fine. Payment goes through the gateway and funds are transferred. However, when any transaction with a credit card is used, I get this pop-up error message "Payment has been declined. Please try again". I have tried everything I can find via all magento forums.

Please help! This is driving me insane.

Best Answer

I'm using Magento 2, Paypal upgraded my account to Hosted Checkout Pages and I configured Paypal Payments Advanced in Magento with layout C in Paypal.

Make sure you're not using test mode on magento when Paypal is in live mode (they need to match).

I had this issue and Paypal was trying to post to my dev.domain.com but it couldn't access it, so magento thought the order was cancelled.

since dev.domain.com was not a valid url that had been made live, Paypal could not reach it. hope this helps!