#olli - subscription update

1 messages ยท Page 1 of 1 (latest)

muted scarab
#

HI ๐Ÿ‘‹

foggy token
#

๐Ÿ‘‹

muted scarab
#

I think the invoice will remain in an open state

foggy token
#

im assuming it's something we'd want to listen to webhooks to detect the decline, then just void the invoice? this is what i'm currently doing

#

btw, is a paymentintent made for the invoice if its value is zero?

muted scarab
#

By value I'm assuming you mean the fund amount. I'm not 100% sure.

As for the approach to void the invoice, listening to webhooks is the recommended strategy

foggy token
#

got it. for the paymentintent, i guess i'll just have to test to find out :)

#

thank you

muted scarab
#

Sure thing. I would have tested it but there are a lot of open threads right now. Test mode API keys are great though!

foggy token
#

quick test in the dashboard shows no, it doesn't create one

#

guess i'll just have to work around that issue

#

expand won't make the request fail if the object it is expanding is null, right?

muted scarab
#

Okay, that makes sense since our API doesn't allow you to create a Payment Intent for less than $0.50 equivalent

#

I don't think so.

foggy token
#

eh guess that's something else to test

foggy token
#

you can close this thread now. have a nice afternoon :)