#nilay

1 messages ยท Page 1 of 1 (latest)

young briarBOT
solid coral
wide thunder
#

sure! i'm using Ruby so is the "if_requred" a string?

solid coral
#

I believe so

wide thunder
#

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!

solid coral
#

AH, then it won't work. My bad.

#

I don't know why I assumed you were creating a sub, sorry about that.

wide thunder
#

all good, that's no problem

#

are there any other workaround that you can think of?

solid coral
#

Hmm don't think there are any for one-time payments unfortunately.

wide thunder
#

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?

solid coral
#

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.

wide thunder
#

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?

solid coral
#

AFAIK $0 one-time payments with checkout are not possible ๐Ÿ˜ฆ
No workarounds

wide thunder
#

oh damn. okay this is good to know, thanks!

solid coral
#

NP! ๐Ÿ™‚ Happy to help