Go to confirmation_url when charge approval is canceled

Shopify Partner
1 0 0

Hello, I am having a problem when a merchant is canceling the payment approval right after the app installation.
When they cancel I am trying to redirect them back to the same confirmation_url which was used during the installation but it's giving me a (refused to connect) error.


I tried adding the URL to App Setup -> Allowed redirection URLs but it didn't work.


Tried also to redirect to the authorization url below and get the request directly to a new route from the url below. It only worked during installation process.


Also tried to create a new charge with a new confirmation_url but the same happend.


Can anyone help me resolve this issue please. I am using laravel for backend.


Replies 0 (0)