A place to discuss charging merchants for your apps and services using the billing API.
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.
https://".$shop."/admin/oauth/authorize?client_id=".$api_key."&scope=".$scopes."&redirect_uri=".urle...
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.
Thanks.