I'm running uc_cim on a D6/UC2 site. Problem is this:

*******
1. new customer
2. makes a minor typo in cc credentials
3. passes review stage: order submitted
4. credit card payment declined
5. user notified and prompted to try again
6. payment declined again even with correct credentials
*******

From http://www.ubercart.org/comment/24160 this would be because Authorize.net already has a Customer profile for that user.

Authorize.net does have a Customer profile for the user, created at step 3. But no Payment profile for it was created, since payment failed at step 4.

Is uc_cim requesting Authorize.net to create a Customer Profile again at step 6, as if it was the first time (step 3)?

It should simply request to update the *Payment Profile* if the Customer Profile already exists.

But I'm not sure if this is really what's happening. The Event log only says again, at step 6, that the "Payment Profile could not be created: The transaction was unsuccessful", just like the first time. So it is not clear exactly what the problem was.

The 6-step sequence above is 100% repeatable. Correct credentials are entered at step 6. The payment declined.

Can others confirm this problem?

Comments

sansui’s picture

I'm not sure if I can help you at all, but I'm working on this in a testing environment with an authorize developer account - unfortunately the developer account is extremely accomodating for whatever information you input. Are you using a live account or developer account in this?

I would like to try and confirm or add my own information to your issue but not sure if I can duplicate it with dev account?

jpdaut’s picture

Thanks @Sansui I'm using a live account in Production mode. If you can reproduce this in a developer account, that could help fixing the problem. Otherwise do try in a live acccount. I'll be interested in your results.

jpdaut’s picture

Does anybody have a similar problem? Could someone tell me what could be going on here? Thank you.

entrigan’s picture

Not sure, but I know uc_cim has some major issues with the most recent version of ubercart. See #925860: uc_cim patches for ubercart 6.x-2.x-dev, uc_recurring 6.x-2.x-dev for efforts to bring this module back to speed.

jpdaut’s picture

Actually my steps are too detailed. Cim charge simply fails on a new card, period. Looking into it I see that $order does not have the billing info. I don't know why not, because I can see that uc_checkout_pane_cim(), op process, attempted to save these details in the $order object.

However something does not work because in uc_cim_charge() $order no longer has that info.

Could anyone shed some light on this?

jaypark’s picture

did you try these patches? http://drupal.org/node/925860 they weren't included in the last dev release... you might want to ask the maintainer why.