eventespresso/eea-paypal-smart-buttons

When a decline happens then the gateway response shows as PayPal did not respond with the expected parameters

lorenzocaum opened this issue · 4 comments

Summary
This transaction shows a gateway response of PayPal did not respond with the expected parameters:

https://keuper.eventsmart.com/wp-admin/admin.php?page=espresso_transactions&action=view_transaction&TXN_ID=4

If you check the logs, then there are two entries:

Image 2019-03-14 at 1 17 15 PM

Image 2019-03-14 at 1 17 32 PM

Is there a way to pull through the declined message and use that for the gateway response?

The reason I ask is an event organizer may look at that transaction screen and think that something is broken when it is actually because of a decline from the card.

Steps to reproduce
Not sure

Reported or seen on
See notes above

This is the first time that I've seen this so we can use this for monitoring.

Yeah that's a good point. I think right now the code expects a transaction entry under response_data, but it isn't there. This is an easy change; most of the work will just be in testing and deploying.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale commented

This issue has been automatically closed because it has been stale for a significant period of time without any activity.