Re: Success Message from Buy Button after successful Payment

Success Message from Buy Button after successful Payment

hk_shopper
New Member
6 0 0

Hello,

I am using the Buy Button on my own website. The user clicks the Buy Button and the Shopify Cart is shown where the user purchases the product.

I have two questions here:

  1. I need to know on my own website if the payment was successful or not. Does the Shopify Cart return any Success/Failure messages which I can return to my website?
  2. Once the payment is successful I would like to change the Continue Shopping button to say "Return to My Website" and have it redirect back to a particular URL

 

I am using the Flora Theme but since the only interaction which my User has is with the Shopify cart I can change to other themes as well.

 

Thanks for the help!

Replies 2 (2)

zahid
Shopify Partner
26 4 5

I think this might require some custom development. You will need to subscribe to the order/paid webhook, which will get fired once the payment goes through. 

Creator of StoreView, an app that lets you view your customers' journey as they interact with your store.
hk_shopper
New Member
6 0 0

@zahid Thanks for your reply. 
What about the second question: changing the text on the button after successful payment and then redirecting to a custom domain?