#kylemarlin-source-sub

1 messages · Page 1 of 1 (latest)

pine cipher
#

why are you upgrading your API version?

green geyser
#

old version we were on didn't support customer balance transactions

#

than and the typescript support is AMAZING!

#

I see we're passing source to create a customer. But when we then call create subscription, I get back This customer has no attached payment source or default payment method.

#

So maybe I'm able to use the source we send to create customer?

pine cipher
#

you might have to switch to test mode logs if your request was in test mode

green geyser
#

sure, req_5Wnyc5iwuZiMhF

pine cipher
#

that Customer has no sources

#

your code never passed something like

source: 'tok_visa
})```
#

right?

green geyser
#

ah yeah, stupid unit test setup.

#

alright fixed that on my end. thanks so much