Set PayPal return URL to use dynamic address
-
Hi,
we have one problem: Setting up PayPal as a payment method, how do we set the return URL, after the payment is done to redirect to the events single page?
At the moment, always the return URL which is set in PayPal, is used.
But normally, when you book an event with the events manager, you stay on the same single-event page with the suffix #em-booking (i.e. http://www.domain.com/event-test-2017-06-09/#em-booking)
And there the customer is shown the confirmation message. I asked the developer, but since our licence for the pro version is older than 1 year, they only could tell us, that there is a hook for the return url.So the question is: Would it be possible to set the return URL, coming back from PayPal, dynamically to the right page the customer is coming from?
What I also don’t really understand is why in the manual it is said that the return URL should be set to an URL of the wordpress-backend (/wp-admin/admin-ajax.php?action=em_payment&em_payment_gateway=paypal)
Hope, someone can help here?
Best regards
- The topic ‘Set PayPal return URL to use dynamic address’ is closed to new replies.