Hello Everyone,
I would like to report a potential bug with the PayPal Express Checkout features in ZC v1.3.7
My setup details are as follows:
Zencart v1.3.7 + PPEC-137-patch + ultimate_seo_urls_v2.103
I have setup the above version so that i can test the new PayPal Express Checkout features. I set everythign up, both in paypal and zencart (paypal live, not sandbox)
When processing a test order, I got the errors reported, below:
As you can see, the error is quite friendly and tells me that there is no value being passed for shiptostate. The shipping address that I used was UK shipping address. Therefore the value for the 'state' field for this shipping address was 'manchester'. The country was 'united kingdom'. In the UK we dont actually really have 'states' perse, but we have region names, such as northwest, southwest etc.
Anyway, as a debugging excersise, I changed the test customers shipping city to 'New York' shipping state to 'New York' and entered a valid New York zip code - to my surprise IT WORKED PERFECTLY - took me to the papal payment page.
However, this does not solve my problem.... for a typical UK address, the PayPal Express Checkout does not work.
To check that my store was correctly set up, I went into Admin->Configuration->Mystore and found that the store 'country' was correctly set to UK.
PLEASE CAN ANYONE HELP WITH THIS ISSUE. thanks in advance!
Errors reported:
-------------------
(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' => 'US',
'PAYMENTACTION' => 'Authorization',
'ADDROVERRIDE' => '1',
'SHIPTONAME' => 'Naani',
'SHIPTOSTREET' => '1 Random Street',
'SHIPTOSTREET2' => '',
'SHIPTOCITY' => 'Manchester',
'SHIPTOZIP' => 'M24 5JB',
'SHIPTOSTATE' => '',
'SHIPTOCOUNTRY' => 'GB',
'REQCONFIRMSHIPPING' => '1',
'EMAIL' => 'n.random######################',
'PHONENUM' => '0123456789',
'AMT' => '2.64',
'RETURNURL' =>
'http://www.i_have_removed_for_privacy.com/shop/ipn_main_handler.php?type=ec',
'CANCELURL' =>
'http://www.i_have_removed_for_privacy.com/shop/checkout_shipping.html?ec_cancel=1',
'PAGESTYLE' => 'PayPal',
'METHOD' => 'SetExpressCheckout',
'CURRENCYCODE' => 'GBP',
'USER' => 'xxxxxxxxx_api1.hotmail.com',
'PWD' => '****************',
'VERSION' => '2.3',
'SIGNATURE' => '****************************************************caHZ',
)
Response: array (
'ACK' => 'Failure',
'L_ERRORCODE0' => '81108',
'L_SHORTMESSAGE0' => 'Missing Parameter',
'L_LONGMESSAGE0' => 'ShipToState : Required parameter missing',
'L_SEVERITYCODE0' => 'Error',
)




