#Michael Crilly

1 messages · Page 1 of 1 (latest)

sinful ibexBOT
steep oracle
#

This depends heavily on what products you are using. For example, if you're using Subscriptions only, then you can get away with just listening for invoice.paid events for when payments go through, but if you also accept one-off Payment Intents, then you also need to listen for charge.succeeded

violet bane
#

Makes sense.

I want to simply listen for updates and payments and then determine the Customer, Product and Price, then update my internal DB and send any relevant emails.

steep oracle
#

You need to know exactly what products are being used to facilitate payments before I can reasonably answer that.

violet bane
#

Can you explain what you mean by that? The product is an online book. I want authors to be able to set a price and have it be either a onetime payment or a subscription.

steep oracle
#

I mean which Stripe products (e.g. are you going to use Subscriptions? Will you use Checkout to facilitate Subscriptions? Are you also going to have one-off purchases? If so, what Stripe products will you use for those)