Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / PayPal Website Payment Standard Error

PayPal Website Payment Standard Error

Views: 2,640

Results 1 to 10 of 10
11 Apr 2011, 11:00 PM
#1
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

PayPal Website Payment Standard Error

In the last 10 days I had received 3 orders through PayPal standard payment that were never synced to Zen Cart. In the same period I have received more than 100 orders via PayPal that were synced normally to Zen Cart. I have activated the debug mode for that module a few days ago.

The following is one of the errors I found in log

Apr 11 2011 18:35 -- PDT PROCESSING INITIATED.
Preparing to verify transaction via PDT.

The TX token for verification is: Array
(
[main_page] => checkout_process
[referer] => paypal
[tx] => 89S97409E1872313G
[st] => Completed
[amt] => 320.48
[cc] => USD
[cm] => zenid=0bd86a62238a3e1ee3bbb35f3bb654a3
[request] => nonajax
)

Apr 11 2011 18:35 -- IPN INFO - POST VARS to be sent back (unsorted) for validation (using CURL):
To: www.paypal.com:80
Array
(
[cmd] => _notify-sync
[tx] => 89S97409E1872313G
[at] => D_HUw**********MziB0
[request] => nonajax
)

Apr 11 2011 18:35 -- CURL OPTS: Array
(
[10002] => https://www.paypal.com/cgi-bin/webscr
[47] => 1
[10015] => cmd=_notify-synch&tx=89S97409E1872313G&at=D_HUwdslGdQA4D-M9fJjI1fsCUtHyeRlGySB1O2bzqvFAz0RUkxqdfMziB0D_HUwdslGdQA4D-M9fJjI1fsCUtHyeRlGySB1O2bzqvFAz0RUkxqdfMziB0&request=nonajax
[13] => 45
[78] => 30
[41] => 0
[42] => 0
[52] => 0
[19913] => 1
[64] => 0
[81] => 2
[75] => 1
[74] => 1
[84] => 2
[10018] => Zen Cart(tm) - IPN Postback
)

Apr 11 2011 18:35 -- CURL response: FAIL
Error: 4020

Apr 11 2011 18:35 -- IPN INFO (cl) - Confirmation/Validation response FAIL

Apr 11 2011 18:35 -- PDT Returned INVALID Data. Must wait for IPN to process instead.
Array
(
)

11 Apr 2011, 11:52 PM
#2
kobra avatar

kobra

Black Belt

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

Re: PayPal Website Payment Standard Error

Switch to PayPal Express

Zen-Venom Get Bitten

12 Apr 2011, 7:32 AM
#3
drbyte avatar

drbyte

Sensei

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

Re: PayPal Website Payment Standard Error

Where's the "request=nonajax" coming from?

And, kobra's right: dropping the WPS module in favor of the EC module will eliminate your dependency on PDT and IPN postbacks for verification.

.
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.

12 Apr 2011, 11:15 AM
#4
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

Re: PayPal Website Payment Standard Error

Where's the "request=nonajax" coming from?
I am using Ajax checkout for the store...

I like using the standard payment module... I shop a lot online and a lot of large companies still use the standard payment.

14 Apr 2011, 5:57 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: PayPal Website Payment Standard Error

If that ajax-related parameter gets sent back to PayPal as part of the page's parameters (part of the PDT verification process), it's going to reject it.

Have you tested turning OFF your ajax-checkout addon and see whether things suddenly work better?

.
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.

16 Apr 2011, 2:59 AM
#6
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

Re: PayPal Website Payment Standard Error

That module been there for years, nothing changed on the site in the months... It only happened 3 times in the last month. I had more than 200 good orders through PayPal in the same process... My only guess is 2 people ordering at the same time using PayPal.

2 Jun 2011, 5:48 PM
#8
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

Re: PayPal Website Payment Standard Error

Another update.

Express Checkout doesn't work for me so I switched back to IPN.

I am guessing the issue has to do with Free Shipper Module. Ever since I start using this module things started going down hell.

I read on the forum that the Free Shipper will not function well with multi-zones stores. I do have like 5 different zones.

I just got an order from PayPal IPN, It is not registered in my store database. The customer bought 2 items, which are the only 2 items that are using the Free Shipper rule. But even though they are suppose to be Free Shipping he was charged shipping.

Hope this clarify it a little bit more for Dr Byte.

2 Jun 2011, 6:42 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: PayPal Website Payment Standard Error

Without seeing the IPN logs I can't do much else than simply sigh.

.
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.