Problem/Motivation

Enabling Verified By Visa (VBV) in the configuration page of this module results in payments appearing as being charged twice in the Order Summary. For example, a purchase of a $1 item shows in the Order History as:

09/16/2012 2:48:24 PM 1 Credit card **purchase** amount: $1.00
09/16/2012 2:48:26 PM 1 Credit card **purchase** amount: $1.00

It looks as though the card is being invoiced twice, two second apart. I only see one charge to the card when paying with VBV disabled.

Comments

IanBezanson’s picture

For me, the issue is that uc_moneris_mpi_complete(); is being triggered on line 159 of uc_moneris.module, directly following the comment:

"TODO6: Based on the switch above, will the current function ever call uc_moneris_mpi_complete?"

So I guess that the answer is yes :)

Commenting this line out also seems to take care of Enabling VBV sends the user back to cart/checkout post-purchase

IanBezanson’s picture

Hmm, I've spoken too soon, this appears to stop payment from processing altogether.

EDIT: I wasn't being patient enough, this did seem to get it.