Events Made Easy Forums How do I … Update event status after successful payment

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #53696
    Anonymous
    Inactive

    Hi,

    I’m using 2Checkout for processing payments. I understand that there is a URL for return status from 2Co which I’ve put into 2Co. However, this URL does not seem to do anything no matter what I throw at it.

    What happens is the user can register for the event, then clicks the payment button, goes to 2Co and checks out, but then I have one of two options from there:

    1) 2Co can automatically redirect back to my site (this passes variables via GET). I’ve used the EME URL but nothing happens here, just a blank white page.

    2) 2Co can redirect back to the site when the user clicks a button. This passes variables via POST. I’ve used the EME URL here but again, nothing happens and I get a blank white page.

    I’ve been looking all through the manuals but I can’t seem to find out if EME can actually process a user’s order after payment. Can EME actually receive the payment/status details from 2Checkout and update the user’s order??

    In the event options there is a checkbox to automatically approve registrations if they pay. This is not working, I don’t know how to make it work or if it supports 2Co.

    So my question is, how do I receive the status from 2Co and update the user’s order to show as approved and paid? Do I have to make my own PHP handler for this? And secondarily, what is the return URL that EME gives me supposed to be for if not this?

    Thanks!

    #53700
    Franky
    Keymaster

    The notification-url I provide for 2checkout should be configured in the Instant Notification Settings (INS) of 2choukout. See https://www.2checkout.com/documentation/notifications/
    Upon payment, 2checkout should use that url to do payment notifications, upon which the booking is marked as payed. Search your webserver logfiles for eme_eventAction=2co_notification to see if it comes back.

    #53706
    Anonymous
    Inactive

    OK I got this one working. The problem is that when I set Sandbox mode in EME Settings, the return notifications are not sent.

    Just so everyone else knows, if you use Sandbox mode for 2Checkout, they do not send notifications back!

    #53709
    Franky
    Keymaster

    Yes, 2Checkout has that documented in their doc btw 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top