#Uche-subscription-creation

1 messages ยท Page 1 of 1 (latest)

timber wharf
autumn reef
#

"payment_behaviour": "error_if_incomplete"

#

This is what i use

timber wharf
#

Gotcha, so as mentioned in the spec, the request will return a 402 status/error when the first invoice cannot be paid on the subscription if you use error_if_incomplete.

autumn reef
#

It doesn't seem to work that way right now

timber wharf
#

Can you provide the ID of a request where you're seeing the contradictory behavior?

autumn reef
#

pi_3KqFVaJOFr5bbosl0VXx2Lts

#

in this case the payment failed but a subscription with "status": "incomplete" was still created before later being cancelled when the payment failed webhook was fired

timber wharf
autumn reef
#

it wasn't specified? give me some time to try this again. Please dont archive the chat yet

#

i just realized the the new logic path we were testing didnt have that field set. My bad. Thanks for your help

timber wharf
#

Any time!

carmine iron
#

@autumn reef Checking in. Are you in a good place with this now? Are we okay to archive this thread in a bit?