#cyberuser_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1257810986354868225
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
what is the correct method to migrate the payment method from source to destination account since I am migrating subscription.
Hi there
Hi
Is there a specific guide you're following?
I just followed the steps provided in different articles.
Non of them are working
It will be nice if you provide me the steps to copy the payment method and then attach to the customer
Taking a step back, let's say your goal is to copy a payment method from Account A to Account B. Is Connect involved at all or are these two accounts completely unrelated/unlinked?
they are unlinked.
I have different franchise on my site registered and each have its own stripe account. All i have is the API keys
Got it
In that case, I recommend following this guide: https://docs.stripe.com/get-started/data-migrations/pan-copy-self-serve
I had confusion in the above link you shared
how to get the source_id from Account A?
Also can you provide an example code for this migration process for payment method?
Can you clarify why you need a source ID in this case?
In the documentation it says [ customer_id_old
source_id_old
customer_id_new
source_id_new]
I there any code example available for this entire process?
That section is referring to the mapping file/results file that is provided once the copy process is completed.
I recommend reading through that entire document first. The process outlined there does not require using the API/code at all
But I need this to be done using API
since the franchise move schools to other franchise and then we have to move all subscriptions of the children from account A to account B
this is automated process from our website backend.
So I am adding the API at place when we move the schools
I had to update the my database with migrated subscriptions to account B. There is too much going on in my code ๐
I recommend following this doc for the copy of payment details across accounts: https://docs.stripe.com/get-started/data-migrations/pan-copy-self-serve
There's no way to copy this data between unlinked accounts using the API
Once the customers and cards have been copied to the new account, you can follow this guide for the Subscription piece: https://docs.stripe.com/billing/subscriptions/migrate-subscriptions
In the decision matrix, you want to look at the lower right quadrant: https://docs.stripe.com/billing/subscriptions/migrate-subscriptions#migration-decision-matrix
"My customer and payment data is already in Stripe" and "Migrate subscription data between Stripe accounts"
No, this won't apply here since you're not using Connect.
okay
let me go through all articles you shared and will get back if any issue came across
Can I get the transcript of our chat so I can share it with my client
This link is publicly accessible as long as the person accessing has registered in this Discord community: https://discord.com/channels/841573134531821608/1257810986354868225