Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Merchello tries to take payment for zero value invoice #2156
Merchello 2.6.0, Umbraco 7.9.9.
Our client recently tried to set up a 100% discount coupon for PR use - the coupon itself works fine, resulting in an invoice total of £0.00. However, Merchello still tries to process this as a payment. Exactly how this fails depends on the payment gateway (we have PayPal and Stripe), but in both cases there is ultimately an error as the payment gateways don't allow zero value payments (no surprisingly - there's no logical reason why they would).
I'd expect that Merchello would bypass the payment gateway and simply create the order (I guess in practice record a payment of £0.00 against the invoice?), but it doesn't do that.
Has anyone got zero value invoices working? What did you have to do?
Incidentally, I have a customer looking to set up a 100% discount coupon, so this is likely to be an issue here too. However, the initial issue is that even with a 100% discount, the tax on the order isn't discounted, so it doesn't seem possible to create a coupon that results in a zero value order. I'm curious, is there no tax element to your products?