Support

Home Forums Event Espresso Premium Problem creating New_Payment_Method_Offsite with remote cc process and no IPN.

Problem creating New_Payment_Method_Offsite with remote cc process and no IPN.

Posted: January 29, 2020 at 2:25 pm

Viewing 1 reply thread


wvnet-support

January 29, 2020 at 2:25 pm

Hello,

I am attempting to set up registration credit card payment with a remote provider who uses their own form and does not use IPN. We pass them basic info in XML, they input/process the credit card and return results in XML. I wrote a program to take their results and submit a status and gateway_txn_id to the /transactions page (URL found in $_REQUEST[‘ipn_url’]), similar to what is done in your “pretend_offsite_page.php”. However, when it goes to /transactions it just displays the page “This is the Event Espresso Transactions page.” It does not update anything and it is stuck on that page. The same thing occurs if I run a registration using your pretend_offsite_page.php – it stays on the transactions page and does not update anything. Can you provide some guidance about how this is supposed to work and how I can debug it? Is there a better way to do this?

thanks,
Mike K
Event Espresso v. 4.10.3.p
WordPress 5.3.2


Josh

  • Support Staff

January 30, 2020 at 1:16 pm

Hi Mike,

If you’re not using an IPN then you might check out how the PayPal Express gateway was set up because it’s also offsite and doesn’t use an IPN.

https://github.com/eventespresso/event-espresso-core/blob/master/payment_methods/Paypal_Express/EEG_Paypal_Express.gateway.php

Also, when you redirect the user back to your site from the payment processor site, you’ll want to redirect them to the thank-you page (or the page that has the [ESPRESSO_THANK_YOU] shortcode on it).

Viewing 1 reply thread

The support post ‘Problem creating New_Payment_Method_Offsite with remote cc process and no IPN.’ 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