Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Dircm's avatar
Level 5

Cashier : adoption of customers from existing stripe account

I have a new laravel project using cashier with Stripe. There is an existing stripe account and legacy app with subscription customers active and paying regular amounts with three types of subscription products.

I want to move the customer base to the new Laravel app.

I see that I can pull foreach customer stripe details:

$user = Cashier::findBillable($stripeId);

and $stripeCustomer = $user->asStripeCustomer();

Then sync the default payment method from Stripe with:

$user->updateDefaultPaymentMethodFromStripe();

The customers are all billed monthly and have a normal anchor (created) date.

Does this import strategy look solid ? Have I missed anything ?

Do I just set the users subscription to monthly with the stripe start date and swap over when ready to deploy production ?

Thanks ! Tom.

0 likes
2 replies
dr_codswallop's avatar

How did this work out for you? Need to do exactly the same on an upcoming project. Did it work out soothly and as you'd hoped using this method?

martinbean's avatar

@laszlo Don’t over-complicate the problem? If you need to import customers and subscriptions from Stripe, then use the Stripe SDK to fetch customers and subscriptions from the API and insert records into your app’s database.

Please or to participate in this conversation.