Hi,
I'm using Zen Cart version 1.3.8a and have installed PayPal Express Checkout. I've done several live test transactions first using my personal PayPal account, and then using a credit card without Paypal login and none of these transactions have gone through.
After confirming my order, I am successfully redirected to PayPal to enter my credit card info or to log in to my PayPal account. I am then redirected back to my site where steps 2 - Payment Information and 3 - Order Confirmation are repeated. I click confirm, and am directed to the Checkout Success page (incidentally, for whatever reason this page does not display the text I entered in my define_checkout_success file; it instead displays "Thank you! We Appreciate your business!"). So, all seems well except neither my credit card nor PayPal personal account are debited, and my PayPal business account does not receive the funds. According to my PayPal log files there are no errors.
I just did another test today using my personal PayPal account with the same result. I've pasted the contents of the corresponding Paypal log files below. My product is a virtual product. I have "Product is Virtual" and "Always Free Shipping" checked in Zen Cart Admin. I'm hoping that someone can help me figure out what's going wrong.
Thanks!
1st LOG FILE
Jan-08-2011 03:14:38
ec_step1 - 1
Checking to see if we are in markflow
cart contents: virtual
NOTE: $this->showPaymentPage = 1
Customer ID: 2
Session Data: Array
(
[securityToken] => 251959c253517b171a320b36046dcdf0
[customers_host_address] => bas4-montreal45-1242356691.dsl.bell.ca
[cartID] =>
[cart] => shoppingCart Object
(
[contents] => Array
(
[180] => Array
(
[qty] => 1
)
)
[total] => 10
[weight] => 0
[cartID] =>
[content_type] => virtual
[free_shipping_item] => 1
[free_shipping_weight] => 0
[free_shipping_price] => 10
[observers] => Array
(
)
)
[navigation] => navigationHistory Object
(
[path] => Array
(
[0] => Array
(
[page] => index
[mode] => SSL
[get] => Array
(
[type] => ec
[markflow] => 1
[clearSess] => 1
[stage] => final
)
[post] => Array
(
)
)
)
[snapshot] => Array
(
)
[observers] => Array
(
)
)
[language] => english
[languages_id] => 1
[languages_code] => en
[check_valid] => true
[currency] => USD
[today_is] => 2011-01-08
[updateExpirations] => 1
[session_counter] => 1
[customers_ip_address] => 74.12.219.211
[ssu_languages_code] => Array
(
[en] => 1
)
[new_products_id_in_cart] => 180
[valid_to_checkout] => 1
[cart_errors] =>
[customer_id] => 2
[customer_default_address_id] => 2
[customers_authorization] => 0
[customer_first_name] => Andrelle
[customer_last_name] => Quammie
[customer_country_id] => 38
[customer_zone_id] => 76
[sendto] =>
[payment] => paypalwpp
[shipping] => free_free
[billto] => 2
[cot_gv] => 0
[comments] =>
)
=================================
Jan-08-2011 03:14:38
ec-step1-addr_check
cart contents is virtual and customer is logged in ... therefore options['NOSHIPPING']=1
=================================
Jan-08-2011 03:14:38
ec_step1 - 2 -submit
Array
(
[AMT] => 10.00
[RETURNURL] => https://www.moonstonetarot.com/~moon...er.php?type=ec
[CANCELURL] => https://www.moonstonetarot.com/~moon...ng/ec_cancel/1
[LOCALECODE] => US
[CURRENCY] => USD
[PAYMENTACTION] => Sale
[NOSHIPPING] => 1
[EMAIL] => [email protected]
[PHONENUM] => 514-636-9950
[SOLUTIONTYPE] => SOLE
)
=================================
2nd LOG FILE
Jan-08-2011 03:15:24
PayPal test Log - ec_step2 $_REQUEST data
In function: ec_step2()
Data in $_REQUEST =
Array
(
[type] => ec
[token] => EC-0HC1834028076842W
[PayerID] => J4TP6JLB8FA4Y
[zenid] => 48253f829ceb2f26613667b5c2a4ba1b
)
=================================
Jan-08-2011 03:15:24
ec_step2_finish - 1
START: paypal_ec_payer_info= Array
(
[payer_id] => J4TP6JLB8FA4Y
[payer_email] => [email protected]
[payer_salutation] =>
[payer_gender] =>
[payer_firstname] => Andrelle
[payer_lastname] => Quammie
[payer_business] =>
[payer_status] => verified
[ship_country_code] =>
[ship_address_status] =>
[ship_phone] =>
[ship_name] =>
[ship_street_1] =>
[ship_street_2] =>
[ship_city] =>
[ship_state] =>
[ship_postal_code] =>
[ship_country_name] =>
)
=================================
Jan-08-2011 03:15:24
ec_step2_finish - 2
country_id = 223
address_format_id = 2
state_id = 0 (original state tested: )
country1->fields['countries_id'] =
country2->fields['countries_id'] =
$order = stdClass Object
(
[customer] => Array
(
[name] => Andrelle Quammie
[company] =>
[street_address] =>
[suburb] =>
[city] =>
[postcode] =>
[state] =>
[country] => Array
(
[id] => 223
[title] =>
[iso_code_2] =>
[iso_code_3] =>
)
[format_id] => 2
[email_address] => [email protected]
[telephone] =>
[zone_id] => 0
)
[billing] => Array
(
[name] => Andrelle Quammie
[company] =>
[street_address] =>
[suburb] =>
[city] =>
[postcode] =>
[state] =>
[country] => Array
(
[id] => 223
[title] =>
[iso_code_2] =>
[iso_code_3] =>
)
[format_id] => 2
[zone_id] => 0
)
[delivery] => Array
(
[name] => Andrelle Quammie
[company] =>
[street_address] =>
[suburb] =>
[city] =>
[postcode] =>
[state] =>
[country] => Array
(
[id] => 223
[title] =>
[iso_code_2] =>
[iso_code_3] =>
)
[country_id] => 223
[format_id] => 2
[zone_id] => 0
)
)
=================================
Jan-08-2011 03:15:24
ec_step2_finish - 3
Exiting ec_step2_finish logged-in mode.
Selected address:
Original was: 2
=================================
Jan-08-2011 03:15:24
termEC-2
BEFORE: $this->showPaymentPage = 1
Token Data:EC-0HC1834028076842W
=================================
Jan-08-2011 03:15:24
termEC-3
AFTER: $this->showPaymentPage = 1
=================================
Jan-08-2011 03:15:24
termEC-4
We ARE logged in, and $this->showPaymentPage === true
=================================
Jan-08-2011 03:15:24
termEC-6
We DO have a shipping method selected, so goto PAYMENT
=================================
Jan-08-2011 03:15:24
termEC-10
Redirecting to checkout_payment - Stack: checkout_payment
Message:
Session Data: Array
(
[securityToken] => 251959c253517b171a320b36046dcdf0
[customers_host_address] => bas4-montreal45-1242356691.dsl.bell.ca
[cartID] =>
[cart] => shoppingCart Object
(
[contents] => Array
(
[180] => Array
(
[qty] => 1
)
)
[total] => 10
[weight] => 0
[cartID] =>
[content_type] => virtual
[free_shipping_item] => 1
[free_shipping_weight] => 0
[free_shipping_price] => 10
[observers] => Array
(
)
)
[navigation] => navigationHistory Object
(
[path] => Array
(
[0] => Array
(
[page] => index
[mode] => SSL
[get] => Array
(
[type] => ec
[token] => EC-0HC1834028076842W
[PayerID] => J4TP6JLB8FA4Y
)
[post] => Array
(
)
)
)
[snapshot] => Array
(
)
[observers] => Array
(
)
)
[language] => english
[languages_id] => 1
[languages_code] => en
[check_valid] => true
[currency] => USD
[today_is] => 2011-01-08
[updateExpirations] => 1
[session_counter] => 1
[customers_ip_address] => 74.12.219.211
[ssu_languages_code] => Array
(
[en] => 1
)
[new_products_id_in_cart] => 180
[valid_to_checkout] => 1
[cart_errors] =>
[customer_id] => 2
[customer_default_address_id] => 2
[customers_authorization] => 0
[customer_first_name] => Andrelle
[customer_last_name] => Quammie
[customer_country_id] => 38
[customer_zone_id] => 76
[sendto] =>
[payment] => paypalwpp
[billto] => 2
[cot_gv] => 0
[comments] =>
[paypal_ec_token] => EC-0HC1834028076842W
[paypal_ec_payer_id] => J4TP6JLB8FA4Y
[paypal_ec_payer_info] => Array
(
[payer_id] => J4TP6JLB8FA4Y
[payer_email] => [email protected]
[payer_salutation] =>
[payer_gender] =>
[payer_firstname] => Andrelle
[payer_lastname] => Quammie
[payer_business] =>
[payer_status] => verified
[ship_country_code] =>
[ship_address_status] =>
[ship_phone] =>
[ship_name] =>
[ship_street_1] =>
[ship_street_2] =>
[ship_city] =>
[ship_state] =>
[ship_postal_code] =>
[ship_country_name] =>
)
[paypal_ec_temp] =>
[shipping] => Array
(
[id] => freeshipper_freeshipper
[title] => FREE SHIPPING! (Free Shipping Only)
[cost] => 0
[module] => freeshipper
)
)
=================================
3rd LOG FILE
2011-01-08 03:15:24
-------------------
(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: 1.3.8a
)
Request Parameters: {GetExpressCheckoutDetails}
Array
(
[TOKEN] => EC-0HC1834028076842W
[REQBILLINGADDRESS] => 1
[METHOD] => GetExpressCheckoutDetails
[USER] => inosia_api1.hotmail.com
[PWD] => ****************
[VERSION] => 3.2
[SIGNATURE] => ****************************************************rFKa
)
Response:
Array
(
[TOKEN] => EC-0HC1834028076842W
[TIMESTAMP] => 2011-01-08T23:15:27Z
[CORRELATIONID] => 9e605b46f07e3
[ACK] => Success
[VERSION] => 3.2
[BUILD] => 1646991
[EMAIL] => [email protected]
[PAYERID] => J4TP6JLB8FA4Y
[PAYERSTATUS] => verified
[FIRSTNAME] => Andrelle
[LASTNAME] => Quammie
[COUNTRYCODE] => CA
[CURL_ERRORS] =>
)
GetExpressCheckoutDetails, Elapsed: 271ms -- Success
====================================
4th LOG FILE
2011-01-08 03:14:38
-------------------
(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: 1.3.8a
)
Request Parameters: {SetExpressCheckout}
Array
(
[LOCALECODE] => US
[PAYMENTACTION] => Sale
[NOSHIPPING] => 1
[EMAIL] => [email protected]
[PHONENUM] => 514-636-9950
[AMT] => 10.00
[RETURNURL] => https://www.moonstonetarot.com/~moonst5/ipn_main_handler.php?type=ec
[CANCELURL] => https://www.moonstonetarot.com/~moonst5/checkout_shipping/ec_cancel/1
[PAGESTYLE] => Primary
[METHOD] => SetExpressCheckout
[CURRENCYCODE] => USD
[USER] => inosia_api1.hotmail.com
[PWD] => ****************
[VERSION] => 3.2
[SIGNATURE] => ****************************************************rFKa
)
Response:
Array
(
[TOKEN] => EC-0HC1834028076842W
[TIMESTAMP] => 2011-01-08T23:14:40Z
[CORRELATIONID] => a5d616cba0240
[ACK] => Success
[VERSION] => 3.2
[BUILD] => 1646991
[CURL_ERRORS] =>
)
SetExpressCheckout, Elapsed: 357ms -- Success
Bookmarks