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?

CommentFileSizeAuthor
#2 860708.uc_linkpoint_api.tax_.patch2.36 KBrszrama

Comments

jrust’s picture

Status: Active » Needs work

Currently tax is not supported; patches welcome though.

rszrama’s picture

Status: Needs work » Needs review
StatusFileSize
new2.36 KB

I 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).

jrust’s picture

Status: Needs review » Fixed

Thanks, fixed in CVS

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.