Checkout 0,- still trying to go to payment

Phoca Cart - complex e-commerce extension
Webguy
Phoca Enthusiast
Phoca Enthusiast
Posts: 81
Joined: 16 May 2024, 15:59

Checkout 0,- still trying to go to payment

Post by Webguy »

When having a cart with a 100% discount or free products, even though the total cost = 0, there is still a call made to mollie for payment. Is this a setting somewhere? Is this something that is handled by Phocacart or could it be PCuikit?

[2025-01-03T12:15:57+0100] Error executing API call (422: Unprocessable Entity): The amount is lower than the minimum. Documentation: https://docs.mollie.com/overview/handling-errors. Request body: {"amount":{"value":"0.00","currency":"EUR"},"metadata":{"order_id":60},"locale":"nl_NL","redirectUrl":"https:\/\/www.fleev.nl\/index.php?option=com_phocacart&view=response&task=response.paymentrecieve&type=mollie&tmpl=component&pid=4","webhookUrl":"https:\/\/www.fleev.nl\/index.php?option=com_phocacart&view=response&task=response.paymentwebhook&type=mollie&tmpl=component&pid=4","cancelUrl":"https:\/\/www.fleev.nl\/index.php?option=com_phocacart&view=response&task=response.paymentcancel&type=mollie&tmpl=component&oid=60&pid=4","description":"Fleev: 20250060"}. Field: amount
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49125
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Checkout 0,- still trying to go to payment

Post by Jan »

Hi, I don't know what the "error executing API call" can mean as I am not the developer of this payment plugin.

The zero cost rule is general payment or shipping rule. If the price is zero, payment methods will be not offered when it is set in Phoca Cart parameter: Skip payment method

Image

Jan
If you find Phoca extensions useful, please support the project
Post Reply