Hello,
I'm currently testing adding a discount amount to the transaction line item.
The Class shows that it's available to use and it does not throw an error. When I view the transaction through the portal, the line items appear as they should but no discount rate.
https://api.authorize.net/xml/v1/schema/AnetApiSchema.xsd
08-25-2022 02:24 PM
After continuing to dig around, I came across this solution:
https://stackoverflow.com/questions/45112004/add-a-negative-price-line-item-or-discount
It doesn't work the way that I had envisioned but I can at least create a line item with the discount code and pricing to reflect what happened to generate the total charge.
The API doesn't calculate the total charge, so this will work for what I needed.
08-25-2022 03:17 PM
I am running in to the same problem. the model seems to indicate that the fields: discountAmount, taxAmount, taxIncludedInTotal,
11-06-2023 12:00 PM