Zen Cart Logo
Forums / PayPal Express Checkout support / Paypal Express- I'm going mad!

Paypal Express- I'm going mad!

Views: 3,153

Results 1 to 9 of 9
28 Jan 2011, 3:57 AM
#1
pet_herbal_remedies avatar

pet_herbal_remedies

Zen Follower

Join Date:
Aug 2008
Posts:
162
Plugin Contributions:
0

Paypal Express- I'm going mad!

Zencart 1.3.9h
All_business template

Hi there,

I've been wracking my brain for 4 hours as to why Paypal standard worked before today but won't. I then switched to Paypal express and end up with the same problem. Checkout won't take you anywhere and the PayPal button gives me the white space.

http://bodiefoundation.org/zencart/ipn_main_handler.php?type=ec

The PayPal module shows its processing
i've confirmed and double checked and triple checked the API credentials. Shipping is a.o.k. I've looked at all of the forum threads but not finding what I was hoping for. I'm stumped and tired...

I've set the debug for log file and alerts but haven't received anything.

All help will be greatly appreciated!:frusty:

http://bodiefoundation.org/zencart/index.php?main_page=shopping_cart

28 Jan 2011, 5:41 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Paypal Express- I'm going mad!

First insure that you have your PP express credentials then
Try removing PP express in the admin and re-installing it
While there and on a temp basis, at the bottom enable logs for it
You will find the logs at /includes/modules/payment/paypal/logs

If no joy, check the blank page tutorial
https://www.zen-cart.com/tutorials/index.php?article=82

28 Jan 2011, 4:26 PM
#3
pet_herbal_remedies avatar

pet_herbal_remedies

Zen Follower

Join Date:
Aug 2008
Posts:
162
Plugin Contributions:
0

Re: Paypal Express- I'm going mad!

Thank you Kobra for your response and suggestions. I ensured that the PayPal Express credentials are checked and reinstalled the paypal express module. Still no luck. Thank you also for directing me to the paypal debug logs. This is what I'm getting:

2011-01-28 09:10:08

(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(tm) - PayPal/NVP
[4] => X-VPS-VIT-Integration-Version: 1.3.9h
)

Request Parameters: {SetExpressCheckout}
Array
(
[AMT] => 15.95
[ITEMAMT] => 15.95
[L_NUMBER0] =>
[L_NAME0] => Bodie Bonanza
[L_AMT0] => 15.95
[L_QTY0] => 1
[LOCALECODE] => US
[PAYMENTACTION] => Sale
[ALLOWNOTE] => 1
[LANDINGPAGE] => Billing
[RETURNURL] => http://bodiefoundation.org/zencart/ipn_main_handler.php?type=ec
[CANCELURL] => http://bodiefoundation.org/zencart/index.php?main_page=shopping_cart&ec_cancel=1
[PAGESTYLE] => Primary
[METHOD] => SetExpressCheckout
[CURRENCYCODE] => USD
[USER] => PayPalAdmin_api1.BodieFoundation.org
[PWD] => ****************
[VERSION] => 60.0
[SIGNATURE] => ****************************************************QyB9
)

Response:
Array
(
[] =>
[CURL_ERRORS] => (7) couldn't connect to host
)

(7) couldn't connect to host
Array
(
[url] => https://api-3t.paypal.com/nvp
[http_code] => 0
[header_size] => 0
[request_size] => 0
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0
[namelookup_time] => 0
[connect_time] => 0
[pretransfer_time] => 0
[size_upload] => 0
[size_download] => 0
[speed_download] => 0
[speed_upload] => 0
[download_content_length] => 0
[upload_content_length] => 0
[starttransfer_time] => 0
[redirect_time] => 0
)

SetExpressCheckout, Elapsed: 21008ms -- Failed
(7) couldn't connect to host
Array
(
[url] => https://api-3t.paypal.com/nvp
[http_code] => 0
[header_size] => 0
[request_size] => 0
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0
[namelookup_time] => 0
[connect_time] => 0
[pretransfer_time] => 0
[size_upload] => 0
[size_download] => 0
[speed_download] => 0
[speed_upload] => 0
[download_content_length] => 0
[upload_content_length] => 0
[starttransfer_time] => 0
[redirect_time] => 0
)

I'll fumble through these errors until I can figure this out. Much appreciated with your assistance as well. Lynn

28 Jan 2011, 5:13 PM
#4
pet_herbal_remedies avatar

pet_herbal_remedies

Zen Follower

Join Date:
Aug 2008
Posts:
162
Plugin Contributions:
0

Re: Paypal Express- I'm going mad!

Thanks to another forum posting...I found this

"No. The only place you need to set anything in your store as far as CURL goes is in Admin->Configuration->My Store->CURL Proxy Status. AND IT SHOULD BE SET TO OFF. "

I did this and now it works!. Phew!:clap::clap::clap:

I hope this helps someone else. Thanks, Lynn

28 Jan 2011, 8:43 PM
#5
pet_herbal_remedies avatar

pet_herbal_remedies

Zen Follower

Join Date:
Aug 2008
Posts:
162
Plugin Contributions:
0

Re: Paypal Express- I'm going mad!

Okay...I spoke too soon. It looked good at first but now it doesn't. So that got me to step 2 but now the site returns me to step 3 (back the site) but no luck.

I'm getting this message:
Email Error: SMTP Error: Could not connect to SMTP host.

and here's my log....

Jan-28-2011 13:35:24 (1296246924)
getLineItemDetails 7 - subtotal comparisons
BEFORE line-item calcs: Array
(
[AMT] => 90.53
[ITEMAMT] => 78.95
[TAXAMT] => 0.88
[SHIPPINGAMT] => 10.7
[SHIPDISCAMT] => 0
[HANDLINGAMT] => 0
[INSURANCEAMT] => 0
)

  • AFTER doing line-item calcs: Array
    (
    [AMT] => 90.53
    [ITEMAMT] => 78.95
    [TAXAMT] => 0
    [SHIPPINGAMT] => 11.58
    [SHIPDISCAMT] => 0
    [HANDLINGAMT] => 0
    [INSURANCEAMT] => 0
    [L_NUMBER0] =>
    [L_NAME0] => Bodie Gray Pull Over Hooded Sweatshirt
    [L_DESC0] => Size: Small
    [L_AMT0] => 28
    [L_QTY0] => 1
    [L_NUMBER1] =>
    [L_NAME1] => Bodie Bonanza
    [L_AMT1] => 15.95
    [L_QTY1] => 1
    [L_NUMBER2] =>
    [L_NAME2] => Bodie Benefit Concert Tickets
    [L_AMT2] => 35
    [L_QTY2] => 1
    )

=================================

Jan-28-2011 13:35:24 (1296246924)
getLineItemDetails 8
checking subtotals...
Array
(
[calculated total] => 90.53
[AMT] => 90.53
[ITEMAMT] => 78.95
[SHIPPINGAMT] => 11.58
)


difference: 0 (abs+rounded: 0)

Jan-28-2011 13:35:24 (1296246924)
getLineItemDetails 10
subtotals balance - okay

Jan-28-2011 13:35:24 (1296246924)
ec_step1 - 1
Checking to see if we are in markflow
cart contents: physical

NOTE: $this->showPaymentPage = 0
Customer ID: 3
Session Data: Array
(
[securityToken] => 194932d29f34e5193ec0751e68a1e078
[customers_host_address] => pool-71-105-187-206.lsanca.dsl-w.verizon.net
[cartID] => 97740
[cart] => shoppingCart Object
(
[contents] => Array
(
[22:4987f9666c41d0ac747ed74996cfb132] => Array
(
[qty] => 1
[attributes] => Array
(
[1] => 2
)

                    )

                [35] => Array
                    (
                        [qty] => 1
                    )

                [58] => Array
                    (
                        [qty] => 1
                    )

            )

        [total] => 78.95
        [weight] => 1
        [cartID] => 97740
        [content_type] => physical
        [free_shipping_item] => 1
        [free_shipping_weight] => 0
        [free_shipping_price] => 35
    )

[check_valid] => true
[language] => english
[languages_id] => 1
[languages_code] => en
[currency] => USD
[today_is] => 2011-01-28
[updateExpirations] => 1
[session_counter] => 1
[customers_ip_address] => 71.105.187.206
[new_products_id_in_cart] => 58
[valid_to_checkout] => 1
[cart_errors] => 
[payment] => paypalwpp
[cot_gv] => 0
[customer_guest_id] => 3
[customer_id] => 3
[customer_default_address_id] => 3
[customer_first_name] => Lynn
[customer_country_id] => 223
[customer_zone_id] => 12
[sendto] => 3
[billto] => 3
[shipping_tax_description] => Sales Tax
[shipping_tax_amount] => 0.88275
[messageToStack] => 
[shipping] => Array
    (
        [id] => table_table
        [title] => Table Rate (1 x 4.00lbs) (Best Way)
        [cost] => 10.7
        [module] => table
    )

)

=================================

Jan-28-2011 13:35:24 (1296246924)
ec-step1-addr_check
cart content is not all virtual (or customer is not logged in) ... therefore will be submitting address details

Jan-28-2011 13:35:24 (1296246924)
getOverrideAddress - 4
not logged in and not in markflow mode - nothing to override

Jan-28-2011 13:35:24 (1296246924)
ec-step1-addr_check3
address details from override check: <NONE FOUND>

Jan-28-2011 13:35:24 (1296246924)
ec_step1 - 2 -submit
Array
(
[AMT] => 90.53
[ITEMAMT] => 78.95
[SHIPPINGAMT] => 11.58
[L_NUMBER0] =>
[L_NAME0] => Bodie Gray Pull Over Hooded Sweatshirt
[L_DESC0] => Size: Small
[L_AMT0] => 28.00
[L_QTY0] => 1
[L_NUMBER1] =>
[L_NAME1] => Bodie Bonanza
[L_AMT1] => 15.95
[L_QTY1] => 1
[L_NUMBER2] =>
[L_NAME2] => Bodie Benefit Concert Tickets
[L_AMT2] => 35.00
[L_QTY2] => 1
[LOCALECODE] => US
[CURRENCY] => USD
[PAYMENTACTION] => Sale
[ALLOWNOTE] => 1
[SOLUTIONTYPE] => Sole
[LANDINGPAGE] => Billing
[EMAIL] => [email protected]
[SHIPTOPHONENUM] => 760-709-6757
[RETURNURL] => http://bodiefoundation.org/zencart/ipn_main_handler.php?type=ec
[CANCELURL] => http://bodiefoundation.org/zencart/index.php?main_page=checkout_shipping&ec_cancel=1
)

=================================

ALL help greatly appreciated. Back to :frusty: Lynn

28 Jan 2011, 10:44 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Paypal Express- I'm going mad!

Set your email up

29 Jan 2011, 5:05 AM
#7
pet_herbal_remedies avatar

pet_herbal_remedies

Zen Follower

Join Date:
Aug 2008
Posts:
162
Plugin Contributions:
0

Re: Paypal Express- I'm going mad!

Thanks Kobra...

I have updated the email address (the mail server was not correct) - Thanks for that.

Now Paypal Express loops my customers back to 1 of 3-Delivery Information. So I get to Paypal and then returned with no option to checkout... I've read the forums on this and I've:
Modified

  1. Select Cheapest Shipping Automatically: No (was previously yes and prevented people from being able to choose "Walk-In")
    Skip Payment Page: No (set to yes, though I don't remember which was the default)
    Transaction Currancy: Selected Country (Was set to USD)
  2. Removed and re-installed paypal express three times.
  3. Removed Auto On in the PayPal Express Website Payment Preferences. Then Tried it with the auto on
  4. ALtered the URL for the Auto On and used this URL
    http://bodiefoundation.org/zencart/ipn_main_handler.php
  5. It is live and not sandbox.

Here is my latest log
[L_QTY2] => 1
)

=================================

Jan-28-2011 21:58:23 (1296277103)
getLineItemDetails 8
checking subtotals...
Array
(
[calculated total] => 90.53
[AMT] => 90.53
[ITEMAMT] => 78.95
[SHIPPINGAMT] => 11.58
)


difference: 0 (abs+rounded: 0)

Jan-28-2011 21:58:23 (1296277103)
getLineItemDetails 10
subtotals balance - okay

Jan-28-2011 21:58:23 (1296277103)
ec_step1 - 1
Checking to see if we are in markflow
cart contents: physical

NOTE: $this->showPaymentPage = 1
Customer ID: 3
Session Data: Array
(
[securityToken] => 6f9798ac67934a5d187bc7d295ae9ade
[customers_host_address] => pool-71-105-187-206.lsanca.dsl-w.verizon.net
[cartID] => 60165
[cart] => shoppingCart Object
(
[contents] => Array
(
[22:4987f9666c41d0ac747ed74996cfb132] => Array
(
[qty] => 1
[attributes] => Array
(
[1] => 2
)

                    )

                [35] => Array
                    (
                        [qty] => 1
                    )

                [58] => Array
                    (
                        [qty] => 1
                    )

            )

        [total] => 78.95
        [weight] => 1
        [cartID] => 60165
        [content_type] => physical
        [free_shipping_item] => 1
        [free_shipping_weight] => 0
        [free_shipping_price] => 35
    )

[check_valid] => true
[language] => english
[languages_id] => 1
[languages_code] => en
[currency] => USD
[today_is] => 2011-01-28
[updateExpirations] => 1
[session_counter] => 1
[customers_ip_address] => 71.105.187.206
[valid_to_checkout] => 1
[cart_errors] => 
[new_products_id_in_cart] => 35
[payment] => paypalwpp
[cot_gv] => 0
[customer_id] => 3
[customer_default_address_id] => 3
[customer_first_name] => Lynn
[customer_country_id] => 223
[customer_zone_id] => 12
[messageToStack] => 
[sendto] => 3
[billto] => 3
[shipping_tax_description] => Sales Tax
[shipping_tax_amount] => 0.88275
[shipping] => Array
    (
        [id] => table_table
        [title] => Table Rate (1 x 4.00lbs) (Best Way)
        [cost] => 10.7
        [module] => table
    )

)

=================================

Jan-28-2011 21:58:24 (1296277104)
ec-step1-addr_check
cart content is not all virtual (or customer is not logged in) ... therefore will be submitting address details

Jan-28-2011 21:58:24 (1296277104)
getOverrideAddress - 4
not logged in and not in markflow mode - nothing to override

Jan-28-2011 21:58:24 (1296277104)
ec-step1-addr_check3
address details from override check: <NONE FOUND>

Jan-28-2011 21:58:24 (1296277104)
ec_step1 - 2 -submit
Array
(
[AMT] => 90.53
[ITEMAMT] => 78.95
[SHIPPINGAMT] => 11.58
[L_NUMBER0] =>
[L_NAME0] => Bodie Gray Pull Over Hooded Sweatshirt
[L_DESC0] => Size: Small
[L_AMT0] => 28.00
[L_QTY0] => 1
[L_NUMBER1] =>
[L_NAME1] => Bodie Bonanza
[L_AMT1] => 15.95
[L_QTY1] => 1
[L_NUMBER2] =>
[L_NAME2] => Bodie Benefit Concert Tickets
[L_AMT2] => 35.00
[L_QTY2] => 1
[LOCALECODE] => US
[CURRENCY] => USD
[PAYMENTACTION] => Sale
[ALLOWNOTE] => 1
[SOLUTIONTYPE] => Sole
[LANDINGPAGE] => Billing
[EMAIL] => [email protected]
[SHIPTOPHONENUM] => 760-709-6757
[RETURNURL] => http://bodiefoundation.org/zencart/ipn_main_handler.php?type=ec
[CANCELURL] => http://bodiefoundation.org/zencart/index.php?main_page=checkout_shipping&ec_cancel=1
)

=================================

i'm beside myself. :frusty::frusty::frusty:

All help greatly appreciated, Lynn

29 Jan 2011, 7:13 AM
#8
pet_herbal_remedies avatar

pet_herbal_remedies

Zen Follower

Join Date:
Aug 2008
Posts:
162
Plugin Contributions:
0

Re: Paypal Express- I'm going mad!

So I've reviewed my shipping modules, zone definitions (United States is the only one) and I believe that everything is ok and not affecting why the customer is looped back to continue shopping from the Paypal site (with Express Checkout). I've removed Express Checkout and attempted to install PP IPN with no success. Now the paypal button doesn't show, even after clicking checkout. In IPN the click on checkout brings you back to a continue shopping. Which makes me think this has nothing to do with PayPal.

I have another debug log... and I'm just plain tired, cranky and working in circles. So much appreciated if anyone can interpret what issues I may be overlooking. Setting up PayPal is typically not an issue for me so this is more than disgruntling.

Much appreciated for all help, Lynn

P.S. sorry about clogging up this thread with logs.

Jan-28-2011 23:50:13 (1296283813)
getLineItemDetails 7 - subtotal comparisons
BEFORE line-item calcs: Array
(

[AMT] => 27.53
[ITEMAMT] => 15.95
[TAXAMT] => 0.88
[SHIPPINGAMT] => 10.7
[SHIPDISCAMT] => 0

[HANDLINGAMT] => 0
[INSURANCEAMT] => 0
)

  • AFTER doing line-item calcs: Array
    (
    [AMT] => 27.53

[ITEMAMT] => 15.95
[TAXAMT] => 0
[SHIPPINGAMT] => 11.58
[SHIPDISCAMT] => 0
[HANDLINGAMT] => 0

[INSURANCEAMT] => 0
[L_NUMBER0] =>
[L_NAME0] => Bodie Bonanza
[L_AMT0] => 15.95
[L_QTY0] => 1
)

=================================

Jan-28-2011 23:50:13 (1296283813)
getLineItemDetails 8
checking subtotals...
Array
(
[calculated total] => 27.53
[AMT] => 27.53
[ITEMAMT] => 15.95
[SHIPPINGAMT] => 11.58
)


difference: 0 (abs+rounded: 0)

Jan-28-2011 23:50:13

(1296283813)
getLineItemDetails 10
subtotals balance - okay

Jan-28-2011 23:50:13

(1296283813)
ec_step1 - 1
Checking to see if we are in markflow
cart contents: physical

NOTE:

$this->showPaymentPage = 0
Customer ID: 3
Session Data: Array
(
[securityToken] =>

6f9798ac67934a5d187bc7d295ae9ade
[customers_host_address] => pool-71-105-187-206.lsanca.dsl-w.verizon.net

[cartID] => 47217
[cart] => shoppingCart Object
(
[contents] => Array
(

           [35] => Array
                    (
                        [qty] => 1

)

            )

        [total] => 15.95
        [weight] => 1
        [cartID] => 47217

[content_type] => physical
[free_shipping_item] => 0
[free_shipping_weight] => 0

[free_shipping_price] => 0
)

[check_valid] => true
[language] => english
[languages_id] => 

1
[languages_code] => en
[currency] => USD
[today_is] => 2011-01-28
[updateExpirations] => 1

[session_counter] => 1
[customers_ip_address] => 71.105.187.206
[valid_to_checkout] => 1
[cart_errors]

=>
[new_products_id_in_cart] => 35
[payment] => paypalwpp
[cot_gv] => 0
[customer_id] => 3

[customer_default_address_id] => 3
[customer_first_name] => Lynn
[customer_country_id] => 223

[customer_zone_id] => 12
[messageToStack] =>
[sendto] => 3
[billto] => 3
[shipping_tax_description]

=> Sales Tax
[shipping_tax_amount] => 0.88275
[shipping] => Array
(
[id] => table_table

       [title] => Table Rate (1 x 4.00lbs) (Best Way)
        [cost] => 10.7
        [module] => table


  )

)

=================================

Jan-28-2011 23:50:13 (1296283813)
ec-step1-addr_check
cart content is

not all virtual (or customer is not logged in) ... therefore will be submitting address details

Jan-28-2011 23:50:13 (1296283813)
getOverrideAddress - 4
not logged in and not in

markflow mode - nothing to override

Jan-28-2011 23:50:13 (1296283813)
ec-step1-addr_check3
address details from override check: <NONE FOUND>

Jan-28-2011 23:50:13 (1296283813)
ec_step1 - 2 -submit
Array
(
[AMT] => 27.53
[ITEMAMT] => 15.95

[SHIPPINGAMT] => 11.58
[L_NUMBER0] =>
[L_NAME0] => Bodie Bonanza
[L_AMT0] => 15.95
[L_QTY0] => 1

[LOCALECODE] => US
[CURRENCY] => USD
[PAYMENTACTION] => Sale
[ALLOWNOTE] => 1
[SOLUTIONTYPE] =>

Sole
[LANDINGPAGE] => Billing
[EMAIL] => [email protected]
[SHIPTOPHONENUM] => 760-709-6757

[RETURNURL] => http://bodiefoundation.org/zencart/ipn_main_handler.php?type=ec
[CANCELURL] =>

http://bodiefoundation.org/zencart/index.php?main_page=checkout_shipping&ec_cancel=1
)

=================================

29 Jan 2011, 7:48 PM
#9
pet_herbal_remedies avatar

pet_herbal_remedies

Zen Follower

Join Date:
Aug 2008
Posts:
162
Plugin Contributions:
0

Re: Paypal Express- I'm going mad!

i've realized now that this isn't a Paypal Express issue. It's something to do with shipping. I'm going to post in shipping and create a link to this thread so that it can eventually help someone.

I realized that the issue was beyond PayPal when I can't close an order on a moneyorder either. I'll be back