Jump to content

Duplicate Order ID Assigned, Order Not Created But Payment Taken


Phrkd

Recommended Posts

It won't be the CubeCart_order_inventory insertions of the items for the order -- this definitely happens after the CubeCart_order_summary insertion happens.

We are looking for an insertion before the order summary gets databased.

Link to comment
Share on other sites

Finished my experiments and have concluded that the trigger's LAST_INSERT_ID catching the value from having made an insertion into the CubeCart_order_tax table -- for those stores that could make a sale that includes tax.

Should a store be set up so that taxes might not be applied, then the LAST_INSERT_ID may be catching the value from some other table's insertion -- if the integer part of the custom order_id does not match what is expected (see earlier discussion).

Link to comment
Share on other sites

In addition to the possible insertion of a database record of tax details on the sale, there could also be the possible insertion of a database record of coupon/giftcert usage on the sale in the CubeCart_order_notes table.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...