Further digging, it seems that i misunderstood the action/debug logs.
The first log - the Paypal_Action_Log - has the correct prices (our website prices are inclusive of VAT). (17.75)
The next log - the Paypal_Debug_log - has SetExpressCheckout [AMT] is now appearing without VAT. (15.11)
-- Action
Customer ID: 0
Session Data: Array
(
[customers_host_address] => x.x.x.x
[cartID] =>
[cart] => shoppingCart Object
(
[contents] => Array
(
[1:204103309af54471671eab147a03e408] => Array
(
[qty] => 1
[attributes] => Array
(
[1] => 5
[2] => 8
)
)
)
[total] => 17.75
[weight] => 0
[cartID] => 10891
[content_type] => physical
[free_shipping_item] => 0
[free_shipping_weight] => 0
[free_shipping_price] => 0
[observers] => Array
(
)
) <snip>
[check_valid] => true
[language] => english
[languages_id] => 1
[languages_code] => en
[currency] => GBP
[updateExpirations] => 1
[session_counter] => 1
[customers_ip_address] => x.x.x.x
[new_products_id_in_cart] =>
[valid_to_checkout] => 1
[cart_errors] =>
[payment] => paypalwpp
-- 1st Debug
2007-10-16 12:00:52
(live transaction) --> https://api-3t.paypal.com/nvp
Request Headers:
Array
(
[0] => Content-Type: text/namevalue
[1] => X-VPS-Timeout: 45
[2] => X-VPS-VIT-Client-Type: PHP/cURL
[3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart - WPP-NVP
[4] => X-VPS-VIT-Integration-Version: 0.1
)
Request Parameters: {SetExpressCheckout}
Array
(
[LOCALECODE] => GB
[PAYMENTACTION] => Sale
[AMT] => 15.11
[RETURNURL] => https://www.x.com/store/ipn_main_handler.php?type=ec
[CANCELURL] => https://www.x.com/store/index.php?main_page=login&ec_cancel=1
[PAGESTYLE] => Primary
[METHOD] => SetExpressCheckout
[CURRENCYCODE] => GBP
[USER] => sales_api1.x.com
[PWD] => ****************
[VERSION] => 2.3
[SIGNATURE] => ****************************************************Dgho
)
Response:
Array
(
[TIMESTAMP] => 2007-10-16T11:00:50Z
[CORRELATIONID] => dff8cb55288f1
[ACK] => Success
[VERSION] => 2.300000
[BUILD] => 1.0006
[TOKEN] => EC-35D95008A9183764K
[CURL_ERRORS] =>
)
Everything seems to be marked up UK and GBP, not sure what's going on here!
Shaun