Storefront API Checkout : custom return url

mlo
New Member
17 0 0

Hello,

I'm currently using the Storefront API to build an e-commerce based on a web-app (Next.js, so React). 

To make a payment, I get the `webUrl` field with a graphQL mutation. 

My purchase module is Vivawallet. When I close the purchase, I don't have a return button. 

Ideally, I would like to be able to create a `returned_url` to 'www.my-shop.com/return-checkout/...'

Please note that the site is not hosted on Shopify but via an external server. So I don't want a return to 'my-shop.myshopify.com/...'.

 

Thanks to you  !

0 Likes