Code:
Jan-21-2008 11:40:36
getLineItemDetails 1
Order Subtotal does not match sum of line-item prices. Line-item-details skipped.
0.06 0.05
=================================
Jan-21-2008 11:40:36
getLineItemDetails 3
LineItemDetails:
Details:Array
(
[ITEMAMT] => 0.06
[HANDLINGAMT] => -0.01
[SHIPPINGAMT] => 0.1
[TAXAMT] => 0.01
[AMT] => 0.16
)
DEFAULT_CURRENCY = EUR
SESSION['currency'] = EUR
order->info['currency'] = EUR
$currencies->currencies[$_SESSION['currency']]['value'] = 1.00000000
currencies Object
(
[currencies] => Array
(
[USD] => Array
(
[title] => US Dollar
[symbol_left] => $
[symbol_right] =>
[decimal_point] => .
[thousands_point] => ,
[decimal_places] => 2
[value] => 1.00000000
)
[EUR] => Array
(
[title] => Euro
[symbol_left] => €
[symbol_right] =>
[decimal_point] => .
[thousands_point] => ,
[decimal_places] => 2
[value] => 1.00000000
)
[GBP] => Array
(
[title] => GB Pound
[symbol_left] => £
[symbol_right] =>
[decimal_point] => .
[thousands_point] => ,
[decimal_places] => 2
[value] => 0.50300002
)
[CAD] => Array
(
[title] => Canadian Dollar
[symbol_left] => $
[symbol_right] =>
[decimal_point] => .
[thousands_point] => ,
[decimal_places] => 2
[value] => 1.10590005
)
[AUD] => Array
(
[title] => Australian Dollar
[symbol_left] => $
[symbol_right] =>
[decimal_point] => .
[thousands_point] => ,
[decimal_places] => 2
[value] => 1.24070001
)
)
[observers] => Array
(
)
)
=================================
Jan-21-2008 11:40:36
getLineItemDetails 7
checking subtotals...
itemamt: 0.06
taxamt: 0.01
shippingamt: 0.10
handlingamt: 0.01
-------------------
subtotal: 0.16
AMT: 0.16
-------------------
difference: 0 (abs+rounded: 0)
=================================
Jan-21-2008 11:40:36
getLineItemDetails 8
subtotals balance - okay
=================================
Jan-21-2008 11:40:36
before_process - EC-1
Beginning EC mode
=================================
Jan-21-2008 11:40:36
before_process - EC-2
address overrides added:
Array
(
[ITEMAMT] => 0.06
[HANDLINGAMT] => 0.01
[SHIPPINGAMT] => 0.10
[TAXAMT] => 0.01
[AMT] => 0.16
[SHIPTONAME] => Jurjen Ruben
[SHIPTOSTREET] => jacox xxx 8
[SHIPTOSTREET2] =>
[SHIPTOCITY] => Nijmegen
[SHIPTOSTATE] => Nijmegen
[SHIPTOZIP] => 6521 HP
[SHIPTOCOUNTRYCODE] => NL
)
=================================
Jan-21-2008 11:40:36
before_process - EC-3
address info added:
Array
(
[ITEMAMT] => 0.06
[HANDLINGAMT] => 0.01
[SHIPPINGAMT] => 0.10
[TAXAMT] => 0.01
[AMT] => 0.16
[SHIPTONAME] => Jurjen Ruben
[SHIPTOSTREET] => jacox xxx 8
[SHIPTOSTREET2] =>
[SHIPTOCITY] => Nijmegen
[SHIPTOSTATE] => Nijmegen
[SHIPTOZIP] => 65xx xx
[SHIPTOCOUNTRYCODE] => NL
)
=================================
Jan-21-2008 11:40:36
getOverrideAddress - 1
Now in markflow mode.
SESSION[sendto] = 2
=================================
Jan-21-2008 11:40:36
getOverrideAddress - 2
$address_arr->fields = Array
(
[entry_firstname] => Jurjen
[entry_lastname] => Ruben
[entry_street_address] => jacox xxx 8
[entry_suburb] =>
[entry_city] => Nijmegen
[entry_postcode] => 65xx xx
[entry_country_id] => 150
[entry_zone_id] => 0
[entry_state] => Gelderland
[zone_code] => Gelderland
[countries_iso_code_2] => NL
)
=================================
Jan-21-2008 11:40:36
before_process - EC-4
info being submitted:
EC-99N08730M20920136 REWZX55B4ETX8 0.16
Array
(
[ITEMAMT] => 0.06
[HANDLINGAMT] => 0.01
[SHIPPINGAMT] => 0.10
[TAXAMT] => 0.01
[AMT] => 0.16
[SHIPTONAME] => Jurjen Ruben
[SHIPTOSTREET] => jacox xxx 8
[SHIPTOCITY] => Nijmegen
[SHIPTOSTATE] => Gelderland
[SHIPTOZIP] => 65xx xx
[SHIPTOCOUNTRYCODE] => NL
[ADDROVERRIDE] => 1
[BUTTONSOURCE] => ZenCart-EC_us
[CURRENCY] => EUR
)
=================================
Jan-21-2008 11:40:37
before_process - EC-5
resultset:
Array
(
[TIMESTAMP] => 2008-01-21T22:40:44Z
[CORRELATIONID] => 13c9e58db669b
[ACK] => Failure
[L_ERRORCODE0] => 10413
[L_SHORTMESSAGE0] => Transaction refused because of an invalid argument. See additional error messages for details.
[L_LONGMESSAGE0] => The totals of the cart item amounts do not match order amounts.
[L_SEVERITYCODE0] => Error
[VERSION] => 3.200000
[BUILD] => 1.0006
[CURL_ERRORS] =>
)
=================================
Code:
Jan-21-2008 11:40:23
PayPal test Log - ec_step2 $_REQUEST data
In function: ec_step2()
Data in $_REQUEST =
Array
(
[type] => ec
[token] => EC-99N08730M20920136
[PayerID] => REWZX55B4ETX8
[zenid] => b011b5e58d89fb4ed82ed99f62f28c91
)
=================================
Jan-21-2008 11:40:25
ec_step2_finish - 1
START: paypal_ec_payer_info= Array
(
[payer_id] => REWZX55B4ETX8
[payer_email] => jurjenruben##########################
[payer_salutation] =>
[payer_gender] =>
[payer_firstname] => Jurjen
[payer_lastname] => Ruben
[payer_business] =>
[payer_status] => verified
[ship_country_code] => NL
[ship_address_status] => Unconfirmed
[ship_phone] =>
[ship_name] => Jurjen Ruben
[ship_street_1] => jacox xxx 8
[ship_street_2] =>
[ship_city] => Nijmegen
[ship_state] => Nijmegen
[ship_postal_code] => 65xx xx
[ship_country_name] => Netherlands
)
=================================
Jan-21-2008 11:40:25
ec_step2_finish - 2
country_id = 150 Netherlands NL
address_format_id = 1
state_id = 0 (original state tested: Nijmegen)
country1->fields['countries_id'] = 150
country2->fields['countries_id'] = 150
$order = stdClass Object
(
[customer] => Array
(
[name] => Jurjen Ruben
[company] =>
[street_address] => jacox xxx 8
[suburb] =>
[city] => Nijmegen
[postcode] => 65xx xx
[state] => Nijmegen
[country] => Array
(
[id] => 150
[title] => Netherlands
[iso_code_2] => NL
[iso_code_3] => NLD
)
[format_id] => 1
[email_address] => [email protected]
[telephone] =>
[zone_id] => 0
)
[billing] => Array
(
[name] => Jurjen Ruben
[company] =>
[street_address] => jacox xxx 8
[suburb] =>
[city] => Nijmegen
[postcode] => 65xx xx
[state] => Nijmegen
[country] => Array
(
[id] => 150
[title] => Netherlands
[iso_code_2] => NL
[iso_code_3] => NLD
)
[format_id] => 1
[zone_id] => 0
)
[delivery] => Array
(
[name] => Jurjen Ruben
[company] =>
[street_address] => jacox xxx 8
[suburb] =>
[city] => Nijmegen
[postcode] => 65xx xx
[state] => Nijmegen
[country] => Array
(
[id] => 150
[title] => Netherlands
[iso_code_2] => NL
[iso_code_3] => NLD
)
[country_id] => 150
[format_id] => 1
[zone_id] => 0
)
)
=================================
Jan-21-2008 11:40:25
ec_step2_finish - 4
Not logged in. Looking for account.
SELECT customers_id, customers_firstname, customers_lastname, customers_paypal_payerid, customers_paypal_ec
FROM customers
WHERE customers_email_address = '[email protected]'
queryFactoryResult Object
(
[is_cached] =>
[resource] => Resource id #154
[cursor] => 0
[EOF] =>
[fields] => Array
(
[customers_id] => 2
[customers_firstname] => Jurjen
[customers_lastname] => Ruben
[customers_paypal_payerid] =>
[customers_paypal_ec] => 0
)
)
=================================
Jan-21-2008 11:40:25
ec_step2_finish - 7
Auto-Logged customer in. ([email protected]) (2)
$_SESSION[paypal_ec_temp]=
=================================
Jan-21-2008 11:40:25
findMatchingAddressBookEntry - 1-stats
country:queryFactoryResult Object
(
[is_cached] =>
[resource] => Resource id #162
[cursor] => 0
[EOF] =>
[fields] => Array
(
[countries_id] => 150
[address_format_id] => 1
)
)
country_zone_check:queryFactoryResult Object
(
[is_cached] =>
[resource] => Resource id #163
[cursor] => 0
[EOF] => 1
)
zone_check:check_zone: 0
zone:
=================================
Jan-21-2008 11:40:25
findMatchingAddressBookEntry - 2-read for match
SQL was:SELECT address_book_id, entry_street_address, entry_suburb
FROM address_book
WHERE customers_id = 2
AND entry_country_id = 150
RecordCount = 1
=================================
Jan-21-2008 11:40:25
findMatchingAddressBookEntry - 3a
From PayPal:
jacoxxxx8
From DB:
jacobcanisstraat8
queryFactoryResult Object
(
[is_cached] =>
[resource] => Resource id #165
[cursor] => 0
[EOF] =>
[fields] => Array
(
[address_book_id] => 2
[entry_street_address] => Jacox xxx 8
[entry_suburb] =>
)
)
=================================
Jan-21-2008 11:40:25
findMatchingAddressBookEntry - 3b
Exact match:
Array
(
[address_book_id] => 2
[entry_street_address] => Jacox xxx 8
[entry_suburb] =>
)
=================================
Jan-21-2008 11:40:25
ec_step2_finish - 8
Exiting via terminateEC (from originally-not-logged-in mode).
Selected address: 2
Original was:
prepared data: Array
(
[name] => Jurjen Ruben
[company] =>
[street_address] => Jacox xxx 8
[suburb] =>
[city] => Nijmegen
[postcode] => 65xx xx
[state] => Nijmegen
[country] => Array
(
[id] => 150
[title] => Netherlands
[iso_code_2] => NL
[iso_code_3] => NLD
)
[country_id] => 150
[format_id] => 1
[zone_id] => 0
)
=================================
Jan-21-2008 11:40:25
termEC-2
BEFORE: $this->showPaymentPage = 1
Token Data:EC-99N08730M20920136
=================================
Jan-21-2008 11:40:25
termEC-3
AFTER: $this->showPaymentPage = 1
=================================
Jan-21-2008 11:40:25
termEC-4
We ARE logged in, and $this->showPaymentPage === true
=================================
Jan-21-2008 11:40:25
termEC-6
We DO have a shipping method selected, so goto PAYMENT
=================================
Jan-21-2008 11:40:25
termEC-10
Redirecting to checkout_payment - Stack: checkout_payment
Message:
Session Data: Array
(
[securityToken] => f6c604fa0b21d80a649461a028061029
[customers_host_address] => xxxxxxx-a.mill1.nb.home.nl
[cartID] =>
[cart] => shoppingCart Object
(
[contents] => Array
(
[198] => Array
(
[qty] => 1
)
)
[total] => 0.06
[weight] => 0
[content_type] =>
[free_shipping_item] => 0
[free_shipping_weight] => 0
[free_shipping_price] => 0
[observers] => Array
(
)
)
[navigation] => navigationHistory Object
(
[path] => Array
(
[0] => Array
(
[page] => index
[mode] => NONSSL
[get] => Array
(
[type] => ec
[token] => EC-99N08730M20920136
[PayerID] => REWZX55B4ETX8
)
[post] => Array
(
)
)
)
[snapshot] => Array
(
[page] => checkout_shipping
[mode] => NONSSL
[get] => Array
(
)
[post] => Array
(
)
)
[observers] => Array
(
)
)
[check_valid] => true
[language] => dutch
[languages_id] => 2
[languages_code] => nl
[currency] => EUR
[today_is] => 2008-01-21
[updateExpirations] => 1
[session_counter] => 1
[customers_ip_address] => xx.xx.xx.xx
[new_products_id_in_cart] => 198
[valid_to_checkout] => 1
[cart_errors] =>
[payment] => paypalwpp
[cot_gv] => 0
[paypal_ec_token] => EC-99N08730M20920136
[paypal_ec_payer_id] => REWZX55B4ETX8
[paypal_ec_payer_info] => Array
(
[payer_id] => REWZX55B4ETX8
[payer_email] => [email protected]
[payer_salutation] =>
[payer_gender] =>
[payer_firstname] => Jurjen
[payer_lastname] => Ruben
[payer_business] =>
[payer_status] => verified
[ship_country_code] => NL
[ship_address_status] => Unconfirmed
[ship_phone] =>
[ship_name] => Jurjen Ruben
[ship_street_1] => jacox xxx 8
[ship_street_2] =>
[ship_city] => Nijmegen
[ship_state] => Nijmegen
[ship_postal_code] => 652xx xx
[ship_country_name] => Netherlands
)
[paypal_ec_temp] =>
[customer_id] => 2
[customer_default_address_id] => 2
[customer_first_name] => Jurjen
[customer_country_id] => 150
[customer_zone_id] => 0
[sendto] => 2
[billto] => 2
[shipping] => Array
(
[id] => flat_flat
[title] => Verzendkosten (Verzendkosten)
[cost] => 0.1
[module] => flat
)
)
=================================
Code:
2008-01-21 11:39:51
-------------------
(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
(
[PAYMENTACTION] => Sale
[AMT] => 0.05
[RETURNURL] => http://www.charrou.com/store/ipn_main_handler.php?type=ec
[CANCELURL] => http://www.charrou.com/store/index.php?main_page=login&ec_cancel=1
[PAGESTYLE] => Charrou
[METHOD] => SetExpressCheckout
[CURRENCYCODE] => EUR
[USER] => xxx.xxx.com
[PWD] => ****************
[VERSION] => 3.2
[SIGNATURE] => ****************************************************l8Q8
)
Response:
Array
(
[TIMESTAMP] => 2008-01-21T22:39:59Z
[CORRELATIONID] => 5e3813aaedf09
[ACK] => Success
[VERSION] => 3.200000
[BUILD] => 1.0006
[TOKEN] => EC-99N08730M20920136
[CURL_ERRORS] =>
)
SetExpressCheckout, Elapsed: 1673ms -- Success
2008-01-21 11:40:37
-------------------
(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: {DoExpressCheckoutPayment}
Array
(
[ITEMAMT] => 0.06
[HANDLINGAMT] => 0.01 [should this be -0.01??]
[SHIPPINGAMT] => 0.10
[TAXAMT] => 0.01
[AMT] => 0.16
[SHIPTONAME] => Jurjen Ruben
[SHIPTOSTREET] => Jacox xxx 8
[SHIPTOCITY] => Nijmegen
[SHIPTOSTATE] => Gelderland
[SHIPTOZIP] => 65xx xx
[SHIPTOCOUNTRYCODE] => NL
[ADDROVERRIDE] => 1
[BUTTONSOURCE] => ZenCart-EC_us
[TOKEN] => EC-99N08730M20920136
[PAYERID] => REWZX55B4ETX8
[PAYMENTACTION] => Sale
[NOTIFYURL] => http://www.charrou.com/store/ipn_main_handler.php
[METHOD] => DoExpressCheckoutPayment
[CURRENCYCODE] => EUR
[USER] => xxx.xxx.com
[PWD] => ****************
[VERSION] => 3.2
[SIGNATURE] => ****************************************************l8Q8
)
Response:
Array
(
[TIMESTAMP] => 2008-01-21T22:40:44Z
[CORRELATIONID] => 13c9e58db669b
[ACK] => Failure
[L_ERRORCODE0] => 10413
[L_SHORTMESSAGE0] => Transaction refused because of an invalid argument. See additional error messages for details.
[L_LONGMESSAGE0] => The totals of the cart item amounts do not match order amounts.
[L_SEVERITYCODE0] => Error
[VERSION] => 3.200000
[BUILD] => 1.0006
[CURL_ERRORS] =>
)
DoExpressCheckoutPayment, Elapsed: 1258ms -- Failure
TIMESTAMP=2008%2d01%2d21T22%3a40%3a44Z&CORRELATIONID=13c9e58db669b&ACK=Failure&L _ERRORCODE0=10413&L_SHORTMESSAGE0=Transaction%20refused%20because%20of%20an%20in valid%20argument%2e%20%20See%20additional%20error%20messages%20for%20details%2e& L_LONGMESSAGE0=The%20totals%20of%20the%20cart%20item%20amounts%20do%20not%20matc h%20order%20amounts%2e&L_SEVERITYCODE0=Error&VERSION=3%2e200000&BUILD=1%2e0006&C URL_ERRORS=
[/CODE]
Code:
2008-01-21 11:40:25
-------------------
(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-99N08730M20920136
[REQBILLINGADDRESS] => 1
[METHOD] => GetExpressCheckoutDetails
[USER] => xxxx.xxxx.com
[PWD] => ****************
[VERSION] => 3.2
[SIGNATURE] => ****************************************************l8Q8
)
Response:
Array
(
[TIMESTAMP] => 2008-01-21T22:40:32Z
[CORRELATIONID] => 55b0f3af35b39
[ACK] => Success
[VERSION] => 3.200000
[BUILD] => 1.0006
[TOKEN] => EC-99N08730M20920136
[EMAIL] => [email protected]
[PAYERID] => REWZX55B4ETX8
[PAYERSTATUS] => verified
[FIRSTNAME] => Jurjen
[LASTNAME] => Ruben
[COUNTRYCODE] => NL
[SHIPTONAME] => Jurjen Ruben
[SHIPTOSTREET] => jacox xxx 8
[SHIPTOCITY] => Nijmegen
[SHIPTOCOUNTRYCODE] => NL
[SHIPTOCOUNTRYNAME] => Netherlands
[SHIPTOZIP] => 65xx xx
[ADDRESSID] => PayPal
[ADDRESSSTATUS] => Unconfirmed
[CURL_ERRORS] =>
)
GetExpressCheckoutDetails, Elapsed: 1323ms -- Success
Bookmarks