You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit introduces a critical bug that breaks Stripe Checkout in 2.0.4 if there is no setup fee for a sca enabled, single plan subscription. The bug happens in when the create-checkout-session controller action is called, and the error in the javascript console is "Invalid positive integer".
Description
This commit introduces a critical bug that breaks Stripe Checkout in 2.0.4 if there is no setup fee for a sca enabled, single plan subscription. The bug happens in when the create-checkout-session controller action is called, and the error in the javascript console is "Invalid positive integer".
The error in the log with the stacktrace is:
Here is a dump of the parameters passed to
Session::create($sessionParams)
in line 112 of Checkout.php:The problem is most likely this conditional which will always be true, because the value if set to 0, is
'0.000'
.Steps to reproduce
(Again, see my other issues)
Additional info
The text was updated successfully, but these errors were encountered: