TWebPayPal Beta 1.2

Hi,

When I try to make a purchase using the sandbox I get the error returned:

transactions[0]: Item amount must add up to specified amount subtotal (or total if amount details not specified)

However I am confused as there Is just a payment.tax property and not a corresponding payment.total or amount property.that I can find.

Thanks,

Ken

I should add that this only happens if the item's tax amount is set.

Hi,


Thank you for notifying.
This issue has now been fixed and the update will be available with the next release of TMS WEB Core.

Please note that there is no Total property as the total amount is calculated automatically.
As a workaround you can leave the Item.Tax at 0, this won't affect the total as the Item.Price should be set to the item's price including tax.

Thanks. Currently it works correctly if I set the Item.Tax to 0 and the Payment.Tax to the total tax due. However the Item.Price then needs to be the net value.