Cancel URL
- Mathalis
-
Topic Author
- Offline
- New Member
-
- Developper : code, template
Less
More
12 years 8 months ago #31421
by Mathalis
Cancel URL was created by Mathalis
Hello,
I'm currently in development of a paiement plugin.
I have a question :
For this development, i need to have a return URL for NOK response of bank serveur.
NOK mean Cancel request.
In testing,
STEP 1 : I have registered to an event with paiement plugin in development.
>In database, I notice a new record is created after entering captcha and submit
STEP 2 :On bank interface, I make the choice to cancel my request. This cancelation route to my web site to confirm cancellation.
> I'm using this return URL :
mywebsite/index.php?option=com_eventbooking&task=cancel&id=' . $this->_params (where $this->_params is the id of registration).
In fact I would like to know if using this URL mean delete the previous record created, and in this case, I miss something or it's work as design ?
So, I discover your extension and I would like to say : GOOD JOB GUYS !
Best regards
I'm currently in development of a paiement plugin.
I have a question :
For this development, i need to have a return URL for NOK response of bank serveur.
NOK mean Cancel request.
In testing,
STEP 1 : I have registered to an event with paiement plugin in development.
>In database, I notice a new record is created after entering captcha and submit
STEP 2 :On bank interface, I make the choice to cancel my request. This cancelation route to my web site to confirm cancellation.
> I'm using this return URL :
mywebsite/index.php?option=com_eventbooking&task=cancel&id=' . $this->_params (where $this->_params is the id of registration).
In fact I would like to know if using this URL mean delete the previous record created, and in this case, I miss something or it's work as design ?
So, I discover your extension and I would like to say : GOOD JOB GUYS !
Best regards
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 8 months ago #31451
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Cancel URL
Hi
That's the correct design. When you cancel your payment, they mean you don't want to process registration, so we should delete the record !
However, to be honest, handling this is not really safer. Instead of passing id of the record in the URL, we should pass the registration_code (so that users cannot guess the ID of the record and perform harmful action).
I will update it to the extension very soon !
Tuan
That's the correct design. When you cancel your payment, they mean you don't want to process registration, so we should delete the record !
However, to be honest, handling this is not really safer. Instead of passing id of the record in the URL, we should pass the registration_code (so that users cannot guess the ID of the record and perform harmful action).
I will update it to the extension very soon !
Tuan
The following user(s) said Thank You: Mathalis
Please Log in or Create an account to join the conversation.
- Mathalis
-
Topic Author
- Offline
- New Member
-
- Developper : code, template
12 years 8 months ago #31740
by Mathalis
Replied by Mathalis on topic Re: Cancel URL
Hello,
Thanks for your answer.
I understood your advise so if i want use ID to delete, i need to pass it somewhere to reuse it.
So i'll look for a better solution.
I don't want the cancel's paiement populate table with unecessary informations.
I'll let you kow.
Thanks for your answer.
I understood your advise so if i want use ID to delete, i need to pass it somewhere to reuse it.
So i'll look for a better solution.
I don't want the cancel's paiement populate table with unecessary informations.
I'll let you kow.
Please Log in or Create an account to join the conversation.
- Mathalis
-
Topic Author
- Offline
- New Member
-
- Developper : code, template
12 years 4 months ago #36385
by Mathalis
Replied by Mathalis on topic Re: Cancel URL
OK to close.
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.