Zen Cart Logo
Forums / PayPal Express Checkout support / PayPal Express not responding

PayPal Express not responding

Views: 2,090

Results 1 to 8 of 8
15 Feb 2017, 8:01 PM
#1
in2deep avatar

in2deep

Zen Follower

Join Date:
Jul 2011
Posts:
214
Plugin Contributions:
0

PayPal Express not responding

I'm on 1.5.5d, URL is: https://www.gunrelatedstuff.com

SSL is installed and working. So far the only things I have installed is Google Analytics and Sales Report (which doesn't seem to be working. Hmmm)

The only payment module I have installed is PayPal Express Checkout. Its set to live, all account info is plugged in straight from my PayPal profile.

Did the CURL test: https://www.gunrelatedstuff.com/extras/curltester.php and everything comes back as GOOD for both the http and the https.

When you click the PayPal express checkout button nothing happens. You get a connecting message on the tab above the URL bar and then nothing. What's broken / not working?

15 Feb 2017, 8:11 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,843
Plugin Contributions:
17

Re: PayPal Express not responding

Either the template or you yourself has put the system in a loop by attempting to do something other than the standard process. The whole idea behind PayPal Express Checkout is the Express part. It should not result in another page asking how you want to check out.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

15 Feb 2017, 8:23 PM
#3
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: PayPal Express not responding

Could try turning on debugging for PayPal express and see what if any logs are generated when attempting that process. Also to just take a look in your logs directory to see if there are any existing mydebug logs related to the current issue.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

15 Feb 2017, 8:30 PM
#4
in2deep avatar

in2deep

Zen Follower

Join Date:
Jul 2011
Posts:
214
Plugin Contributions:
0

Re: PayPal Express not responding

mc12345678:

Could try turning on debugging for PayPal express and see what if any logs are generated when attempting that process. Also to just take a look in your logs directory to see if there are any existing mydebug logs related to the current issue.

I'm getting two different logs for PayPal when attempting to checkout. Here is the first one:

2017-02-15 02:24:06

(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.5
)

Request Parameters: {SetExpressCheckout}
Array
(
[PAYMENTREQUEST_0_AMT] => 225.00
[PAYMENTREQUEST_0_ITEMAMT] => 225.00
[L_PAYMENTREQUEST_0_NUMBER0] => HSHS503CU
[L_PAYMENTREQUEST_0_NAME0] => Holosun 503CU [24]
[L_PAYMENTREQUEST_0_QTY0] => 1
[L_PAYMENTREQUEST_0_AMT0] => 225.00
[PAYMENTREQUEST_0_CURRENCYCODE] => USD
[LOCALECODE] => US
[GIFTMESSAGEENABLE] => 0
[GIFTRECEIPTEENABLE] => 0
[GIFTWRAPENABLE] => 0
[GIFTWRAPNAME] =>
[GIFTWRAPAMOUNT] => 0
[BUYEREMAILOPTINENABLE] => 0
[CUSTOMERSERVICENUMBER] =>
[BRANDNAME] => Gun Related Stuff
[PAYMENTREQUEST_0_PAYMENTACTION] => Sale
[ALLOWNOTE] => 1
[LANDINGPAGE] => Billing
[NOSHIPPING] => 0
[RETURNURL] => https://www.gunrelatedstuff.com/ipn_main_handler.php?type=ec
[CANCELURL] => https://www.gunrelatedstuff.com/index.php?main_page=shopping_cart&ec_cancel=1
[PAGESTYLE] => Primary
[METHOD] => SetExpressCheckout
[USER] => (deleted this myself)
[PWD] => ****************
[VERSION] => 124.0
[SIGNATURE] => ******************************************************7ISs
)

Response:
Array
(
[TIMESTAMP] => 2017-02-15T20:24:06Z
[CORRELATIONID] => f24c6aa64c5a5
[ACK] => Failure
[VERSION] => 124.0
[BUILD] => 30029726
[L_ERRORCODE0] => 10002
[L_SHORTMESSAGE0] => Security error
[L_LONGMESSAGE0] => Security header is not valid
[L_SEVERITYCODE0] => Error
[CURL_ERRORS] =>
)

SetExpressCheckout, Elapsed: 456ms -- Failure

TIMESTAMP=2017%2d02%2d15T20%3a24%3a06Z&CORRELATIONID=f24c6aa64c5a5&ACK=Failure&VERSION=124%2e0&BUILD=30029726&L_ERRORCODE0=10002&L_SHORTMESSAGE0=Security%20error&L_LONGMESSAGE0=Security%20header%20is%20not%20valid&L_SEVERITYCODE0=Error&CURL_ERRORS=


Not sure what these errors are or how to fix them.

15 Feb 2017, 8:35 PM
#5
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: PayPal Express not responding

Google search indicated that more than likely the credentials were not entered correctly. Yes, copy and paste, but if I remember correctly one of the displayed fields when I last tried to copy and paste was shorter than the text it contained... suggest performing the copy and paste again, but perhaps first pasting into a plain text editor first to ensure no additional characters and all characters end up in the final copy and paste.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

15 Feb 2017, 8:52 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: PayPal Express not responding

In2Deep:

[L_ERRORCODE0] => 10002
[L_SHORTMESSAGE0] => Security error
[L_LONGMESSAGE0] => Security header is not valid
That means your credentials are wrong.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Feb 2017, 10:03 PM
#7
in2deep avatar

in2deep

Zen Follower

Join Date:
Jul 2011
Posts:
214
Plugin Contributions:
0

Re: PayPal Express not responding

Looks like what I did was populate the box with the store name in it. Removing the contents of the box made everything work. Problem was the store name is different so I guess it was in fact a credential issue.

16 Feb 2017, 12:14 AM
#8
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: PayPal Express not responding

In2Deep:

Looks like what I did was populate the box with the store name in it. Removing the contents of the box made everything work. Problem was the store name is different so I guess it was in fact a credential issue.
Looking at the setup info for PayPal Express in ZC 1.5.5d, there is this field:
Store (Brand) Name at PayPal
The name of your store as it should appear on the PayPal login page. If blank, your store name will be used.
And your saying that:

  1. what was entered in that field was the same as your store name (STORE_NAME)?
  2. That when it was blank the transaction(s) went through?

Is there some "field" in PayPal by which comparison is made by PayPal that the submitted BRANDNAME is compared for validity? If so shouldn't the description for the above field be modified?

Could you try to enter that name again and see if you are given the same denial?
If so, does the store name have any potentially escapable or should be encoded type characters such as an ampersand (&) or other non-"standard" letter(s)?

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...