#jeffp0275
1 messages · Page 1 of 1 (latest)
hi there!
how are you accepting payments? Checkout Session, Payment Element, something else?
and your goal is to accept a $0 payment with Stripe?
On our side, we would record the transaction in our db as paid with a discount code. In the past, before we used payment intents, we would just use the charges API - and in the case when the amount was $0, we would just not call that API
But now we setup the payment_intent first, then after the user applies the code, we would adjust the payment_intent
But stripe wont accept an adjustment to $0 for any reason.. so do we just cancel it?
We have tried that and it works... but I don't love the reason codes offered
Hello 👋
Taking over here.
Yes you can just cancel the payment intent.
Reason code isn't really important unless you use it in your application/integration somehow.