Posted: October 23, 2013 at 12:26 pm
We’re using EE 2.1.24.1 and have discovered with the E-xact payment gateway plus the Check/Money Order payment gateway. We have enabled pending registrations so that places are reserved even if people are bringing their payment to class. We’ve noticed that some students who’s credit card payments were declined show up at the class thinking they’ve already paid. So we submitted a test registration using CC info we knew would be declined. It turns out the transactions page does not display a clear message that the credit card transaction was incomplete and only shows the little yellow pending payment icon. Looking at return_payment.php I see that the code block for $payment_status == “Pending” is what is being executed. If the credit card was declined, how can I ensure that $payment_status is properly being set to “Payment Declined”? *** I suspect this is related to our choice of allowing seats to be reserved even when payment is pending. If so, is there any way I can still “know” if the CC payment was declined so I can display additional messaging on the {ESPRESSO_TXN_PAGE}? Thanks for your help. |
|
Hi – Just wondering if someone is looking into this? |
|
|
When you did your test registration with credit card info that would be declined, did you see “There was an error processing your transaction!” (line 69 of exact_ipn.php) or “Your transaction has been processed.” (line 64)? |
Hi Sidney, Actually, the site is live and is fairly busy so we used a credit card & exp date that would fail and so we could see what the user actually sees. Is there way to run a test without interrupting live registrations? If not, what would be the simplest way to run a test to get the test results? Thanks for your help. |
|
I’m not sure I understand your question. When you test out the registration process it doesn’t interfere with other registrations that may be going on. One way to keep the tests separate from real registrations is set up a test event and set it to Draft status so that way you’re not adding registrations to the real events. |
|
Hi Josh, Sorry, from Sidney’s reply, I assumed he was thinking I changed the Payment Gateway setting inside EE admin to be in “Test” mode, which I would prefer not to do since that will interfere with active registrations. If I’m not using official “test” mode, where do I look for the error messages Sidney asked me about? I don’t see any error or feedback message when I am brought back to the site from E-xact after the transaction. All I see is the summary with the little yellow pending icon. Any ideas? |
|
|
Hi, Correct changing the payment settings to test mode will disrupt live purchases. You could of course test this on your staging or development server if you have one. In the General Settings page, there is an option to “Use full logging?” please turn this on. It will add a file in the wp-content/uploads/logs folder which will log pretty much everything happening with the site. After you have come across a few transactions like this, please turn that option off (otherwise the file will just grow and grow and grow..) and provide us with a copy of the file. |
Hi Dean, Thanks |
|
In case it helps, I’ve been reviewing the E-xact payment settings in EE admin and noticed that the Relay Response url field (not editable) is pointing to our Thank You [ESPRESSO_PAYMENTS] page: http://www.domain.com/?type=exact&page_id=5 However, the instruction popup is saying it should be set to the Transaction [ESPRESSO_TXN_PAGE] page: Relay Response URL: http://www.domain.com/?page_id=7 Could this be the issue? Note: I’ve changed the actual domain in both urls |
|
FYI – I’ve verified that the Relay Response URL is configured at the merchant account site to be: http://www.domain.com/?page_id=7 Not sure why EE payment settings are showing page_id=5 in the non-editable field… |
|
|
It should be set to the Thank-You page url. I’ll make a ticket to make sure the help box text is changed. |
Thanks Sidney – That seems to have resolved the problem. Yes, I also noticed that the Help screen refers to Authorize.net documentation too. |
|
The support post ‘Payment Pending vs Payment Declined’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.