Forums / PayPal Website Payments Pro support / ALERT: PayPal Direct Payment Error (0 <!-- Approved -->)

ALERT: PayPal Direct Payment Error (0 <!-- Approved -->)

Locked

Started by fergusmacdonald on 18 Oct 2008, 1:41 PM · Views: 4,159

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
18 Oct 2008, 1:41 PM
#1
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

ALERT: PayPal Direct Payment Error (0 <!-- Approved -->)

I've received this error a couple of times. The customer is redirected back to stage 2 of the checkout process, but payment goes through.

The subject of the email alert:
ALERT: PayPal Direct Payment Error (0 <!-- Approved -->)

The body of the email alert:

0 -

The error log generated (personal information removed):

2008-10-17 05:03:08
-------------------
(live transaction) --> https://payflowpro.verisign.com/transaction
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 - Payflow Pro
    [4] => X-VPS-VIT-Integration-Version: 1.3.8a
)


Request Parameters: {DoDirectPayment} 
Array
(
    [ACCT] => ************6106
    [AMT] => 38.13
    [BUTTONSOURCE] => ZenCart-DP_uk
    [CARDISSUE] => 
    [CITY] => xxxx
    [COUNTRY] => US
    [CURRENCY] => GBP
    [CVV2] => ***
    [EMAIL] => xxxx
    [EXPDATE] => xxxx
    [IPADDRESS] => xxxx
    [NAME] => xxxx
    [PHONENUM] => xxxx
    [STATE] => xxxx
    [STREET] => xxxx
    [TENDER] => C
    [TRXTYPE] => S
    [VERBOSITY] => MEDIUM
    [ZIP] => 30904
    [REQUEST_ID] => 1224262985
    [USER] => xxxx
    [PWD] => xxxx
    [PARTNER] => xxxx
    [VENDOR] => xxxx
)


Response: 
Array
(
    [RESULT] => 0
    [PNREF] => EQEP2F0DFCF5
    [RESPMSG] => Approved
    [AUTHCODE] => 111111
    [AVSADDR] => X
    [AVSZIP] => X
    [CVV2MATCH] => Y
    [PPREF] => 12113813RC956000Y
    [CORRELATIONID] => d3e6651d2f4a9
    [PROCAVS] => G
    [PROCCVV2] => M
    [IAVS] => N
    [REQUEST_ID] => 1224262985
    [CURL_ERRORS] => 
)


DoDirectPayment, Elapsed: 3116ms -- Succeeded

Does anyone know why this error is being generated? I was thinking perhaps it timed out, then approved?

Any help would be much appreciated, or please let me know if you need more information.

Thanks.

18 Oct 2008, 6:50 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: ALERT: PayPal Direct Payment Error (0 <!-- Approved -->)

Is this the same problem as reported in this post? http://www.zen-cart.com/forum/showthread.php?t=110910
When did it start happening?

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

19 Oct 2008, 12:19 PM
#3
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

Re: ALERT: PayPal Direct Payment Error (0 <!-- Approved -->)

I don't think it's exactly the same error, or if it is, it's presenting differently for me.

My email doesn't have the text:

ALERT: PayPal Direct Payment Error (0 )
Dear store owner,
An error occurred when attempting to initiate the payment-validation transaction. As a courtesy, only the error "number" was shown to your customer. The details of the error are shown below.

Approved

It just says:

The subject of the email alert:
ALERT: PayPal Direct Payment Error (0 <!-- Approved -->)

The body of the email alert:

0 -

It has happened a total of 7 times since 5th April. Let me know if you want to see the other logs.

19 Oct 2008, 1:45 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: ALERT: PayPal Direct Payment Error (0 <!-- Approved -->)

Or this one? http://www.zen-cart.com/forum/showthread.php?t=85903
I'd suggest trying the fix in post #24 of this one regardless.

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

22 Oct 2008, 11:38 AM
#5
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

Re: ALERT: PayPal Direct Payment Error (0 <!-- Approved -->)

DrByte:

Or this one? http://www.zen-cart.com/forum/showthread.php?t=85903
I'd suggest trying the fix in post #24 of this one regardless.

Sorry for the slow reply.

No, it appears that this error is different to both errors mentioned in the above thread.

  1. We are not getting a 500 Internal Server Error as in: http://www.zen-cart.com/forum/showpost.php?p=497056&postcount=6 and we are getting 'Succeed' at the bottom, not 'Failed.

  2. We are getting a transaction ID being generated.

I have applied the fix in post 24 and will wait and see if that solves the problem.

23 Oct 2008, 2:06 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: ALERT: PayPal Direct Payment Error (0 <!-- Approved -->)

When you get that email, does the order actually get stored in your admin orders list properly?

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

23 Oct 2008, 8:14 PM
#7
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

Re: ALERT: PayPal Direct Payment Error (0 <!-- Approved -->)

Sorry, should've mentioned that at the start. No, an order is not created in Zen-Cart.

23 Oct 2008, 9:46 PM
#8
drbyte avatar

drbyte

Sensei

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

Re: ALERT: PayPal Direct Payment Error (0 <!-- Approved -->)

Okay, well at least the error-detector is properly rejecting the transaction when the error is triggered.
Now ... gotta figure out what's triggering it incorrectly.
Can you PM me with a link to a zip of the logs which show evidence of more of those kinds of transactions?

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