Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I get WSOD if the payment is not valid - invalid request.
In the log i get this message
Stripe\Error\InvalidRequest: Amount must convert to at least 50 cents. Lei1.00 converts to approximately €0.22. in Stripe\ApiRequestor->handleApiError() (line 110 of /d8_path/vendor/stripe/stripe-php/lib/ApiRequestor.php).
I'm not sure this issue it's about this module or it's something that should be solved in Commerce 2.x
but i thought to report it anyway (here).
Comments
Comment #2
bojanz CreditAttribution: bojanz commentedI don't see how we'd solve this on either side, since we have no currency conversion.
The only thing we can do is make sure that the error is handled gracefully.
Comment #3
vasikeindeed this issue is about better error handling here.
@bojanz thanks
Comment #4
scotthooker CreditAttribution: scotthooker commentedYep one thing left to port is the error handling.
Comment #5
vasikeThis seems related with Error handling.
The progress done within #2859278: ErrorHelper implementation seems to solve the issue.
The customer will get back to the payment information checkout step.