Support

Home Forums Event Espresso Premium Post URL

Post URL

Posted: February 21, 2017 at 12:39 pm

Viewing 8 reply threads


Maccabee Levine

February 21, 2017 at 12:39 pm

How is the Post back URL generated between EE3 and uPay?

Screen Shot: http://www.esu.edu/images/touchnet/post-back.png


Josh

  • Support Staff

February 21, 2017 at 12:50 pm

Hi there,

The following PHP code generates the URL:

espresso_build_gateway_url(
 'return_url',            
  array(
   'attendee_id'=>$upay_settings['attendee_id'],
   'registration_id'=>$upay_settings['registration_id']
  ), 
 'upay'
);


Maccabee Levine

February 21, 2017 at 12:52 pm

If the URl is not correct, how can it be updated? This area is grayed out.


Josh

  • Support Staff

February 21, 2017 at 12:56 pm

The URL field there is not designed to be changed or updated. It’s pulling the base URL from your Page Settings in Event Espresso > General Settings for the Thank You page URL. If that part of the URL isn’t correct, you can update the page settings in Event Espresso > General Settings.

If any other parts of the URL are not correct, then you’ll need to change the PHP code.


Maccabee Levine

February 21, 2017 at 1:01 pm

I am assuming that the URL is incorrect because uPay is receiving the payment, but it is not posting back to EE. I am showing and incomplete transaction. Unless you have some other ideas of the failure. I have a number of stores currently running without any issues.


Josh

  • Support Staff

February 21, 2017 at 1:07 pm

Does your website have a valid Transaction Notification page listed in Event Espresso > System Status?

May I ask what is the URL listed there?


Maccabee Levine

February 21, 2017 at 1:25 pm

Is this what you are looking for?

Transaction Notification Page
#355 – http://quantum.esu.edu/athletictraining/?page_id=355


Josh

  • Support Staff

February 21, 2017 at 1:51 pm

Yes, that’s the base URL and that URL is valid, so that’s good.

The full posting URL for that site is:

http://quantum.esu.edu/athletictraining/?page_id=355?type=upay

and that should be entered into your uPay account for posting URL
(login to uPay, go to Marketplace, then your site’s ‘Miscellaneous’ settings. It’s the ‘posting url’).

The documentation does say that this URL must begin with HTTPS, and so your site must support HTTPS. If you can’t change the site to support https, you can contact uPay to see if they can make an exception.

Also note that uPay must whitelist your site’s IP address.


Maccabee Levine

February 21, 2017 at 2:22 pm

Thanks Josh. I bet the url hasn’t been assigned.

Viewing 8 reply threads

The support post ‘Post URL’ 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