Skip to content

Conversation

@josiasmontag
Copy link
Contributor

Currently, failed invoice() payments result in this exception:

ErrorException: Attempt to read property "data" on null

This is because the refresh() method from the Stripe SDK does not accept any parameters and therefore payments is not expanded.
The PR fixes this by using the Cashier refresh() method.

@taylorotwell taylorotwell merged commit f4dfe4c into laravel:16.x Oct 30, 2025
6 checks passed
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.

2 participants