Hi,
I have seen few posts around related to my problem, but didn’t find anything that will make it work.
I am testing zen cart 1.3.8a pointing to the SANDBOX, and I have a problem with the IPN module. Order status is not changing from Pending.
Looking at the IPN logs, I can see this:
-----------------------------------------------------------
[FONT="Courier New"]Jan 24 2009 9:01 -- Breakpoint: 4 - Details: txn_type=unknown ordersID = 0 IPN_id=0
Relevant data from POST:
txn_type = unknown
parent_txn_id = None
txn_id = 0TN047134C4492205
Jan 24 2009 9:01 -- Breakpoint: 5 - Transaction type (txn_type) = unknown
Jan 24 2009 9:01 -- IPN WARNING :: Could not process for txn type: unknown
[/FONT]
--------------------------------------------------------------
The transaction information is retrieved in the method [FONT="Courier New"]ipn_lookup_transaction[/FONT] in [FONT="Courier New"]paypal_functions.php[/FONT]. The code default these values as follow:
[FONT="Courier New"] $ordersID = 0;
$paypalipnID = 0;
$transType = 'unknown';[/FONT]
After retrieving the transaction information, there is a switch case to set the variable [FONT="Courier New"]transType[/FONT] based on the field [FONT="Courier New"]pending_reason[/FONT]. In my case the value of [FONT="Courier New"]pending_reason [/FONT]in the database is ‘paymentreview’, which is not checked in the switch case.
As result of that the order status is not being changed and I get the warning message.
Has anybody seen this before? Why the code is not handling ’payment review’? Is ’payment review’ a valid value? If not why do I get it from Paypal?
Thanks in advance




