Hello,
It wasn't possible using the Hikashop plugin events and ended up writing custom code and insert/update queries.
If you do let the plugin authorize the order creation ; depending the rest of your store configuration it can also empty the cart and provide a strange result for the customer.
But, it can also work in some cases.
Jerome and Nicolas. Maybe there are more people interested in this as well. If so, could we get this worked into the default Authorize.net payment plugin as an option?
All HikaShop plugin which are asking the credit card details during the checkout are working the same.
They all perform the payment gateway during the "onBeforeOrderCreate" and stop the processing if the payment platform return an error.
So unfortunately we won't update the Authorize.net plugin to change its behavior if the result is something different than every other plugin of the same kind.
I hope that you understand our point of view.
Regards,