#shallowcopy
1 messages · Page 1 of 1 (latest)
you can't move a Subscription sub_xxx from one Customer cus_xxx to another(I think is what you're asking?)
yes thank you so i need to cancel the old one and just create a new one?
that's one option. Not great since you have to re-collect the card details from the user. Maybe instead just in your own database remap things
so that now the user X is associated with the Stripe customer cus_123 and user Y is not associated with cus_123 any more
no great or non-messy solution here really
i see i see, if i would do that i would basically change the subscription so it ends at e.g. the end of the month and than make it expire and the new owner has to update it?
not sure I understand
you can't change the ownership, it's just not possible
in Stripe you have a Customer cus_123 with a PaymentMethod pm_123 and a Subscription sub_123
you can't copy the PaymentMethod to a different Customer cus_456
i dont want to copy the payment method but i get what you want to say
thank you for your help!
you can create a Subscription on a new Customer cus_456 and try to line up the billing cycles but it can be tricky
https://stripe.com/docs/billing/subscriptions/import-subscriptions#import-subscriptions we touch on the approaches here(the context of that doc is different, but the part about recreating a Subscription on a new Customer is applicable)
thank you