coinbase / coinbase-commerce-node

Coinbase Commerce Node
MIT License
148 stars 54 forks source link

Listen for completed payments (charges) #69

Open nachodeluka opened 2 years ago

nachodeluka commented 2 years ago

Hello, I'm new with the coinbase commerce API and I wanna know how I can listen on my server for completed payments and then use my api to send an email to the customer with their purchased goods. Thanks!

udezueoluomachi commented 2 years ago

Check the docs

To listen on your server for payments, you use a webhook https://github.com/coinbase/coinbase-commerce-node/tree/master/examples/webhook

or just

follow this fireship tutorial video for a complete guide https://www.youtube.com/watch?v=sZif1kuAjcY

https://fireship.io/lessons/crypto-payments-web-firebase/