#jeffp0275

1 messages · Page 1 of 1 (latest)

rigid quartzBOT
small pier
#

hi there!

#

how are you accepting payments? Checkout Session, Payment Element, something else?

#

and your goal is to accept a $0 payment with Stripe?

dense stream
#

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

rigid quartzBOT
dense stream
#

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

plucky goblet
#

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.

dense stream
#

ok - we can just set the reason to nULL then, - a custom reason would be great so we could use that for auditing, but we can just do that on our end

#

Thanks for your help