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

[15.x] Fix nullable invoice settings #1732

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

driesvints
Copy link
Member

@driesvints driesvints commented Jan 13, 2025

Fixes #1729

This should actually never happen because invoice_settings is always an associative array according to the Stripe API docs: https://docs.stripe.com/api/customers/object#customer_object-invoice_settings

Regardless, we should protect against it so it doesn't fails over in Cashier.

@driesvints driesvints changed the title Fix nullable invoice settings [15.x] Fix nullable invoice settings Jan 13, 2025
@taylorotwell taylorotwell merged commit e351862 into 15.x Jan 13, 2025
11 checks passed
@taylorotwell taylorotwell deleted the fix-nullable-invoice-settings branch January 13, 2025 16:50
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.

getDefaultPaymentMethod() sometimes throws an error
2 participants