[Skip to main content](#vessel-content)

#   Custom Payment Method - Where To Put In The Cancel URL

##

- **[brendanlanza](/forum/user/45588-brendanlanza "View brendanlanza's Profile")**
- [![brendanlanza's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/45588-brendanlanza "View brendanlanza's Profile") Topic Author
- [ Offline](/forum/user/45588-brendanlanza)

Less More

- Posts: 47
- Thank you received: 0
-
-

9 years 6 months ago [\#267834](#267834) by [brendanlanza](/forum/user/45588-brendanlanza "View brendanlanza's Profile")  *[Custom Payment Method - Where To Put In The Cancel URL](/forum/29-payment-methods/889898-custom-payment-method-where-to-put-in-the-cancel-url#267834 "-- url of the page with the problem -- :   v6mallshopping.com  Hi guys, I've done this before successfully, but for the life of me, now I cannot find where was the place this was done.  Basically, when a user purchases a product using my custom payment method, upon a failed transaction, he is directed to the cancellation URL at   v6mallshopping.com/index.php?option=com&#95;...er&amp;task=cancel&#95;order  Now, and I have done this before - the user is then taken to another page informing him/her that her transaction is cancelled.  For successful payments, the user is taken to the URL stated in the payment plugin config page as Return URL.  For unsuccessful payments, I just can't find where to store the landing page URL that displays Sorry your transaction did not go through.  My payment request handling codes on the payment gateway side is enclosed. Please remove the .txt extension behind the file name.  Thanks")* was created by *[brendanlanza](/forum/user/45588-brendanlanza "View brendanlanza's Profile")*

-- url of the page with the problem -- : [ v6mallshopping.com](http://v6mallshopping.com)

Hi guys, I've done this before successfully, but for the life of me, now I cannot find where was the place this was done.

Basically, when a user purchases a product using my custom payment method, upon a failed transaction, he is directed to the cancellation URL at [ v6mallshopping.com/index.php?option=com\_...er&amp;task=cancel\_order](http://v6mallshopping.com/index.php?option=com_hikashop&ctrl=order&task=cancel_order)

Now, and I have done this before - the user is then taken to another page informing him/her that her transaction is cancelled.

For successful payments, the user is taken to the URL stated in the payment plugin config page as Return URL.

For unsuccessful payments, I just can't find where to store the landing page URL that displays Sorry your transaction did not go through.

My payment request handling codes on the payment gateway side is enclosed. Please remove the .txt extension behind the file name.

*This attachment is hidden for guests.
Please log in or register to see it.*

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODk4OTgtY3VzdG9tLXBheW1lbnQtbWV0aG9kLXdoZXJlLXRvLXB1dC1pbi10aGUtY2FuY2VsLXVybD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[brendanlanza](/forum/user/45588-brendanlanza "View brendanlanza's Profile")**
- [![brendanlanza's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/45588-brendanlanza "View brendanlanza's Profile") Topic Author
- [ Offline](/forum/user/45588-brendanlanza)

Less More

- Posts: 47
- Thank you received: 0
-
-

9 years 6 months ago [\#267835](#267835) by [brendanlanza](/forum/user/45588-brendanlanza "View brendanlanza's Profile")  Replied by *[brendanlanza](/forum/user/45588-brendanlanza "View brendanlanza's Profile")* on topic *[Custom Payment Method - Where To Put In The Cancel URL](/forum/29-payment-methods/889898-custom-payment-method-where-to-put-in-the-cancel-url#267835 "-- url of the page with the problem -- :   v6mallshopping.com  Hi guys, I've done this before successfully, but for the life of me, now I cannot find where was the place this was done.  Basically, when a user purchases a product using my custom payment method, upon a failed transaction, he is directed to the cancellation URL at   v6mallshopping.com/index.php?option=com&#95;...er&amp;task=cancel&#95;order  Now, and I have done this before - the user is then taken to another page informing him/her that her transaction is cancelled.  For successful payments, the user is taken to the URL stated in the payment plugin config page as Return URL.  For unsuccessful payments, I just can't find where to store the landing page URL that displays Sorry your transaction did not go through.  My payment request handling codes on the payment gateway side is enclosed. Please remove the .txt extension behind the file name.  Thanks")*

Thanks, found it in [yourpaymentmethod].php file under the onPaymentNotification method... what a bugger

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODk4OTgtY3VzdG9tLXBheW1lbnQtbWV0aG9kLXdoZXJlLXRvLXB1dC1pbi10aGUtY2FuY2VsLXVybD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.069 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
