Mollie Checkout and Discounts: Our Temporary Workaround

Back 2026-11-09 02:37:01
Why discounted carts could leave Mollie’s card form blank, and how we temporarily handle payment requests in sleekshop.

A checkout should let customers complete their purchase without friction. During our investigation of a Mollie checkout issue in sleekshop, we encountered a case where the payment page opened, but the credit card form remained blank. Payment methods were enabled, and creating a fresh payment did not resolve the behaviour.

The payment method selection could display the card option, yet selecting it led to an empty card form. The browser console reported an InvalidInitialState error during the initialization of Mollie’s checkout components. This identified where the page failed, but did not establish the underlying cause.

We narrowed the issue down to carts containing discounts. Our integration sent product details and separate discount entries through the Payments API’s lines parameter. The affected cart also contained products with different VAT rates, with discounts allocated to the appropriate rates. Reviewing the payload showed consistent payment totals and tax amounts. Separate negative discount lines are supported by Mollie’s documented data model.

We also noticed that the hosted order summary combined a subtotal before discounts with tax after discounts and a gross discount amount. Although the final payment amount was correct, the displayed breakdown was difficult to reconcile. This was an additional symptom in the affected checkout, rather than evidence that the shop’s discount calculation was wrong.

To keep checkout available, we have introduced a temporary change: whenever a cart contains discounts, we omit the entire lines parameter from the applicable Mollie payment request. We still send the final payable amount, including the discount. The complete product details, discount allocation and VAT information remain in sleekshop for order processing and invoicing.

This means customers will not see the detailed item breakdown on Mollie’s hosted page for those discounted carts. Carts without discounts continue to include their order lines. The workaround must also respect payment method requirements: methods that require order lines need separate handling, so removing lines should not be applied indiscriminately across every payment method.

This is a targeted workaround for the behaviour we observed, not a claim that Mollie cannot process discounts or mixed VAT rates in general. We will restore the transmission and display of order lines for discounted carts as soon as Mollie has fixed this issue and we have verified the corrected checkout behaviour. Until then, our priority is to preserve the correct payment amount and provide a usable checkout.

Try sleekshop 30 days for free.

Start now