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

Added expand option to Subscription latestInvoice() #1549

Merged
merged 1 commit into from Jul 6, 2023

Conversation

quantumwebco
Copy link
Contributor

Breaking change PR in 14.x moved to 15.x (master)
Added expand option to latestInvoice() method so you can get the payment intent to check for 3DS requires action
When using $invoice->pay() it does not throw an Cashier IncompletePayment exception it throws a native Stripe CardException so the payment intent is not in the error object, it helps to have the payment intent on the invoice so you can check before attempting to pay()

@driesvints driesvints merged commit 060f03d into laravel:master Jul 6, 2023
8 checks passed
@driesvints
Copy link
Member

Thanks!

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.

None yet

2 participants