In addition, whilst working on an Uber implementation, I’ve found that float quantities and custom units don’t seem to be reflected in the iOS app - floats are rounded, and the units aren’t shown at all (the app displays an x as the quantity).
The first error looks like there might be a problem with the receipt you’ve sent us! (Obviously it shouldn’t be quite so unhelpful, but hopefully this helps a little.)
Can you share the receipt you sent us, to see if we can spot the problem?
Empty taxes array with tax: 0 in receipt, items and sub items - I can get the receipt back.
Empty taxes array with tax not in receipt, items and sub items - Error on getting the receipt back.
No taxes array and no tax in receipt, items and sub items - Error on getting the receipt back.
No taxes array with tax: 0 in receipt, items and sub items - I can get the receipt back.
{
“external_id”:"…",
“transaction_id”:“tx_…”,
“total”:2100,
“currency”:“USD”,
“items”:[
{
“description”:“agile-falls-12228 (Rob Bot)”,
“amount”:0,
“currency”:“USD”,
“sub_items”:[
{
“description”:“Dyno [Bot]”,
“amount”:0,
“currency”:“USD”
},
… Some more sub items like the one above …
]},
… Some more items like the one above …
],
“payments”:[{“type”:“card”,“amount”:2100,“currency”:“USD”,“last_four”:"…"}],
“merchant”:{“name”:“Heroku”,“online”:true}
}