Adding postback notification for a Buy Now button in external website.

New Member
1 0 0

I have a Buy Now button that's been added to an external website. The website takes in the registration information and then uses a Buy Now button to allow them to pay. In PayPal there is support to have a postback happen to the calling website to notify the site as to whether the payment was successful. How do you do that with a Shopify Buy Now button? I need to have the postback so I can flag the registration as paid, or flag it as a failed payment if that is the case. I haven't found any references in the documentation so far as to if this is even supported.

Thanks for any help you can give.

Reply 1 (1)
59 6 9

Use webhooks.

In your Shopify dashboard go to Notifications and at the bottom go to Webhooks and choose one that is suitable.