Support

Home Forums Event Espresso Premium Onsite gateway: Incomplete payment if form resubmitted after CC decline

Onsite gateway: Incomplete payment if form resubmitted after CC decline

Posted: April 22, 2015 at 12:02 pm

Viewing 5 reply threads


Ross Chapman

April 22, 2015 at 12:02 pm

I’ve rolled my own onsite-gateway payment method for Moneris. So far, so good with one exception.

Finalize Registration with known-good credit card info, status correctly set as Approved.

Finalize Registration with a known-bad credit card info, modal with gateway response message (that I set) appears, and ultimately transaction status is correctly set as Declined.

BUT… After I submit registration with bad credit card information, if I submit again with known-good info, I get the thank-you page, but the registration is flagged as Incomplete and the declined CC notice still appears in my payment summary.

Expected: Correcting a failed payment transaction should also update the status to Approved upon resubmission.

FURTHER… If instead of correcting my CC info, I click the Finalize Registration button again (after the first transaction has clearly failed), I don’t get another Declined message from the gateway response modal; instead the page moves on to thank-you and congratulates me for submitting my registration. My payment status is still Incomplete, so I’m not sure why I’m being passed on to the thank-you page in the first place.

Is this the intentional checkout behaviour? Or have I uncovered an issue with EE4’s payment workflow?

EE 4.9.20.p


Ross Chapman

April 22, 2015 at 12:18 pm

After a little more digging around the support forum, I came across this thread. Similar behaviour and a none-too-encouraging answer.

So, next question:

How does one edit the contents of the “[ESPRESSO_THANK_YOU]” shortcode in order to make the messaging clearer for registrants who’s credit cards have been initially declined?


Ross Chapman

April 22, 2015 at 12:19 pm

Er…this thread: https://eventespresso.com/topic/getting-thank-you-page-despite-credit-card-declined/


Lorenzo Orlando Caum

  • Support Staff

April 24, 2015 at 7:15 am

Hi Vincent, here is an idea for handling that:

https://gist.github.com/lorenzocaum/b0fef298c2ecb2965353


Lorenzo


Ross Chapman

April 24, 2015 at 12:14 pm

Tkx.

The filter snippet beats hacking /shortcodes/espresso_thank_you/EES_Espresso_Thank_You.shortcode.php


Lorenzo Orlando Caum

  • Support Staff

April 24, 2015 at 12:44 pm

Hi Vincent, were you able to get it working?

Thanks


Lorenzo

Viewing 5 reply threads

The support post ‘Onsite gateway: Incomplete payment if form resubmitted after CC decline’ 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.

Event Espresso