4 replies [Last post]
neetagov's picture
Offline
Joined: 04/25/2009
Juice: 19
Was this information Helpful?

I am using ubercart v1.7, drupal v5.16. We are using PayFlow Link as the gateway for a non-profit site that accepts donations on-line. We have been having a few problems with the way the order status is working--or not. First of all, all transactions end up generating two orders, the first one is usually "in checkout" and the second is "complete" or some other finished status. So one problem I have is that I have two orders for each transaction which is confusing.

The second problem I have is that any orders for $1000 or more end up only getting an "in check out" or "pending" status in the ubercart store manager. The transactions works fine through PayFlow and is successfully paid and processed.Somehow these larger transactions have a message in the order that says a smaller amount was processed first. The payment is processed fine, but the incorrect status makes it hard to reconcile transactions.Here is a sample admin comments in the order for a test purchase for $1000.

12/15/2009
5:13:03 PM - Payment of $1.00 submitted through Payflow Link.
12/15/2009
5:14:00 PM - Order created through website.

The developer who has created the site has not been able to correct this. I am willing to compensate anyone who can get this resolved.

thanks,
Neeta

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: assigning correct status to orders

It looks like there's something getting "1000", "1,000", and maybe "1.000" confused. If PHP treats these as numbers instead of strings, the first one will be considered 1000 like you expect, but the second and third will only be treated as 1.

Start with the code that adds the first admin comment. If the price's value is "1,000" instead of "1000", then use something besides uc_currency_format().

marthast's picture
Offline
Joined: 01/04/2010
Juice: 2
Thanks Lyle

I am facing the same issue as Neeta. Will give your suggestion a try and see. Smiling

neetagov's picture
Offline
Joined: 04/25/2009
Juice: 19
problem fixed

Hi all,

my developer found a fix for this. I will get details shortly and post here. thanks

neetagov's picture
Offline
Joined: 04/25/2009
Juice: 19
here is the fix

My developer said that. there is a bug in the system. The system thinks that amounts more than $1000 are written as $1.00. We were able to get a completed transaction through paypal which means the amount being sent there was correct, but ubercart marked the status incorrectly. I think Lyle's post was on target. good luck