#lauradavis_45237
1 messages · Page 1 of 1 (latest)
Are you just moving from one Stripe account to another?
Or are you talking about using a different third-party (like a connect platform)?
-
Generate Stripe Payment Tokens: Stripe provides a way to generate payment tokens that represent payment methods without exposing sensitive information. These tokens can be safely transferred to your new system.
Use the
stripe.PaymentMethod.createmethod with the type of payment method (e.g., card), the customer ID, and other required information. This will give you a payment method token that you can store in your new system's database. -
Update the New System: Store the generated payment tokens along with the relevant customer and subscription data in your new subscription system's database.
-
Handle Subscription Migration: For each subscriber, recreate their subscriptions in the new system using the stored payment tokens. You can create new subscriptions using the
stripe.Subscription.createmethod, passing in the customer ID and the payment method token. -
Notify Subscribers: Inform your subscribers about the migration, and provide any necessary instructions or information they might need.
Remember to maintain proper data security practices throughout this migration process, as you are handling sensitive customer data. Also, make sure to comply with any legal and regulatory requirements, especially if you're dealing with personally identifiable information (PII) and payment data.
Here's a general outline of the steps you can follow:
Create a New Subscription System: Set up your new subscription system with the necessary infrastructure and logic to manage subscriptions. Ensure that it integrates with Stripe for handling payments.
Retrieve Stripe Customer Data: Using the Stripe API, you can retrieve customer data including their billing information, active subscriptions, and associated payment methods (cards) in tokenized form.
To get customer information, you would make a request to the Stripe API using their customer ID. You can use the stripe.Customer.retrieve method.
To get payment methods, you can use the stripe.PaymentMethod.list method with the customer ID to retrieve all payment methods associated with that customer.
@small meteor please let me handle it for now 🙂
sure
Have you spoken to your third part about this and gotten specifics about what they need? Third parties work in a variety of ways, and the recommendation we give here will really depend on how their integration works
Yes they've just asked for tokens
Do you know which third-party it is?
xoda
Ah yeah I see in their docs they want you to contact support to do a migration