#jamesdahlen.nwi - yearly subs

1 messages · Page 1 of 1 (latest)

grizzled obsidian
#

Checking in to this and will get back to you

#

It looks like you collected their payment info but you didn't set the payment method as the default payment method for either the Customer or the Subscription

acoustic tree
#

dangit- even though there is only 1, it wont use it as default?

grizzled obsidian
#

If you set these payment methods as the invoice_settings[default_payment_method] on the Customer or as default_payment_method on the Subscription these should work

#

Correct, it needs to be set on one of those fields

acoustic tree
#

I wonder how I should resolve this, there was maybe 300 recurring subscriptions. Could i just update each subscription/customer with their existing payment source?

grizzled obsidian
acoustic tree
#

ok- thank you. i will check into updating the customer and that API call.

#

can a default_payment_method value when creating a Subscription be a Customer ID?

#

I am creating a Sub with default_incomplete so I dont have their payment info yet

#

but I do have their Customer ID

grizzled obsidian
#

No, but you will set the customer field when creating the subscription so they will be linked

acoustic tree
#

yes- I am already linking them

grizzled obsidian
#

You can do that without passing in any ID, just make sure to set one of the two fields that I mentioned earlier once you collect their info

acoustic tree
#

ok- thanks

acoustic tree
#

Hi again- as I work through updating these I am finding that my customers don't have any Sources in API responses, however i see their Payment method in Stripe Dashboard: cus_LHhgIT7smYaBtF not sure why

#

empty sources, default_source, etc

#

i am expanding sources when i retrieve the customer

grizzled obsidian
#

These cards should show up in that list

#

I forget about how the backwards compatibility works with Payment Methods and Sources but here you should definitely see these cards as payment methods

acoustic tree
#

ah yes- i just executed that and see it. I should be able to set one of these IDs to a Customer invoice_settings[default_payment_method]?

grizzled obsidian
#

Yes, that should work for the API call

acoustic tree
#

ok thanks again