OrderCheckout Problem

Having a bit of trouble with Qty in the Square checkout form when using the checkout api order checkout… It seems the price is correct though. Any thoughts?

Qty always seems to round down - 0.25 becomes 0, 1.75 becomes 1, etc.

var c = new MeasurementUnitCustom.Builder("Yards", "yd")

        var measurementUnit = new MeasurementUnit.Builder()

        var quantityUnit = new OrderQuantityUnit.Builder()

        var orderLineItem = new OrderLineItem.Builder("0.25")
            .Name("Aerial in Black")

What’s the Square generated order_id for this order? :slightly_smiling_face:

I created a new one with a quantity of 0.25, to demonstrate the qty rounding down a bit better:

orderid: G4d4c0shgzSyp4bxrcC0HFWEd46YY
order link: Stitches LLC

This is still very much an issue for me - any follow-up thoughts on this?

Thanks for bringing this to our attention. I’ve shared this with the team. :slightly_smiling_face: