#melchncookie-default_source

1 messages ยท Page 1 of 1 (latest)

unreal orchid
#

hi there, can you provide an example customer id for me to refer to?

safe ridge
#

cus_KBiSeSwwl3Sh8a , this person should have an active subscription with a payment method but no default source on their customer object

unreal orchid
#

it doesn't have an active subscription ๐Ÿ˜…

safe ridge
#

do you mind checking their sub id in our system? sub_1JfpSDKDYVZSNdr9pW2zrSWk
when I call the subscription api it shows their status as active

unreal orchid
#

ah okay, so the customers and their payment methods are already migrated over. But the subscriptions haven't been created on the new account yet

#

cus_KBiSeSwwl3Sh8a is actually using a PaymentMethod. Do you have another example perhaps?

safe ridge
#

good to know! I'll bring that up with my team tomorrow to look into that issue

this subscription should belong to both a customer who doesn't have a default source and for a monthly subscription "sub_1JfpwRKDYVZSNdr9P4aRMd7m"

and hopefully this has been created on the new account as well.
unsure if it makes any different but we are also using stripe connect between that customer's companies account (The Pilates Class) and my own companies

unreal orchid
#

let me take a step back - looking at the examples you've provided so far, the two customers all have a payment method and are not using sources at all. Can you explain a bit more on why you're looking to re-attach a default_source to their account?

safe ridge
#

yes, sorry for the delay I was looking through our system's code. in our account settings we actually look for "default_payment_method" instead of "default_source", which I believe should exist for all invoices?
I've set up a meeting for myself tomorrow with a developer on our payments team as he will know more. it seems we are looking at the "default_payment_method" on the invoice and comparing it to all of their PMs from payment method api instead of looking at their customer default_source like I was originally told

unreal orchid
#

alright, is there anything else i can help you with right now? ๐Ÿ˜„

#

to answer your question, the invoice will charge the default_payment_method if it's setup so that's fine