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

#   how to redirect to order detail product after pay in gateway?

##

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

Less More

- Posts: 221
- Thank you received: 8
-

7 years 1 month ago [\#312499](#312499) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  *[how to redirect to order detail product after pay in gateway?](/forum/27-checkout/898577-how-to-redirect-to-order-detail-product-after-pay-in-gateway#312499 "hi when user return to website after pay, i want he see detail of his purchase but in now he see list of his purchases. what need to do? in return url in payment plugin i can only set static return url")* was created by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")*

hi
when user return to website after pay, i want he see detail of his purchase but in now he see list of his purchases. what need to do?
in return url in payment plugin i can only set static return url

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

7 years 1 month ago [\#312505](#312505) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how to redirect to order detail product after pay in gateway?](/forum/27-checkout/898577-how-to-redirect-to-order-detail-product-after-pay-in-gateway#312505 "hi when user return to website after pay, i want he see detail of his purchase but in now he see list of his purchases. what need to do? in return url in payment plugin i can only set static return url")*

Hi,

If you leave the "return URL" of the payment method empty, your customers will be rediercted back to the default thank you page of HikaShop.
This page will include a thank you message along with a link for the customer to access his order page.

Otherwise, in that setting, you can also enter the link to the order page and use tags like {order_id} in the URL so that the customer will be directed to his order.

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

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

Less More

- Posts: 221
- Thank you received: 8
-

7 years 1 month ago [\#312531](#312531) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  Replied by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")* on topic *[how to redirect to order detail product after pay in gateway?](/forum/27-checkout/898577-how-to-redirect-to-order-detail-product-after-pay-in-gateway#312531 "hi when user return to website after pay, i want he see detail of his purchase but in now he see list of his purchases. what need to do? in return url in payment plugin i can only set static return url")*

can i redirect to different return url after purchase some of product?
is need use new payment method that set my own new "return url" for that product in that payment method settings?and set that payment method to that product.

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

7 years 1 month ago [\#312540](#312540) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how to redirect to order detail product after pay in gateway?](/forum/27-checkout/898577-how-to-redirect-to-order-detail-product-after-pay-in-gateway#312540 "hi when user return to website after pay, i want he see detail of his purchase but in now he see list of his purchases. what need to do? in return url in payment plugin i can only set static return url")*

Hi,

There is no option to restrict a payment method to one or several product.
That would be problematic if you were to have products with different payment methods in the same cart since you can only have one payment method per order/cart.
Also, there is no option to direct to different URLs based on the products in the order. However, it's possible if leave the default return URL and edit the file "after_end" via the menu Display&gt;Views with custom PHP code to check the products in the order and do the redirect based on that.

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

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