#ruguo_

1 messages · Page 1 of 1 (latest)

sweet willowBOT
analog zealot
#

hi, can you clarify exactly what type of migration you have in mind?

halcyon pebble
#

Translate the customer and payment methods bound to the old Stripe account to the new account.

analog zealot
halcyon pebble
#

Yes, I've implemented these steps. However, how can I achieve incremental synchronization if customers are added to the old account?

#

Also, the customer ID will not change, but the card_id will. I plan to update the card_id in our system using a mapping file. This approach is correct, right?

analog zealot
#

you can't really. After the migration you shouldn't use the old account

halcyon pebble
#

If I use a new account directly, during the migration process, the old users on my system won't be able to use it. Do they need to wait until the migration is completed and update the card_id in our system through the mapping file before they can use it normally? This certainly doesn't seem like a good practice.

analog zealot
#

well that(waiting/downtime)'s one option, or you can use both accounts in your system and dynamically swap the API keys so you use the account for the current customer

halcyon pebble
#

What exactly is the process for the latter option?

analog zealot
#

before you do the migration, use the API key of your existing account, and use the API key of the new account after it

halcyon pebble
#

This brings us back to the original problem. The new customers and cards added to the old account cannot be synchronized to the new account.

#

In this case, it seems that suspending operations would be a better choice during the migration period.

analog zealot
#

maybe write to https://support.stripe.com/?contact=true and ask them, we have a specific migrations team(these copies were done manually by an internal team up until a few months ago) and I'm sure they have resources that know more than I do about advice for this scenario

halcyon pebble
#

What would be the impact of duplication if both the new and old accounts contain the same customer?

analog zealot
#

hard for me to say, I'm not sure what specific impact you're concerned about

halcyon pebble
#

If both the new and old accounts have the same customer, what would happen if a duplication operation is performed? Would the new account merge or overwrite the existing data?

analog zealot
#

what do you mean by 'the same customer'? cus_xxx IDs are generally unique(except when we copy them ourselves) so you wouldn't have two with the same ID, so I don't understand what you are referring to

#

I really suggest a support ticket to the migrations team