- Posts: 9
- Thank you received: 1
WorldPay - Return URL
- Neil
- Topic Author
- Offline
- New Member
-
Less
More
12 years 1 month ago #42161
by Neil
WorldPay - Return URL was created by Neil
Hi
I have installed Events Booking and all is working OK when making payments to WorldPay, but after payment is complete it doesn't return back to my web site.
I had assumed the payment would be informed back to the payment gateway automatically, but I can not see how to activate or amend this.
Can you please help?
Neil
I have installed Events Booking and all is working OK when making payments to WorldPay, but after payment is complete it doesn't return back to my web site.
I had assumed the payment would be informed back to the payment gateway automatically, but I can not see how to activate or amend this.
Can you please help?
Neil
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
12 years 1 month ago #42196
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic WorldPay - Return URL
Hi Neil
Because of the way worldpay is designed to work, we could not redirect users back to your website after they completed payment. That's a limitation of Worldpay compare to other payment gateways and we have no way to solve it.
However, after you completed payment at Worldpay, you should see the Registration records from back-end of your site, receive notification emails... Could you please confirm that It works like that?
Tuan
Because of the way worldpay is designed to work, we could not redirect users back to your website after they completed payment. That's a limitation of Worldpay compare to other payment gateways and we have no way to solve it.
However, after you completed payment at Worldpay, you should see the Registration records from back-end of your site, receive notification emails... Could you please confirm that It works like that?
Tuan
The following user(s) said Thank You: Neil
Please Log in or Create an account to join the conversation.
- Neil
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 1
12 years 1 month ago - 12 years 1 month ago #42233
by Neil
Replied by Neil on topic WorldPay - Return URL
Thanks Tuan.
I have confirmation emails set.
Is there a way to make the WorldPay open up into a new window so that the user can stay on my site?
After speaking to the people at WorldPay, they tell me that your payment gateway should send a callback URL to them dynamically when you post the data to them. When the payment is processes they will then POST the data back to that URL with details of the payment and if it was successful or if it failed. Then you can log this in the Event Booking and send the user to a Thanks or Failed page.
Can you please help with this?
Neil
I have confirmation emails set.
Is there a way to make the WorldPay open up into a new window so that the user can stay on my site?
After speaking to the people at WorldPay, they tell me that your payment gateway should send a callback URL to them dynamically when you post the data to them. When the payment is processes they will then POST the data back to that URL with details of the payment and if it was successful or if it failed. Then you can log this in the Event Booking and send the user to a Thanks or Failed page.
Can you please help with this?
Neil
Last edit: 12 years 1 month ago by Neil. Reason: More information
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
12 years 1 month ago #42302
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic WorldPay - Return URL
Hi Neil
1. We can make worldpay redirect to open user on new windows. Open the file components/com_eventbooking/os_worldpay.php, find the code below :
Change it to :
2. Regarding the redirect, I have tried many code, using javascript ... to redirect... but it won't work. Could you please ask them for how we can perform redirect (tell them that we use PHP programming language...). If they can give us a sample code, I will be happy to try.
Tuan
1. We can make worldpay redirect to open user on new windows. Open the file components/com_eventbooking/os_worldpay.php, find the code below :
Code:
<form method="post" action="<?php echo $this->_url; ?>" name="os_form" id="os_form">
Change it to :
Code:
<form method="post" action="<?php echo $this->_url; ?>" name="os_form" id="os_form" target="_blank">
2. Regarding the redirect, I have tried many code, using javascript ... to redirect... but it won't work. Could you please ask them for how we can perform redirect (tell them that we use PHP programming language...). If they can give us a sample code, I will be happy to try.
Tuan
Please Log in or Create an account to join the conversation.
- Neil
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 1
12 years 4 weeks ago #42353
by Neil
Replied by Neil on topic WorldPay - Return URL
Hi Tuan,
WorldPay have explained how we can do this several ways.
Thanks so much for helping with this. Without processing the return information we don't know if the user has paid so in effect the booking system won't work.
Neil
WorldPay have explained how we can do this several ways.
- We can edit a HTML page on their site to meta refresh back to a URL on our site and that can pass through the information in the URL in GET form. This would still need some processing at our end to update Event Booking with a success or failure for the payment.
- An other option is to pass a Payment Notifiaction URL with the details of the transaction. The details are here www.worldpay.com/support/kb/bg/pdf/custa.pdf There is also a PHP example at stackoverflow.com/questions/8654126/php-...ent-response-example but this would still need integration into your booking system.
Thanks so much for helping with this. Without processing the return information we don't know if the user has paid so in effect the booking system won't work.
Neil
Please Log in or Create an account to join the conversation.
- Neil
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 1
12 years 4 weeks ago #42418
by Neil
Replied by Neil on topic WorldPay - Return URL
Hi Tuan
any news on this as I could do with a solution this week if possible.
I need to go live next weekend.
Neil
any news on this as I could do with a solution this week if possible.
I need to go live next weekend.
Neil
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
12 years 3 weeks ago #42464
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic WorldPay - Return URL
Hi Neil
Events Booking has already process using option #2. However, the difference here is that Worldpay doesn't provide us any way to redirect back to our website with a specific url (each registration need to come back to a different url in the extension).
So everything will still work well. The only problem is that after users make payment, they will still stay in Worldpay, not redirecting back to your site.
Maybe the best thing we can do now is redirecting to Worldpay on new window as you suggested before.
Tuan
Events Booking has already process using option #2. However, the difference here is that Worldpay doesn't provide us any way to redirect back to our website with a specific url (each registration need to come back to a different url in the extension).
So everything will still work well. The only problem is that after users make payment, they will still stay in Worldpay, not redirecting back to your site.
Maybe the best thing we can do now is redirecting to Worldpay on new window as you suggested before.
Tuan
Please Log in or Create an account to join the conversation.
- Neil
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 1
12 years 3 weeks ago #42491
by Neil
Replied by Neil on topic WorldPay - Return URL
Hi Tuan
What you're saying doesn't make sense to me.
If EB can take the payment response then it just needs to pass the URL that can deal with this to Worldpay. Worldpay definitely has the ability to redirect back to a page. You can then display a Success or Fail message depending on the results.
This is essential if I am to know who has paid or not. Without this EB is not working fully and is not compatible with Worldpay.
Thanks
Neil
What you're saying doesn't make sense to me.
If EB can take the payment response then it just needs to pass the URL that can deal with this to Worldpay. Worldpay definitely has the ability to redirect back to a page. You can then display a Success or Fail message depending on the results.
This is essential if I am to know who has paid or not. Without this EB is not working fully and is not compatible with Worldpay.
Thanks
Neil
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
12 years 3 weeks ago #42492
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic WorldPay - Return URL
Hi Neil
EB does work with Worldpay. Maybe I mis-understood something from you. Could you please let us know :
1. What is the payment status of the registration record after you complete payment at Worldpay ?
2. Do you (admin) receive email notification from EB after you complete payment ?
3. Do you (as registrant) receive email confirmation from EB after you make payment ?
Please let me know the answers for the above three question. If :
1 => Paid
2=> Yes
3=> Yes
Then EB with Worldpay is working as expected. The redirect thing is something could not be handled when you use Worldpay, that has been there from the beginning.(BTW, have you use any Joomla extension allow redirecting back to your site after payment complete with Worldpay)?
Regards,
Tuan
EB does work with Worldpay. Maybe I mis-understood something from you. Could you please let us know :
1. What is the payment status of the registration record after you complete payment at Worldpay ?
2. Do you (admin) receive email notification from EB after you complete payment ?
3. Do you (as registrant) receive email confirmation from EB after you make payment ?
Please let me know the answers for the above three question. If :
1 => Paid
2=> Yes
3=> Yes
Then EB with Worldpay is working as expected. The redirect thing is something could not be handled when you use Worldpay, that has been there from the beginning.(BTW, have you use any Joomla extension allow redirecting back to your site after payment complete with Worldpay)?
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Neil
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 1
12 years 3 weeks ago #42683
by Neil
Replied by Neil on topic WorldPay - Return URL
1. After completing payment at WorldPay test mode (Authorised) it says,
2. No. Also the test user is not being registered on the event as a Registrant.
3. No. I get an email from WorldPay as the test user, but nothing from EB.
Thank you.
This was not a live transaction. No money has changed hands.
Thank you, your payment was successful.
Merchant's reference: 7
WorldPay Transaction ID: 3005900001
This was not a live transaction. No money has changed hands.
Thank you, your payment was successful.
Merchant's reference: 7
WorldPay Transaction ID: 3005900001
2. No. Also the test user is not being registered on the event as a Registrant.
3. No. I get an email from WorldPay as the test user, but nothing from EB.
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.