Replying to my own thread with more info that may be relevant. I still don't know if this is a TaxCloud issue, a PayPal Express Checkout issue, or a ZC issue in general. Still looking for guidance.
I see the cartID presents itself in different places depending on if you're checking out using the express checkout shortcut button or if you're doing a normal checkout. See bottom for examples.
TaxCloud looks for the cartID from the SESSION structure (on line 196 of includes/modules/TaxCloud/func.taxcloud.php) and doesn't find it, which probably is why the subsequent lookup() fails with the returned stack trace.
Code:
193 $params = array( "apiLoginID" => TAXCLOUD_API_ID,
194 "apiKey" => TAXCLOUD_API_KEY,
195 "customerID" => $_SESSION['customer_id'],
196 -----> "cartID" => $_SESSION['cartID'], <----
197 "cartItems" => $cartItems,
198 "origin" => $origin,
199 "destination" => $destination,
200 "deliveredBySeller" => false,
201 "exemptCert" => $exemptionCertificate
202 );
Am I on the right track? Thoughts?
Here is a session dump from a SUCCESSFUL checkout. Note the 2 cartID definitions:
Code:
Jul-07-2013 20:58:19 (1373255899)
termEC-10
Redirecting to checkout_process - Stack: header
Message:
Session Data: Array
(
[securityToken] => XXXX46744
[customers_host_address] => OFFICE_IP_TO_HOST_ADDRESS
[SESSION_IP_ADDRESS] => A.B.C.83
[cartID] => 37336
[cart] => shoppingCart Object
(
[contents] => Array
(
[3] => Array
(
[qty] => 1
)
)
[total] => 35
[weight] => 1
[cartID] => 37336
[content_type] => physical
[free_shipping_item] => 0
[free_shipping_weight] => 0
[free_shipping_price] => 0
)
Here is a session dump from a FAILED checkout. Note the 2 cartID definitions where the outer one is unset:
Code:
Jul-07-2013 20:21:55 (1373253715)
termEC-10
Redirecting to checkout_payment - Stack: checkout_payment
Message:
Session Data: Array
(
[securityToken] => XXXX4bfa0
[customers_host_address] => OFFICE_IP_TO_HOST_ADDRESS
[SESSION_IP_ADDRESS] => A.B.C.83
[cartID] =>
[cart] => shoppingCart Object
(
[contents] => Array
(
[3] => Array
(
[qty] => 1
)
)
[total] => 35
[weight] => 1
[content_type] => physical
[free_shipping_item] => 0
[free_shipping_weight] => 0
[free_shipping_price] => 0
[cartID] => 87172
)
Bookmarks