This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Attempting to pay with a non-available payment method doesn't throw an error. #5405
Labels
type: bug
The issue/PR concerns a confirmed bug.
Related to #5404, when attempting to pay with a payment method that is not available, you don't get an error, the order isn't placed, but is set to pending payment.
Payments can be registered but not available, using a code like this:
This was protected using
get_request_payment_method
, but in a recent refactor, that function is no longer called.The text was updated successfully, but these errors were encountered: