When order is paid, status is updated as Processing. The status should be updated as “Paid”.

Hi Dmitry, there are 2 issues i discovered with the Dragonpay Module.

  1. When order is paid, status is updated as Processing. The status should be updated as “Paid”.
  2. The order is placed even if customer did not select any option from the dragonpay. Please see the video https://drive.google.com/file/d/1v9G71te_JbTOsvIzvTFnsn-IIbIjdtks/view

@Kevin_Lee
Magento 2 does not provide the “Paid” order status.
You can learn the predefined order statuses in the official Magento 2 documentation: docs.magento.com/m2/ce/user_guide/sales/order-status.html

I see, please checking the #2 issue.

It is the expected behaviour: an order is placed when the customer presses the “Place Order” button.
The unpaid order has the “Pending” status.
When Dragonpay confirms the payment (via a callback), the order’s status is changed to "Processing.

03

Hi, customer should not be able to place an order without dragonpay reference #.

please refer to this https://drive.google.com/file/d/1v9G71te_JbTOsvIzvTFnsn-IIbIjdtks/view

user did not select any option yet and no dragonpay ref# generated, so the order should not be placed.

When a customer is redirected to the Dragonpay payment form, Magento loses an ability to track the customer’s actions (until Dragonpay exactly notifies Magento that the orer is paid).
So Magento creates an order on the “Place Order” action. The order has the Pending status.
When Dragonpay confirms the payment (via a callback), the order’s status is changed to "Processing .
It is the expected behaviour and I do not want to spend my time to repeat it the third rime.