Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[10.x] Prevent createAsStripeCustomer when stripe_id is set #871

Merged
merged 1 commit into from
Feb 18, 2020

Conversation

driesvints
Copy link
Member

This will prevent usage of the createAsStripeCustomer when a stripe id is already set. Usage like this can be dangerous because a new stripe customer will be created and the link to the previous customer will be lost.

Fixes #862

@taylorotwell taylorotwell merged commit a2a7ccd into 10.0 Feb 18, 2020
@driesvints driesvints deleted the create-customer-exception branch February 18, 2020 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to customise customer check when creating an Invoice
2 participants