#cw
1 messages · Page 1 of 1 (latest)
Yeah, basically you would make a secure page that would tell your server to make API calls to manage the customer's payment method info on your account.
As you mentioned, SetupIntents would be the way to go to save new payment methods
Detaching a payment method would be the way to effectively delete it
https://stripe.com/docs/api/payment_methods/detach
To upgrade or downgrade subscriptions, you can follow this guide
https://stripe.com/docs/billing/subscriptions/upgrade-downgrade
And they can’t EDIT a payment right? That’s not legal technically lol
Also not sure if you mentioned this or not, but we do have a pre-built Stripe hosted customer portal that you can direct users to to make these kinds of update https://stripe.com/docs/customer-management
Yeah we have to keep it in-house for technical reasons
Not quite sure what you mean here, can you elaborate?
If it is your own page, you can define what they can edit.
For example if I have a card ending in 4242 can I edit that card? Or do I have to remove and enter details again from new
I see. If I had used an element like cardNumber to add a new card, it would charge them immediately instead of adding a new payment method for later?
If you have a card saved, you can update the expiration month and year on it (there is also a flow to recollect the CVC) https://stripe.com/docs/api/payment_methods/update#update_payment_method-card-exp_month
If you want them to add a new card, that would be a matter of making a setup intent and confirming it
Okay as long as it’s not against any regulations. I’ll check that too
This would just be changing the payment method they are paying with going forward. Pretty common functionality for webpages, not aware of anywhere where that is illegal but you can reach out to our support team for direction in your country if you have any regulatory questions https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Thanks I will just in case
From this convo it seems relatively easy to get this membership customization page setup. Trying to think of any possible hurdles one minute
Last question:
I’m offering a referral program. When you reach a certain number of referrals, your membership is free unless someone cancels.
For example. 10 referrals is a free membership. 9 is 90% off. 8 is 80% off. 1 is 10% off. So on. If someone cancels you drop by 1.
What’s the best way to do this? With coupons?
Or do I make new products?
I’m trying to figure out if I should use coupons or just a whole new product for each tier. But that could get messy.
Coupons could probably help you do this the most straightforwardly. You could make ten coupons, 10% off, 20% off, etc and just apply the appropriate one as their number of active referrals changes
You'd set the duration of these coupons to "forever" which just means they get the discount as long as it is on the subscription
That makes sense. Thanks a lot Pompey