New Zenner
- Join Date:
- Jun 2015
- Location:
- California
- Posts:
- 54
- Plugin Contributions:
- 0
Post #1 by lightbrown
1.5.5d
php 5.4.43
PayPal Payflow Pro and PayPal Express payment modules are both active.
plugins:
COWOA
One Page Checkout (same error also occured before installing OPC)
a few other small ones
I seem to be showing the same problem as this thread from 2010: https://www.zen-cart.com/showthread.php?166294-An-Error-has-Occurred-%280-lt-!-Approved-gt-%29
This has happened from time to time for a while but quite rarely. Usually in weird spurts, like three or four errors over the course of a week and then nothing for months. This last weekend it happened four times and hasn't happened again since then.
Essentially, the customer inputs their CC info in the ZC payment page, then clicks the process order button and the payment succeeds through the Payflow gateway (money is received) but the customer is kicked back to the payment page with a red "0" where their would normally be a payment error message at the top of the payment page. So the customer thinks the order didn't go through. No order is recorded in ZC admin. The PayPal IPN log in admin doesn't record anything.
We receive an email with the subject line "An Error has Occurred (0 <!-- Approved -->)"
Dear store owner,
An error occurred when attempting to initiate a PayPal Express Checkout transaction. As a courtesy, only the error "number" was shown to your customer. The details of the error are shown below.Approved
Zen Cart message: 0 <!-- Approved --> -
Transaction Response Details: Array
(
[RESULT] => 0
[PNREF] => BX0PF604DF10
[RESPMSG] => Approved
[AUTHCODE] => 111111
[AVSADDR] => Y
[AVSZIP] => Y
[CVV2MATCH] => Y
[PPREF] => 9FP02326LA472405N
[CORRELATIONID] => 3af892dc20820
[PROCAVS] => Y
[PROCCVV2] => M
[IAVS] => N
[PREFPSMSG] => No Rules Triggered
[POSTFPSMSG] => No Rules Triggered
[REQUEST_ID] => 1489425832
[CURL_ERRORS] =>
)Transaction Submission: Array
(
[ACCT] => PRIVATE
[AMT] => 51.05
[CARDISSUE] =>
[CITY] => PRIVATE
[COUNTRY] => US
[CURRENCY] => USD
[CUSTOM] => PF-33854-1489425832
[CVV2] => ***
[EMAIL] => PRIVATE
[EXPDATE] => PRIVATE
[FIRSTNAME] => PRIVATE
[INVNUM] => 33854-1489425832-[PRIVATE]
[IPADDRESS] => PRIVATE
[ITEMAMT] => 32.00
[LASTNAME] => PRIVATE
[NOTIFYURL] => https://www.DOMAIN/ipn_main_handler.php
[PHONENUM] => PRIVATE
[SHIPPINGAMT] => 19.05
[STATE] => PRIVATE
[STREET] => PRIVATE
[TENDER] => C
[TRXTYPE] => S
[ZIP] => PRIVATE
[REQUEST_ID] => 1489425832
)
I had a back and forth with PayPal over the last week, and they eventually told me it must be an issue with Zen Cart. They looked at the transactions from their end and said that everything looked normal: "I was checking your IPN on your account and there is no problems on our end. PayPal sends IPN but we don't know what ZenCart is doing with it."
I cannot reliably reproduce the error, and I have only seen it from the customer's perspective once.
So it seems like there is a communication error between PayPal and Zencart. Any ideas or advice is greatly appreciated. I can't come up with any explanation for this.
(This error occurred while running 1.3.9 as well)
Cheers!