#Adam-STAYKool
1 messages · Page 1 of 1 (latest)
customer.created after checking out through a stripe pricing table
customer.created never shows amount or quantity though
You could listen to invoice.paid: https://stripe.com/docs/api/events/types#event_types-invoice.paid
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hmmm did I get that event with a one-time payment?
Ah 1-time payments
In that case quantity won't be available since it just uses payment intents
Let me see if there's a way to create invoices with 1-time payments in the pricing table
Doesn't look like it unfortunately
If you were just using checkout by itself without the pricing table, you'd be able to pass invoice_creation to achieve this: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-invoice_creation
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
And setting invoice_creation to true sets off the invoice.paid stripe hook event?
Yeah