Zen Cart Logo
Forums / PayPal Express Checkout support / PayPal Express Checkout: Admin sees order but Paypal does not

PayPal Express Checkout: Admin sees order but Paypal does not

Locked

Views: 6,827

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
26 Aug 2008, 3:34 PM
#1
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

PayPal Express Checkout: Admin sees order but Paypal does not

Maybe I'm unable to see the forest for the trees... I can go through the checkout process using PayPal Express Checkout and I receive email notification of my order from my site but PayPal does not recognize any of the activity.

I'm running Zen Cart 1.3.8a.

I have dubug on and am receiving loads of emails, all of which are Greek to me (Italian I can handle... But Greek is Greek!) I'm not sure what debug messages to post, mostly because I'm concerned about posting sensitive info. Here's a sanitized PayPal Debug Log:

2008-08-26 10:08:27

(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] => ++++++++++++++++
[REQBILLINGADDRESS] => 1
[METHOD] => GetExpressCheckoutDetails
[USER] => ++++++
[PWD] => ****************
[VERSION] => 3.2
[SIGNATURE] => ****************************************************Qgg4
)

Response:
Array
(
[TOKEN] => +++++++++
[TIMESTAMP] => 2008-08-26T14:08:28Z
[CORRELATIONID] => ++++++
[ACK] => Success
[VERSION] => 3.2
[BUILD] => 671339
[EMAIL] => [email protected]
[PAYERID] => +++++++++++
[PAYERSTATUS] => unverified
[FIRSTNAME] => nome
[LASTNAME] => cognome
[RESIDENCECOUNTRY] => IT
[SHIPTONAME] => nome
[SHIPTOSTREET] => Borgo san Jacopo
[SHIPTOCITY] => Firenze
[SHIPTOSTATE] => Firenze
[SHIPTOZIP] => 50125
[SHIPTOCOUNTRYCODE] => IT
[SHIPTOCOUNTRYNAME] => Italy
[COUNTRYCODE] => IT
[ADDRESSSTATUS] => Unconfirmed
[CURL_ERRORS] =>

Thanks for any help!!

27 Aug 2008, 1:12 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: PayPal Express Checkout: Admin sees order but Paypal does not

  1. In your Admin, under Customers->Orders, the 2nd column shows the payment module name and the shipping module name ... what module is showing for the order that you didn't see data in PayPal?

  2. You posted a log for "GetExpressCheckoutDetails". What's in your "DoExpressCheckout" log?

27 Aug 2008, 6:06 AM
#3
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: PayPal Express Checkout: Admin sees order but Paypal does not

DrByte:

  1. In your Admin, under Customers->Orders, the 2nd column shows the payment module name and the shipping module name ... what module is showing for the order that you didn't see data in PayPal?

  2. You posted a log for "GetExpressCheckoutDetails". What's in your "DoExpressCheckout" log?

Thanks for taking the time to help...

Customers>Orders>Payment Shipping reads:

cc
zones
Hmmm... Should that not mention PayPal?

Concerning the DoExpressCheckout log: I went through the error emails I received and through the logs at includes/modules/payment/paypal/logs/ but do not see one by that name :huh: Here is the SetExpressCheckout log (although not necessarily from the same order. I've had one actual order that was not recognized by PayPal and now numerous Live test orders):

Request Parameters: {SetExpressCheckout}
Array
(
[LOCALECODE] => IT
[PAYMENTACTION] => Sale
[AMT] => 21.55
[RETURNURL] =>
http://www.italianglassconnection.com/ipn_main_handler.php?type=ec
[CANCELURL] =>
http://www.italianglassconnection.com/index.php?main_page=login&ec_cancel=1
[PAGESTYLE] => Primary
[METHOD] => SetExpressCheckout
[CURRENCYCODE] => AUD
[USER] => ++++++++++++++
[PWD] => ****************
[VERSION] => 3.2
[SIGNATURE] => ****************************************************Qgg4
)

Response:
Array
(
[TOKEN] => EC-96N9+++++++
[TIMESTAMP] => 2008-08-26T11:40:46Z
[CORRELATIONID] => 89++++++
[ACK] => Success
[VERSION] => 3.2
[BUILD] => 671339
[CURL_ERRORS] =>
)

Also, I want to mention that PayPal is able to recognize my presence to some degree because when I place a live test order using a certain virtual credit card, PayPal pings the account associated with that card for $1.00 to verify that the account exists.

And just because it has some interesting transaction information, here is the PayPal test Log - terminateEC-A log:

goto page: checkout_confirmation
error_msg:

Session data: Array
(
[securityToken] => ++++++++++++++
[customers_host_address] => adsl-+++++++++.it
[cartID] =>
[cart] => shoppingCart Object
(
[contents] => Array
(
[30] => Array
(
[qty] => 1
)

            )

        [total] => 22
        [weight] => 7.8
        [content_type] => 
        [free_shipping_item] => 0
        [free_shipping_weight] => 0
        [free_shipping_price] => 0
        [observers] => Array
            (
            )

    )

[navigation] => navigationHistory Object
    (
        [path] => Array
            (
                [0] => Array
                    (
                        [page] => logoff
                        [mode] => NONSSL
                        [get] => 
                        [post] => Array
                            (
                            )

                    )

                [1] => Array
                    (
                        [page] => product_info
                        [mode] => NONSSL
                        [get] => Array
                            (
                                [cPath] => 5_8
                                [products_id] => 30
                            )

                        [post] => Array
                            (
                            )

                    )

                [2] => Array
                    (
                        [page] => checkout_shipping
                        [mode] => NONSSL
                        [get] => 
                        [post] => Array
                            (
                            )

                    )

                [3] => Array
                    (
                        [page] => login
                        [mode] => NONSSL
                        [get] => 
                        [post] => Array
                            (
                            )

                    )

                [4] => Array
                    (
                        [page] => index
                        [mode] => NONSSL
                        [get] => Array
                            (
                                [type] => ec
                                [token] => EC-+++++++++++
                                [PayerID] => +++++++++
                            )

                        [post] => Array
                            (
                            )

                    )

            )

        [snapshot] => Array
            (
                [page] => checkout_shipping
                [mode] => NONSSL
                [get] => Array
                    (
                    )

                [post] => Array
                    (
                    )

            )

        [observers] => Array
            (
            )

    )

[check_valid] => true
[language] => english
[languages_id] => 1
[languages_code] => en
[currency] => EUR
[today_is] => 2008-08-26
[updateExpirations] => 1
[session_counter] => 1
[customers_ip_address] => +++++++++
[new_products_id_in_cart] => 
[messageToStack] => 
[payment] => paypalwpp
[cot_gv] => 0
[paypal_ec_token] => EC-+++++++++++L
[paypal_ec_payer_id] => AZS7KQ22YPNRJ
[paypal_ec_payer_info] => Array
    (
        [payer_id] => +++++++++++
        [payer_email] => [email protected]
        [payer_salutation] => 
        [payer_gender] => 
        [payer_firstname] => +++++
        [payer_lastname] => ++++++++
        [payer_business] => 
        [payer_status] => unverified
        [ship_country_code] => IT
        [ship_address_status] => Unconfirmed
        [ship_phone] => 
        [ship_name] => +++++
        [ship_street_1] => Borgo san Jacopo
        [ship_street_2] => 
        [ship_city] => Firenze
        [ship_state] => Firenze
        [ship_postal_code] => 50125
        [ship_country_name] => Italy
    )

[customer_guest_id] => 10
[paypal_ec_temp] => 
[customer_id] => 10
[customer_default_address_id] => 11
[customer_first_name] => +++++++++
[customer_country_id] => 105
[customer_zone_id] => 0
[sendto] => 11
[billto] => 11
[shipping] => Array
    (
        [id] => zones_zones
        [title] => Zone Based Rates - First Class Post (*Uninsured -

Customer accepts risk* There is optional insurance at checkout. Shipping to
IT (1 x 7.80Grams))
[cost] => 3.5
[module] => zones
)

)

Session data: Array
(
[securityToken] => +++++++++++++
[customers_host_address] => adsl-ull-++++++++++++.it
[cartID] =>
[cart] => shoppingCart Object
(
[contents] => Array
(
[30] => Array
(
[qty] => 1
)

            )

        [total] => 22
        [weight] => 7.8
        [content_type] => 
        [free_shipping_item] => 0
        [free_shipping_weight] => 0
        [free_shipping_price] => 0
        [observers] => Array
            (
            )

    )

[navigation] => navigationHistory Object
    (
        [path] => Array
            (
                [0] => Array
                    (
                        [page] => logoff
                        [mode] => NONSSL
                        [get] => 
                        [post] => Array
                            (
                            )

                    )

                [1] => Array
                    (
                        [page] => product_info
                        [mode] => NONSSL
                        [get] => Array
                            (
                                [cPath] => 5_8
                                [products_id] => 30
                            )

                        [post] => Array
                            (
                            )

                    )

                [2] => Array
                    (
                        [page] => checkout_shipping
                        [mode] => NONSSL
                        [get] => 
                        [post] => Array
                            (
                            )

                    )

                [3] => Array
                    (
                        [page] => login
                        [mode] => NONSSL
                        [get] => 
                        [post] => Array
                            (
                            )

                    )

                [4] => Array
                    (
                        [page] => index
                        [mode] => NONSSL
                        [get] => Array
                            (
                                [type] => ec
                                [token] => EC-+++++++++++++
                                [PayerID] => +++++++++++
                            )

                        [post] => Array
                            (
                            )

                    )

            )

        [snapshot] => Array
            (
                [page] => checkout_shipping
                [mode] => NONSSL
                [get] => Array
                    (
                    )

                [post] => Array
                    (
                    )

            )

        [observers] => Array
            (
            )

    )

[check_valid] => true
[language] => english
[languages_id] => 1
[languages_code] => en
[currency] => EUR
[today_is] => 2008-08-26
[updateExpirations] => 1
[session_counter] => 1
[customers_ip_address] => 151.++++++++++
[new_products_id_in_cart] => 
[messageToStack] => 
[payment] => paypalwpp
[cot_gv] => 0
[paypal_ec_token] => EC-++++++++++
[paypal_ec_payer_id] => +++++++++++
[paypal_ec_payer_info] => Array
    (
        [payer_id] => ++++++++++++
        [payer_email] => ++++++++++
        [payer_salutation] => 
        [payer_gender] => 
        [payer_firstname] => +++
        [payer_lastname] => ++++++++++
        [payer_business] => 
        [payer_status] => unverified
        [ship_country_code] => IT
        [ship_address_status] => Unconfirmed
        [ship_phone] => 
        [ship_name] => +++++++++
        [ship_street_1] => +++++++++++
        [ship_street_2] => 
        [ship_city] => Firenze
        [ship_state] => Firenze
        [ship_postal_code] => 50125
        [ship_country_name] => Italy
    )

[customer_guest_id] => 10
[paypal_ec_temp] => 
[customer_id] => 10
[customer_default_address_id] => 11
[customer_first_name] => ++++++++++
[customer_country_id] => 105
[customer_zone_id] => 0
[sendto] => 11
[billto] => 11
[shipping] => Array
    (
        [id] => zones_zones
        [title] => Zone Based Rates - First Class Post (*Uninsured -

Customer accepts risk* There is optional insurance at checkout. Shipping to
IT (1 x 7.80Grams))
[cost] => 3.5
[module] => zones
)

)

Thanks again!

27 Aug 2008, 8:18 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: PayPal Express Checkout: Admin sees order but Paypal does not

In Admin->Modules->Payment, do you have any modules "installed" but "disabled"? If so, why?
Does the problem disappear if you click "Remove" for all the modules you're not actually currently using?

27 Aug 2008, 12:45 PM
#5
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: PayPal Express Checkout: Admin sees order but Paypal does not

DrByte:

In Admin->Modules->Payment, do you have any modules "installed" but "disabled"? If so, why?
Does the problem disappear if you click "Remove" for all the modules you're not actually currently using?

That did the trick! Sure enough there was a manual credit card (hence the cc) module installed but de-activated from when I was initially setting up the store and prior to PayPal installation.

Thank you very much for your help!

24 Dec 2008, 3:50 PM
#6
adeibiza avatar

adeibiza

New Zenner

Join Date:
Jan 2008
Posts:
5
Plugin Contributions:
0

Re: PayPal Express Checkout: Admin sees order but Paypal does not

i had exactly the same problem with orders being placed but nothing showing up in paypal account - i uninstalled the other payment modules rather than having them disabled and bobs yer uncle the payment system worked

just writing this in case someone else sees this thread

7 Jan 2009, 1:00 PM
#7
hani avatar

hani

New Zenner

Join Date:
Dec 2008
Posts:
14
Plugin Contributions:
0

Re: PayPal Express Checkout: Admin sees order but Paypal does not

DrByte:

In Admin->Modules->Payment, do you have any modules "installed" but "disabled"? If so, why?
Does the problem disappear if you click "Remove" for all the modules you're not actually currently using?

I have this same problem. Order payments are approved and orders set to pending, although Paypal has no record of the payment.

The Paypal express checkout does seem to try to utilise the Installed-Disabled modules and removing this does seem to remove them from the second column in the order screen. The problem is that this module seems to be using the wrong payment module even if they're Installed-Enabled.

I had the following set-ups and results:

Set-up 1:
Module : Installed : Enabled : Zone
cc : Y : N : None
cod : Y : Y : Country A
Paypal : Y : Y : Country B
All other modules uninstalled

Result 1:
Order shows payment module as "cc"

Set-up 2:
Module : Installed : Enabled : Zone
cc : N : N : None
cod : Y : Y : Country A
Paypal : Y : Y : Country B
All other modules uninstalled

Result 2:
Order shows payment module as "cod"

So it seems that the Express Checkout module incorrectly uses enabled/installed modules that don't apply to the ordering customers zone.

Is this a bug? Can it be fixed through config? I tried changing the sort order of the payment modules, setting paypal to 0 and cod to 1. the result was the same. Admin-Customer->Orders shows COD as payment module and Paypal has no log of the payment.

Please help.

7 Jan 2009, 6:36 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: PayPal Express Checkout: Admin sees order but Paypal does not

Hani:

Is this perhaps the same issue as this one?:
http://www.zen-cart.com/forum/showthread.php?t=116112

Yes, it does appear to be the same issue as the link you just posted.

If you don't restrict your payment modules to certain zones, and you don't leave any modules sitting around installed but disabled, then you won't have the problems you're indicating.

A fix will hopefully be included in the v2.0.0 release due out soon.

7 Jan 2009, 7:45 PM
#10
hani avatar

hani

New Zenner

Join Date:
Dec 2008
Posts:
14
Plugin Contributions:
0

Re: PayPal Express Checkout: Admin sees order but Paypal does not

Thanks for the confirmation DrByte.

We're going to remove the PEC registration/Express Check-out capability and force customers through the traditional registration and checkout process until fixed.

5 Mar 2009, 11:22 PM
#11
svityres avatar

svityres

New Zenner

Join Date:
Mar 2009
Posts:
2
Plugin Contributions:
0

Re: PayPal Express Checkout: Admin sees order but Paypal does not

I have the same problem. I set up a Paypal Express checkout on my site and tested it live by placing an order via it. Everything went fine. It took me back to my site's success page, ZC sent me a confirmation receipt. And I see that the order shows up in my Admin panel. But Paypal has no record of the payment. No funds are deducted from my buyer’s account and nothing comes in to my account.

I'm running Zen Cart 1.3.7.

In Admin->Modules->Payment I have two active modules with green buttons- Nochex and Paypal IPN, both are working fine. All other modules I removed, they have red buttons. Still no success.

Here is the PayPal Debug log - SetExpressCheckout from a live order I placed.
2009-03-05 11:01:57

(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] => GB
[PAYMENTACTION] => Sale
[AMT] => 0.01
[RETURNURL] =>
http://www.elantacrystal.co.uk/ipn_main_handler.php?type=ec
[CANCELURL] =>
http://www.elantacrystal.co.uk/index.php?main_page=login&ec_cancel=1
[PAGESTYLE] => Primary
[METHOD] => SetExpressCheckout
[CURRENCYCODE] => GBP
[USER] => svitlana_api1.elantacrystal.co.uk
[PWD] => ****************
[VERSION] => 2.3
[SIGNATURE] => ****************************************************h2gB
)

Response:
Array
(
[TOKEN] => EC-03713563YP2887834
[TIMESTAMP] => 2009-03-05T22:57:22Z
[CORRELATIONID] => 3be6aaed4b20
[ACK] => Success
[VERSION] => 2.3
[BUILD] => 848077
[CURL_ERRORS] =>
)

Thank you for any help!

6 Mar 2009, 1:32 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: PayPal Express Checkout: Admin sees order but Paypal does not

svityres:

I'm running Zen Cart 1.3.7.

You are using obsolete code.

At least install the PayPal patch for v1.3.7 or upgrade to 1.3.7.1 which includes several bugfixes and the PayPal patch.
Or, better yet, upgrade to 1.3.8 which includes a years' worth of bugfixes and improvements.

After that, do another PayPal transaction.
On your Zen Cart side, look at the order listing and note which payment method was used to record the sale. It should include 'paypal' in the name. If it doesn't, then you have excess payment modules left in a disabled state but not properly uninstalled.

8 Mar 2009, 10:50 PM
#13
svityres avatar

svityres

New Zenner

Join Date:
Mar 2009
Posts:
2
Plugin Contributions:
0

Re: PayPal Express Checkout: Admin sees order but Paypal does not

Thank you for that.

The payment method used does show paypal. I tried to remove the other modules again but still no luck.

In regards to upgrade I need to address this issue to my website developer, hopefully it will fix the problem. Thanks again for your help.