- This topic has 2 replies, 2 voices, and was last updated 3 hours, 38 minutes ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Display PayPal result code on “error” redirect page?
Tagged: PayPal
Hello, we use PayPal through the eStore for our payment processing. Occasionally a customer will *incorrectly* get redirected to the “error” URL rather than the “success” URL after they make a successful payment. This causes them to try again, and the second time they get redirected to the “success” URL, but it results in a double payment. Because we don’t know what they’re doing to cause this, we can’t repeat it ourselves.
What we’d like to do is to display the PayPal result code (see https://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/result_values_for_transaction_declines_or_errors.htm) so the customer could read it off the screen to us. Hopefully knowing the specific decline reason will allow us to properly troubleshoot this issue. Is there a way we could display this result code on the “error” page? Thank you.
Do you have the eStore debug logs turned on? The process flows and any errors should be recorded in the debug longs.
I don’t have the debug logs turned on. Would the debug logs record the PayPal result code? If not, then the debug logs wouldn’t help me.
Assuming PayPal is returning a non-zero result code, eStore is handling the result properly. But without knowing the PayPal result code, I have little hope of narrowing down what could be happening.