How do I know if a user has accepted or rejected the subscription?

After I create a subscription and get a confirmation URL, how do I know that the user has confirmed the subscription and not rejected it. Does the ReturnURL get some kind of a query parameter to know that it was successful or not? Eg my return url is set to [http://localhost/subscription/confirmed](http://localhost/subscription/confirmed), how would I know that it was rejected instead?

1 Like

Hey Nikola!

When the user confirms or rejects the subscription, Shopify usually sends them to your ReturnURL with something like status=success or status=failure added to the URL. Just keep an eye on those query parameters to see what happened. It might be different depending on the setup, so it’s worth checking it out in action.

1 Like

Thanks for the reply! Still dislike the vagueness of it, it should really be properly documented…