- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Charge Credit Card - Displaying Discount Line Item on a Transaction
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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