Assume, we have a route for redirecting to billing (stripe customer portal). Before that, the customer's stripe account should be created. We may use the createOrGetStripeCustomer method, but if we intend to update the stripe customer's details with his latest profile data or any metadata, then createOrSyncStripeCustomer and createOrUpdateStripeCustomer will be helpful.
Assume, we have a route for redirecting to billing (stripe customer portal). Before that, the customer's stripe account should be created. We may use the
createOrGetStripeCustomer
method, but if we intend to update the stripe customer's details with his latest profile data or any metadata, thencreateOrSyncStripeCustomer
andcreateOrUpdateStripeCustomer
will be helpful.