Hello @SindhurRao ,
Your mapping is not incorrect, but I do think that there is an easier way to do this.
Instead of looking at receipt, which is going to have an amount without decimals, you could use orders>refunds>transactions>amount and skip the receipt portion entirely. This will provide you with the exact amount including the decimal places so you won't have to alter the value provided to simplify the process a little bit.
Josh | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog