Forums / Addon Payment Modules / Random orders not completing when using the Payflow Pro addon

Random orders not completing when using the Payflow Pro addon

Locked
Results 1 to 6 of 6
This thread is locked. New replies are disabled.
20 Oct 2010, 03:03
#1
christamcc avatar

christamcc

New Zenner

Join Date:
May 2008
Posts:
21
Plugin Contributions:
0

Random orders not completing when using the Payflow Pro addon

We are suddenly having this exact problem (for the last 5 months after 3 years of successful orders). There have been no significant to changes to our site or servers in that time.

Different from above is that we are using PayFlow Pro Gateway (Paypal is not an option for the company).

There is no difference in the cached logs for the successful and unsuccessful orders. (by unsuccessful I mean: payment processed, log made, order in Orders table, no products and no email.)

Time elapsed as show by log is not longer for unsuccessful orders. (example: DoDirectPayment, Elapsed: 656ms -- Succeeded)

Suggestions of where I should look next for clues???

Much appreciated!

christa
03 Nov 2010, 02:06
#2
christamcc avatar

christamcc

New Zenner

Join Date:
May 2008
Posts:
21
Plugin Contributions:
0

Re: Random orders not completing when using the Payflow Pro addon

thanks, I will continue to add information as I find it and maybe it will create an idea... :)

After tracing the code and looking closely at what made it into the database it appears that the break in the process occurs in checkout_process.php. The last line that works correctly is:

$payment_modules->after_order_create($insert_id); //function completes successfully

the next lines do not run:
$zco_notifier-> notify('NOTIFY_CHECKOUT_PROCESS_AFTER_PAYMENT_MODULES_AFTER_ORDER_CREATE');
// store the product info to the order
$order->create_add_products($insert_id); //doesn't happen
03 Nov 2010, 04:46
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Random orders not completing when using the Payflow Pro addon

This thread is discussing PayPal IPN/PDT.
But your problem is occurring when using the Payflow Pro addon, right?
And what version of Zen Cart?
And what's in the logs? https://www.zen-cart.com/tutorials/index.php?article=82 and http://www.zen-cart.com/forum/showthread.php?t=61199 (similar options available in the Payflow module)
03 Nov 2010, 18:33
#4
christamcc avatar

christamcc

New Zenner

Join Date:
May 2008
Posts:
21
Plugin Contributions:
0

Re: Random orders not completing when using the Payflow Pro addon

Nice to see you DrByte! Yes mine is with Payflow Pro, but this was the newest thread I could find that had a similar looking problem. (and honestly, I didn't quite understand what I was reading! :blush: )

I'm currently using 1.3.8a. Today I am starting the update to 1.3.9 to first eliminate the double-click issue. (Which is a problem for possible a couple of them, but not all of them)

I have traced the code to try to see where it's breaking. For all of them:

1. The credit cards are successfully being processed by Payflow pro.
2. ZenCart is recording the response from Payflow. (according to the logs)
3. ZenCart is creating the orders record, order_status_history record. (A couple of the blank orders didn't record the cc info in the orders record. The others did.)
3. Information after that point is incomplete.
3. IF the customer goes back and repeats the order (orders the same products, same info) it goes through successfully.

I have talked with our server provider and they are not seeing any issue with the servers.

I am trying to get information from a customer to find out what they are seeing on the order that didn't fully process. And am about to do several test orders to see if I can create the problem and see it for myself.

I do not have the Debug Error Logging Utility. The PayFlow Debugging Log is on and logs for complete orders are no different from incomplete orders. (I can show them if that would be helpful.)

We've seen this with 7 orders in the last couple months (which is about 5% of orders).
03 Nov 2010, 19:35
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Random orders not completing when using the Payflow Pro addon

1. I've split this conversation into its own thread, since it's a different issue than the one where you started it.

2. You can (and should) install the debug logging utility, as it may very well reveal the actual cause of your problems.
16 Dec 2010, 05:27
#6
christamcc avatar

christamcc

New Zenner

Join Date:
May 2008
Posts:
21
Plugin Contributions:
0

Re: Random orders not completing when using the Payflow Pro addon

I added the debug, there was in intermittent php warning that showed up on the shopping cart. I fixed it, but the the main issue of empty orders is still happening.

Other suggestions?