Zero amount payment

Phoca Cart - complex e-commerce extension
User avatar
b2z
Phoca Enthusiast
Phoca Enthusiast
Posts: 52
Joined: 09 Dec 2016, 13:52

Zero amount payment

Post by b2z »

Hello Jan!

We have faced an issue with payment that have zero amount in total. For example, Stripe does not allow zero amount and throws an error when you try to pay 0.00 :? What I think is that check for zero amount should be implemented on the shop level. If amount is zero - why do we need to select any payment provider and proceed to payment? Checkout simply should not proceed to payment form and complete the order. And this should be done in component, not in payment plugins.

Best regards,
Dmitry
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Zero amount payment

Post by Jan »

Hi, hmmm, yes, the question is now where to add such "protection" - into component (all payment plugins will be invfluenced without having the option to change it) or to plugin options where only selected method can set such behaviour.

Are we 100% sure, there will be no case that the payment plugin will be used even with zero amount (e.g. some kind of registration, etc.). Unfortunately no experiences now, so really hard to say.

The second idea is, do we really need such parameter when we can easily do it in payment options:

Image

:idea:

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