I believe I have located a serious bug in the payflowpro module that causes repeat customers to have payment issues.
For the past months I've had repeat customers turned away due to duplicate transations submitted. Today, after turning on debugging I saw that the customer number was being submitted in place of an invoice number due to a transposition in the file payflowpro.php
The failure code for this error is below. It comes in an email titled "Payment Failure Notice"
Duplicate trans: 10536-The transaction was refused as a result of a duplicate invoice ID supplied. Attempt with a new invoice ID&HOSTCODE=10536
The fix is to change one line in the file payflowpro.php at about line 313:
Change this:
'INVNUM' => 'Cust:' . $_SESSION['customer_id'] . ' Order:' . $new_order_id ,
To this:
'INVNUM' => 'Order:' . $new_order_id . '_Cust:' . $_SESSION['customer_id'] ,
This error has been costing me $$ and I'm pleased to hopefully fix it. If others can confirm this as an issue we ought to upload the fixed file asap.
:)
Tom