Hi - have a working setup with this module running live, but currently tax field is passing nothing. The code is this:
if (!empty($tax)) $xml .="" . $tax . "";
I'm using the standard tax functionality in the system. Any ideas why this is happening? Is $tax the correct variable to be using here?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 860708.uc_linkpoint_api.tax_.patch | 2.36 KB | rszrama |
Comments
Comment #1
jrust commentedCurrently tax is not supported; patches welcome though.
Comment #2
rszrama commentedI copied / pasted the code from the PayPal module to get this to work. However, I found out that Linkpoint will fail if you specify a ChargeTotal that is different from the Subtotal + Tax + Shipping amounts. Therefore, if it doesn't all add up, I don't include the breakdown (like if you're charging $1 after the fact on an order whose subtotal + tax + shipping is $2).
Comment #3
jrust commentedThanks, fixed in CVS