#talker - subscription schedule

1 messages · Page 1 of 1 (latest)

crystal sedge
#

Hey there, that's not how subscription creation/setup works. You can use collection_method=send_invoice to have invoices emailed to your customer to pay, but setting up a payment method for automatic payments is something you'd need to handle separately.

#

What flow do you want to achieve?

smoky ravine
#

when i schedule a subscription for a user who does not have a payment method i would like them to receive an email when their invoice is due so that they can update their payment method

#

right now we have collection method set to "charge_automatically"

#

i think we want to charge automatically, but what happens if the user does not have a valid payment method on file

#

My company is having me run test scenarios so that we know what to expect if for some reason a user does not have a valid payment method on file, or if their card expires etc...

crystal sedge
#

You'll need to build the logic to collect the payment method in order to charge automatically. The flow you've described with an email to only payment details is something you could build yourself ahead of payment.

#

Using send_invoice (fixed above) will email the invoice to the customer each cycle

#

You can collect a payment method from the custoemr and switch the subscription to automatically charge if you like, though

smoky ravine
#

so you saying to query to find out who does not have a payment method and set them to "send_email", than once they add the payment method i can change them back to "charge_automatically"?

radiant sequoia
#

Hi @smoky ravine! Stepping in for @crystal sedge as they needed to step away. Yep, that is what you would need to do to use Stripe emails to capture payment/payment method here.

smoky ravine
#

what about expired cards, is it going to be the same process?

radiant sequoia
smoky ravine
#

pefect

#

So just to reiterate, if we schedule a subscription and the person does not have a payment method on file, we can set their collection_method to "send_email", than we can run a process to detect when their card is on file and then change it back to "charge_automatically"?