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

#   Custom Payment Method,

##

- **[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 [\#267437](#267437) by [brendanlanza](/forum/user/45588-brendanlanza "View brendanlanza's Profile")  *[Custom Payment Method,](/forum/29-payment-methods/889816-custom-payment-method#267437 "-- url of the page with the problem -- :   getmall.getthiss.com  -- Error-message(debug-mod must be tuned on) -- : ERR&#95;TOO&#95;MANY&#95;REDIRECTS  My returm URL using  $return&#95;url = HIKASHOP&#95;LIVE.'index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=after&#95;end&amp;order&#95;id='.$order&#95;id.$this-&gt;url&#95;itemid;  in function onPaymentNotification(&amp;$statuses) is working finally, after commenting out the unused hash! The order status is updating correctly to either confirmed or cancelled.  Now there's nothing wrong with the cancel url but the return url is producing the ERR&#95;TOO&#95;MANY&#95;REDIRECTS error.  What can be wrong?")* was created by *[brendanlanza](/forum/user/45588-brendanlanza "View brendanlanza's Profile")*

-- url of the page with the problem -- : [ getmall.getthiss.com](http://getmall.getthiss.com)
-- Error-message(debug-mod must be tuned on) -- : ERR_TOO_MANY_REDIRECTS

My returm URL using

$return_url = HIKASHOP_LIVE.'index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=after_end&amp;order_id='.$order_id.$this-&gt;url_itemid;

in function onPaymentNotification(&amp;$statuses) is working finally, **after commenting out the unused hash!** The order status is updating correctly to either confirmed or cancelled.

Now there's nothing wrong with the cancel url but the return url is producing the ERR_TOO_MANY_REDIRECTS error.

What can be wrong?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODk4MTYtY3VzdG9tLXBheW1lbnQtbWV0aG9kP3RtcGw9bWFya2Rvd24=) 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 [\#267440](#267440) 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,](/forum/29-payment-methods/889816-custom-payment-method#267440 "-- url of the page with the problem -- :   getmall.getthiss.com  -- Error-message(debug-mod must be tuned on) -- : ERR&#95;TOO&#95;MANY&#95;REDIRECTS  My returm URL using  $return&#95;url = HIKASHOP&#95;LIVE.'index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=after&#95;end&amp;order&#95;id='.$order&#95;id.$this-&gt;url&#95;itemid;  in function onPaymentNotification(&amp;$statuses) is working finally, after commenting out the unused hash! The order status is updating correctly to either confirmed or cancelled.  Now there's nothing wrong with the cancel url but the return url is producing the ERR&#95;TOO&#95;MANY&#95;REDIRECTS error.  What can be wrong?")*

This problem is solved. However, I have now a blank page after a successful payment (order status updated to confirmed).

How do I write thank you for your purchase on the blank page?

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODk4MTYtY3VzdG9tLXBheW1lbnQtbWV0aG9kP3RtcGw9bWFya2Rvd24=) 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 [\#267455](#267455) 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,](/forum/29-payment-methods/889816-custom-payment-method#267455 "-- url of the page with the problem -- :   getmall.getthiss.com  -- Error-message(debug-mod must be tuned on) -- : ERR&#95;TOO&#95;MANY&#95;REDIRECTS  My returm URL using  $return&#95;url = HIKASHOP&#95;LIVE.'index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=after&#95;end&amp;order&#95;id='.$order&#95;id.$this-&gt;url&#95;itemid;  in function onPaymentNotification(&amp;$statuses) is working finally, after commenting out the unused hash! The order status is updating correctly to either confirmed or cancelled.  Now there's nothing wrong with the cancel url but the return url is producing the ERR&#95;TOO&#95;MANY&#95;REDIRECTS error.  What can be wrong?")*

The problem is solved. I pointed the result and cancel urls to a Joomla content page.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

9 years 6 months ago [\#267466](#267466) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Custom Payment Method,](/forum/29-payment-methods/889816-custom-payment-method#267466 "-- url of the page with the problem -- :   getmall.getthiss.com  -- Error-message(debug-mod must be tuned on) -- : ERR&#95;TOO&#95;MANY&#95;REDIRECTS  My returm URL using  $return&#95;url = HIKASHOP&#95;LIVE.'index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=after&#95;end&amp;order&#95;id='.$order&#95;id.$this-&gt;url&#95;itemid;  in function onPaymentNotification(&amp;$statuses) is working finally, after commenting out the unused hash! The order status is updating correctly to either confirmed or cancelled.  Now there's nothing wrong with the cancel url but the return url is producing the ERR&#95;TOO&#95;MANY&#95;REDIRECTS error.  What can be wrong?")*

Hello,

For the configuration or the cancellation of the order ; HikaShop have generic URL but also provide settings in the plugins for that.

Please do not hesitate to take a look at our sample payment plugin or other HikaShop payment plugins (in our GitHub or directly in the HIkaShop package)
[ github.com/HikaShop/sample-payment-plugin](https://github.com/HikaShop/sample-payment-plugin)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODk4MTYtY3VzdG9tLXBheW1lbnQtbWV0aG9kP3RtcGw9bWFya2Rvd24=) 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.053 seconds

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