Skip to main content

Order is processed before payment is made

11 years 8 months ago #192121 by pwpagency
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.4.0

We are using Authorize.net (SIM) to process transactions (order). We notice that the order is processed (emails are sent and order is added to the order list in the orders tab) before the authorize.net transaction has occured.

This is the problematic workflow:

checkout > finish > order is made and emails are sent > redirected to authorize.net page.

As you can see the order is finishing at the same time the visitor is redirected to the auth.net page to enter payment information.

Can someone share their expertise on this workflow and the remedy if it's a configuration issue.

Please Log in or Create an account to join the conversation.

11 years 8 months ago #192145 by Jerome
Hi,

The order is not processed, the order is just created.
So you receive an email to informed that the order has been created but with the default status (which should be "created").
Then, when the customer will pay the order, Authorize.net will confirm the payment and the order will be changed to "confirmed" (or other status depending your payment plugin config).

Because Authorize.net requires an order id, HikaShop must create an order, to get the ID and all other useful information.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

11 years 8 months ago - 11 years 8 months ago #192277 by pwpagency
Thank you for the explanation. It leads to another question, "Does authorize.net communicate with Hikashop automatically to change it's status to confirmed or do we need to do more configuration/programming to make this happen?"
Last edit: 11 years 8 months ago by pwpagency. Reason: incorrect punctuation

Please Log in or Create an account to join the conversation.

11 years 8 months ago #192314 by nicolas
Hi,

Yes. Authorize.net sends a payment notification to HikaShop and upon receiving it, HikaShop will confirm the order and notify the customer and the admin of the order confirmation.
There is no code to add for that.

Please Log in or Create an account to join the conversation.

Time to create page: 0.049 seconds
Powered by Kunena Forum