2 Attachment(s)
Express checkout button not send cart detail in Paypal
Hi ,
I have upgrade my site zen-cart 1.3 to 1.5 version. and I have used express checkout in my site.
Express checkout button , which is send cart detail to Paypal without user Login.
Now , I have getting problem with express checkout button which is not send cart order detail to the Paypal payment screen.
Here is the screen shot of my site express checkout button screen.
Attachment 14922
After click on checkout button it will redirect to Paypal screen as below , but not take cart item information with Paypal It is display blank in Paypal screen as below.
Attachment 14923
Problem occurred while customer was attempting checkout with PayPal Express Checkout button only.
Any one have solution for this issue..?
Thanks,
Tejas
Re: Express checkout button not send cart detail in Paypal
Quote:
Originally Posted by
dixittejas
After click on checkout button it will redirect to Paypal screen as below , but not take cart item information with Paypal It is display blank in Paypal screen as below.
<snip>
Problem occurred while customer was attempting checkout with PayPal Express Checkout button only.
Any one have solution for this issue..?
I don't recall seeing other reports of this problem (with PP express. IPN is another story), and you haven't really given us enough information to even take much of a guess.
For example, the comment "Problem occurred while customer was attempting checkout" is *suggesting* to me that this may well be a a single isolated case rather than a problem for all customers. However, I also have a gut feeling that it is happening with all customers that try to check out in this manner.
It would help if you didn't make us guess. :)
However, since any guess is possibly better than no guess at all, my next question to you is exactly how did you do the upgrade? Is it possible that the upgrade wasn't 'complete' and the current site is still using the older 1.3 PayPal modules?
Have you tried enabling the PayPal 'debug' options and inspecting the log files for any clues, oddities or errors?
In fact have you looked at or tried *anything* at all to help debug the problem?
As a general guide, it is usually safe to assume that on a stock/unmodified system it all works as advertised, so the implication is that the problem, whatever the cause, has to be *unique* to your installation, and that is where it gets difficult for us to offer much help because we really don't have any way of knowing exactly what it is that is making your installation different. You are the only person in a position to make this determination.
I/we appreciate the fact that you are probably asking for help in the hopes that there is a quick fix that someone could provide (and this may indeed still be the case if another users happens to have had the same experience and solved it), but without this, the cause could be almost anywhere.
Sorry I can't offer any other help.
Cheers
RodG
Re: Express checkout button not send cart detail in Paypal
Before the upgrade did you.
Record all existing settings in your payment modules?
Uninstall the modules?
Do the upgrade
Reinstall the modules and re-enter the saved settings?
Re: Express checkout button not send cart detail in Paypal
Turn on paypal logging: http://www.zen-cart.com/showthread.p...Logging-PayPal
Then attempt a payment. Be sure it doesn't pass the data.
Then look in the /logs/ folder for the PayPal-xxxxxxx.log files related to that transaction (there could be up to 6 of them, all with the same timestamp).
Post their contents here.
I suspect they'll tell you that line-item details couldn't be sent for some reason. That reason will explain.
1 Attachment(s)
Re: Express checkout button not send cart detail in Paypal
Hi ,
Thanks for reply to all.
@ RodG :
This is the problem is a common for all customer not for single customer.
I have upgrade my zencart using follow the below steps :
usm ansh ahz ada.com/blog/how-to-upgrade-zen-cart-1-3-9-to-zen-cart-1-5/
Yes , I have check log file , there is not any error in that , whole Request Headers, Request Parameters and Response array are printed with Approved status. check below log file screenshot.
Attachment 14927
Also , I have upgrade and test with sandbox mode from setting changes in admin , then it will not allow to test me with sandbox also.
So , I have tested it with live Paypal Detail.
After upgrade Paypal files with 1.5.3 getting error of as below :
Quote:
Error We are sorry for the inconvenience; however, at the present time we are unable to use PayPal to process orders from the geographic region you selected as your PayPal address. Please continue using normal checkout and select from the available payment methods to complete your order.
SO , I have set back my Paypal Old files in to zen-cart 1.5.3 from Paypal files of 1.3.9 then above problem is solve and payment done , but still Express checkout button problem is their. As I define in my first post of this thread.
Thanks,
Re: Express checkout button not send cart detail in Paypal
Hi ,
Thanks for reply to all.
@ RodG :
This is the problem is a common for all customer not for single customer.
I have upgrade my zencart using follow the below steps :
usm ansh ahz ada.com/blog/how-to-upgrade-zen-cart-1-3-9-to-zen-cart-1-5/
Yes , I have check log file , there is not any error in that , whole Request Headers, Request Parameters and Response array are printed with Approved status. check below log file screenshot.
Attachment 14927
Also , I have upgrade and test with sandbox mode from setting changes in admin , then it will not allow to test me with sandbox also.
So , I have tested it with live Paypal Detail.
After upgrade Paypal files with 1.5.3 getting error of as below :
Quote:
Error We are sorry for the inconvenience; however, at the present time we are unable to use PayPal to process orders from the geographic region you selected as your PayPal address. Please continue using normal checkout and select from the available payment methods to complete your order.
SO , I have set back my Paypal Old files in to zen-cart 1.5.3 from Paypal files of 1.3.9 then above problem is solve and payment done , but still Express checkout button problem is their. As I define in my first post of this thread.
Thanks,
Re: Express checkout button not send cart detail in Paypal
Have you stepped through and completed the purchase? The total will be displayed in the ZenCart step 4 of checkout as the message in the PayPal screen indicates.... after selecting shipping method, payment method (nothing to select, since PayPal was previously selected), etc.
The left side PP message that you will see the total before payment is finalized is accurate.
A PP message also appears at the bottom of the rightside panel stating that the order process will be finalized on the "YourStoreName" website. That is after selecting your PP account or PayWithCreditCard.
Having said that, our typical customer will not read any of the text and just assume there is a problem without continuing.
In the case where I can reproduce that screen, YES, 4 PP debug logs are generated at the instance where that particular PayPal screen appears. The logs seem to be related to the math and PayPal having designed their own mathematics rules. Dumbing it down for them.
The PP screen presented seems to be dependent upon the monetary value of the particular items in the cart (in my case).
Re: Express checkout button not send cart detail in Paypal
MY DEBUG FILES
PAYPAL_CURL
2015-01-31 10:44:43
-------------------
(live transaction) --> https://api-3t.paypal.com/nvp
Request Headers:
Array
(
[0] => Content-Type: text/namevalue
[1] => X-VPS-Timeout: 90
[2] => X-VPS-VIT-Client-Type: PHP/cURL
[3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart(R) - PayPal/NVP
[4] => X-VPS-VIT-Integration-Version: 1.5.4
)
Request Parameters: {SetExpressCheckout}
Array
(
[CURRENCYCODE] => USD
[LOCALECODE] => US
[GIFTMESSAGEENABLE] => 0
[GIFTRECEIPTEENABLE] => 0
[GIFTWRAPENABLE] => 0
[GIFTWRAPNAME] =>
[GIFTWRAPAMOUNT] => 0
[BUYEREMAILOPTINENABLE] => 0
[CUSTOMERSERVICENUMBER] => (513) 330-8532
[BRANDNAME] => joeparts.com
[PAYMENTACTION] => Sale
[ALLOWNOTE] => 1
[LANDINGPAGE] => Billing
[NOSHIPPING] => 0
[EMAIL] => [email protected]
[SHIPTOPHONENUM] => 5134700119
[AMT] => 5.25
[RETURNURL] => https://www.joeparts.com/ipn_main_handler.php?type=ec
[CANCELURL] => https://www.joeparts.com/index.php?main_page=checkout_shipping&ec_cancel=1
[PAGESTYLE] => Primary
[METHOD] => SetExpressCheckout
[USER] => bkossin_api1.charter.net
[PWD] => ****************
[VERSION] => 61.0
[SIGNATURE] => ****************************************************-2JX
)
Response:
Array
(
[TOKEN] => EC-7MH13477NR240124L
[TIMESTAMP] => 2015-01-31T15:44:43Z
[CORRELATIONID] => 88318d8b86152
[ACK] => Success
[VERSION] => 61.0
[BUILD] => 15110743
[CURL_ERRORS] =>
)
SetExpressCheckout, Elapsed: 551ms -- Success
PAYPAL _WPP
Jan-31-2015 10:44:42 (1422719082)
getLineItemDetails 5
Line-item subtotals do not add up properly. Line-item-details skipped.
5.25 5.25 Array
(
[AMT] => 5.25
[ITEMAMT] => 5
[TAXAMT] => 0
[SHIPPINGAMT] => 0
[SHIPDISCAMT] => 0
[HANDLINGAMT] => 0
[INSURANCEAMT] => 0
[L_NUMBER0] => oring1
[L_NAME0] => O-Ring Replacement Part High Quality Rubber x 1 [3990]
[L_QTY0] => 1
[L_AMT0] => 0.25
[L_NAME1] => Handling charges and other applicable fees
[L_AMT1] => 5
[L_QTY1] => 1
)
=================================
Jan-31-2015 10:44:42 (1422719082)
getLineItemDetails 7 - subtotal comparisons
BEFORE line-item calcs: Array
(
[AMT] => 5.25
[ITEMAMT] => 5
[TAXAMT] => 0
[SHIPPINGAMT] => 0
[SHIPDISCAMT] => 0
[HANDLINGAMT] => 0
[INSURANCEAMT] => 0
)
AFTER doing line-item calcs: Array
(
[AMT] => 5.25
[ITEMAMT] => 5
[TAXAMT] => 0
[SHIPPINGAMT] => 0
[SHIPDISCAMT] => 0
[HANDLINGAMT] => 0
[INSURANCEAMT] => 0
[L_NAME0] => All the items in your shopping basket (see details in the store and on your store receipt).
[L_AMT0] => 5
)
=================================
Jan-31-2015 10:44:42 (1422719082)
getLineItemDetails 8
checking subtotals...
Array
(
[calculated total] => 5.00
[AMT] => 5.25
[ITEMAMT] => 5.00
)
-------------------
difference: 0.25 (abs+rounded: -0.25)
=================================
Jan-31-2015 10:44:42 (1422719082)
getLineItemDetails 9
Subtotals Bad. Skipping line-item/subtotal details
=================================
=================================
IPN_*.LOG
Jan 31 2015 10:24 -- CURL OPTS: Array
(
[10002] => https://www.paypal.com/cgi-bin/webscr
[47] => 1
[13] => 45
[78] => 30
[41] => 0
[42] => 0
[52] => 0
[19913] => 1
[75] => 1
[74] => 1
[84] => 2
[10018] => Zen Cart(R) - IPN Postback
)
Jan 31 2015 10:24 -- CURL response: VERIFIED
Jan 31 2015 10:24 -- IPN INFO (cl) - Confirmation/Validation response VERIFIED
Jan 31 2015 10:24 -- Breakpoint: 1 - Collected data from PayPal notification
Jan 31 2015 10:24 -- Breakpoint: 2 - Validated transaction components
Jan 31 2015 10:24 -- Breakpoint: 3 - Communication method verified
Jan 31 2015 10:24 -- IPN NOTICE :: This transaction HAS a parent record. Thus this is an update of some sort.
Jan 31 2015 10:24 -- Breakpoint: 4 - Details: txn_type=parent ordersID = 4142 IPN_id=3556
Relevant data from POST:
txn_type = parent
parent_txn_id = 45M47889GA105215C
txn_id = 4HY385931Y622024W
Jan 31 2015 10:24 -- Breakpoint: 5 - Transaction type (txn_type) = parent [parentLookup=parent]
Jan 31 2015 10:24 -- IPN NOTICE :: Storing order/update details for order #4142 txn_id: 4HY385931Y622024W PP IPN ID: 3556
Jan 31 2015 10:24 -- IPN NOTICE :: Added PP status-history record for order #4142 txn_id: 4HY385931Y622024W (updated/child) PP IPN ID: 3557
Jan 31 2015 10:24 -- IPN NOTICE :: Set new status 1 for order ID = 4142
Jan 31 2015 10:24 -- IPN NOTICE :: Updating order #4142 to status: 1 (txn_type: parent)
Jan 31 2015 10:24 -- IPN NOTICE :: Update complete.
==============================================
KINDLY HELP ME TO SORT OUT THE PROBLEM OR I DOWNGRADE TO 1.5.3 .THANKS IN ADVANCE.
1 Attachment(s)
Re: Express checkout button not send cart detail in Paypal
Hi ,
According to the above discussion , That is not an issue. So , If I have login in that Paypal screen and Payment with that then It will working fine. ?? !!!
From this Paypal Screen I will Login and Payment :
Attachment 14947
OK , I will try again with that and update here.
Thanks,
Re: Express checkout button not send cart detail in Paypal
Quote:
Originally Posted by
diptimoy
Jan-31-2015 10:44:42 (1422719082)
getLineItemDetails 7 - subtotal comparisons
BEFORE line-item calcs: Array
(
[AMT] => 5.25
[ITEMAMT] => 5
[TAXAMT] => 0
[SHIPPINGAMT] => 0
[SHIPDISCAMT] => 0
[HANDLINGAMT] => 0
[INSURANCEAMT] => 0
)
AFTER doing line-item calcs: Array
(
[AMT] => 5.25
[ITEMAMT] => 5
[TAXAMT] => 0
[SHIPPINGAMT] => 0
[SHIPDISCAMT] => 0
[HANDLINGAMT] => 0
[INSURANCEAMT] => 0
[L_NAME0] => All the items in your shopping basket (see details in the store and on your store receipt).
[L_AMT0] => 5
)
=================================
Jan-31-2015 10:44:42 (1422719082)
getLineItemDetails 8
checking subtotals...
Array
(
[calculated total] => 5.00
[AMT] => 5.25
[ITEMAMT] => 5.00
)
-------------------
difference: 0.25 (abs+rounded: -0.25)
=================================
Jan-31-2015 10:44:42 (1422719082)
getLineItemDetails 9
Subtotals Bad. Skipping line-item/subtotal details
=================================
It's having difficulty calculating totals properly.
I wonder if it's a problem with the low-order-fee surcharge?