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???
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:
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
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).
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?
Moderation
Destination thread ID and reason are required when shown.
Report Post
Tell staff why this post should be reviewed.
Manage cookie preferences
Our cookie policy has been updated, so we need you to review your preferences and consent again.