Order is processed before payment is made

  • Posts: 20
  • Thank you received: 0
10 years 2 months ago #192121

-- 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.

  • Posts: 26235
  • Thank you received: 4036
  • MODERATOR
10 years 2 months ago #192145

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 20
  • Thank you received: 0
10 years 2 months ago #192277

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: 10 years 2 months ago by pwpagency. Reason: incorrect punctuation

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

  • Posts: 83832
  • Thank you received: 13572
  • MODERATOR
10 years 2 months ago #192314

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.057 seconds
Powered by Kunena Forum