Skip to content

Custom python script for migrating from one Stripe account to another

Notifications You must be signed in to change notification settings

justswim/stripe-migration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

stripe-migration

Custom python script for migrating from one Stripe account to another

About this script

Stripe will help copy customers from one account to another, but you need to write custom code to migrate the subscriptions and make sure that they are up to date.

In this case, I needed to copy subscriptions, and make sure that customers were not doubly charged.

The main steps are:

  • iterate through all the source stripe account customers
  • decide the new plan on the destination stripe account
  • add the new subscription on the destination stripe account
  • update any information in your own database
  • cancel / delete the subscription on the source stripe account

I hope this helps. We used this script for Kapwing, an online video editor.

About

Custom python script for migrating from one Stripe account to another

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages