#scrubielord

1 messages · Page 1 of 1 (latest)

north orchidBOT
torpid rock
#

Hello, do you have an example subscription that this happened with?

#

Are you setting your subscriptions to charge your users automatically or for Stripe to send them the invoice to pay on?

exotic sparrow
#

Charge automatically. But I don't see what that has to do with the email that stripe send automatically? I just want when a user adds a new payment_method from the email they receive after a failed payment to be a payment_method object instead of a source object.

torpid rock
#

It determines what email gets sent and how that email works.

#

Do you have the ID of a specific payment that this happened with?

#

One that failed?

#

Payment Methods and Sources should both work the exact same here as long as you have them properly set as the default for either the customer or subscription

exotic sparrow
#

I don't know how the source object is set up since it is all done by stripe.

north orchidBOT
torpid rock
#

Right but you will still be able to set it as the default via your own API calls as long as it is being saved properly

exotic sparrow
#

So if I follow correctly when ever a client's pays coming from this email. I need to get that payment and then call the API to setup that new src pm as that client's default payment method?

torpid rock
#

Yes, it sounds like it from your description

exotic sparrow
#

Ok then is there not an option in stripe that would allow me to set that new paymentethod as default

winter agate
#

Hello 👋
Are you asking if there's a way to set this new payment method as default automatically?

#

If so, I don't think there's a way to make it default. That's something you can do via the dashboard or the API

exotic sparrow
#

Hello thank you for your time.