• Still the same error; after more than a year. Still no solution.
    Tried both API’s, tried new keys everything, seems like I’m stuck to version 7.10
    Mollie with WooCommerce.

    Orders without decimal quantity working very well.

    Failed to create Mollie payment object for order ### Error executing API call (422: Unprocessable Entity): Line item 1 is invalid. The ‘quantity’ field should be a whole number. Documentation: https://docs.mollie.com/reference/handling-errors. Request body: {“status”:422,”title”:”Unprocessable Entity”,”detail”:”Line item 1 is invalid. The ‘quantity’ field should be a whole number”,”field”:”lines.1.quantity”,”_links”:{“documentation”:{“href”:”https://docs.mollie.com/reference/handling-errors”,”type”:”text/html”}}}. Field: lines.1.quantity

    • This topic was modified 4 days, 8 hours ago by vanmeij.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Krystian Syde

    (@inpsydekrystian)

    Hello @vanmeij

    Indeed, there is a gap in handling fractional quantities here. However, this is also a limitation from Mollie’s side: their API does not support fractional quantities at all. The challenge is that simply rounding the quantity to a whole number may introduce another issue.

    I will raise this with the developers.

    Kind Regards
    Krystian

    Thread Starter vanmeij

    (@vanmeij)

    Thank you, because it is working in version 7.10 so is it a bug?
    Or is it a change on Mollie’s way to handle orders. It seems not that difficult to get this thing right.

    Also a musthave for some webshops right? Handle weights, liters or gallons, handle square meters etc.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.