Hello,
I'm using:
- commerce 7.x-1.13
- payment 7.x-1.16
- payment_commerce 7.x-1.7
- mollie_payment 7.x-1.0-rc1
and I'm trying to get the Mollie payment method to work.
After trying with both test and live api keys I still get this error on my payment checkout step (example: www.site.be/nl/checkout/48/payment)
The error is:
Mollie_API_Exception: Error executing API call (request): No suitable payment methods found. in Mollie_API_Resource_Base->performApiCall() (regel 316 van .../public/sites/all/libraries/mollie_api/src/Mollie/API/Resource/Base.php).
In my Mollie backend there are several payment methods active and the website profile is in state "active, approved for live payments"
Does anyone have a clue what I'm doing wrong?
Solution
There are minimum and maximum amounts for each payment method in Mollie.
See documentation (in Dutch):
https://www.mollie.com/nl/support/post/wat-is-het-minimum-en-maximumbedr...
Comment | File | Size | Author |
---|---|---|---|
#2 | 2783029-checkout-settings.png | 89.56 KB | MegaChriz |
Comments
Comment #2
MegaChriz CreditAttribution: MegaChriz at WebCoo commentedI also got this error. In my case it was because for some reason no Payment entity was created. I do have the payment method pane configured very early in the checkout process (instead of at the review page).
My checkout setup is as follows:
After I added the following piece of code to
payment_commerce_redirect_form()
, it worked again (though that doesn't seem logical to me):This piece of code is also available as a patch in #2760305: Not working with FlatRate Drupal Commerce.
Comment #3
MegaChriz CreditAttribution: MegaChriz at WebCoo commentedFinally found the real cause for this issue.
Mollie has put restrictions on the amount to accept per payment method. Per payment method in Mollie there is a minimum and maximum amount. Should the order amount not fall between these, then the Mollie payment method is not choosable. If the order amount is out of range for all Mollie payment methods, then the error "No suitable payment methods found" will appear.
Here is a list of minimum and maximum amounts (in Dutch):
https://www.mollie.com/nl/support/post/wat-is-het-minimum-en-maximumbedr...
Note that for Creditcard the default maximum amount is € 1000,00, but you can ask Mollie to raise the maximum for this Mollie payment method.