#nilay
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Can you try passing in payment_method_collection: if_required and see if that changes anything?
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_method_collection
sure! i'm using Ruby so is the "if_requred" a string?
I believe so
also it says that this only works for sub mode, so i'm not sure if it'll work since i'm doing this for a one time payment
but i think it's worth a shot!
AH, then it won't work. My bad.
I don't know why I assumed you were creating a sub, sorry about that.
Hmm don't think there are any for one-time payments unfortunately.
aw man, that's a bummer. if i manually created the customer with the given email and then set their balance to be negative, would there still be a charge?
Hmm don't think that would work as the customer credit balance applies to the next finalized invoice.
I don't think that'd work with Checkout.
I haven't tested this personally so would recommend giving it a try in testmode.
got it. i guess i could also create a price that's $0 and then on my end create the Stripe Checkout Session with that price? or would that also not work you think?
AFAIK $0 one-time payments with checkout are not possible ๐ฆ
No workarounds
oh damn. okay this is good to know, thanks!
NP! ๐ Happy to help