Make it easier to refer to the order of PrestaShop from Omise dashboard by attach PrestaShop order ID to metadata of Omise charge.
Related information:
Related issue: -
Related ticket: -
2. Description of change
Add a function to generate Omise metadata for charge.
Attach metadata that contained PrestaShop order ID to the Omise charge both card payment and internet banking payment.
3. Quality assurance
Environments:
Platform: PrestaShop 1.7.2.4
Omise plugin: Omise PrestaShop 1.3
PHP: 5.6.31
Details:
There are 6 test cases.
Success normal card payment.
Failed normal card payment.
Success 3-D Secure payment.
Failed 3-D Secure payment.
Success internet banking payment.
Failed internet banking payment.
All test case expect metadata saved and displayed in Omise dashboard.
Success normal card payment.
The screenshot below shows success charge detail in Omise dashboard. In the red box, order ID of PrestaShop has been saved and displayed as metadata of Omise charge.
The screenshot below shows order detail in PrestaShop back office. In the red box, the step of order status has been changed from 1 step to 2 steps, save order as processing and update order status to be success (Payment accepted).
Failed normal card payment.
The screenshot below shows failed charge detail in Omise dashboard. In the red box, order ID of PrestaShop has been saved and displayed as metadata of Omise charge.
The screenshot below shows failed order detail in PrestaShop back office. In the red box, the step of order status has been changed to 2 steps same as the first test case.
Success 3-D Secure payment.
The screenshot below shows success 3-D Secure charge detail in Omise dashboard. In the red box, order ID of PrestaShop has been saved and displayed as metadata of Omise charge.
Failed 3-D Secure payment.
The screenshot below shows failed 3-D Secure charge detail in Omise dashboard. In the red box, order ID of PrestaShop has been saved and displayed as metadata of Omise charge.
Success internet banking payment.
The screenshot below shows success internet banking charge detail in Omise dashboard. In the red box, order ID of PrestaShop has been saved and displayed as metadata of Omise charge.
Failed internet banking payment.
The screenshot below shows failed internet banking charge detail in Omise dashboard. In the red box, order ID of PrestaShop has been saved and displayed as metadata of Omise charge.
4. Impact of the change
For the normal card payment, the step of payment processing has been changed. It has been changed,
From 1 step of saving an PrestaShop order when Omise charged is success
To 2 steps of saving an PrestaShop order by
Save PrestaShop order as processing to use the generated order ID attached it to Omise charge metadata
Update PrestaShop order status to be success, if Omise charge is success or update PrestaShop order status to be canceled, if Omise charge is failed.
So, the record of order status has 2 records as mentioned from the above first and second test cases.
1. Objective
Make it easier to refer to the order of PrestaShop from Omise dashboard by attach PrestaShop order ID to metadata of Omise charge.
Related information:
2. Description of change
3. Quality assurance
Environments:
Details:
There are 6 test cases.
All test case expect metadata saved and displayed in Omise dashboard.
The screenshot below shows success charge detail in Omise dashboard. In the red box, order ID of PrestaShop has been saved and displayed as metadata of Omise charge.
The screenshot below shows order detail in PrestaShop back office. In the red box, the step of order status has been changed from 1 step to 2 steps, save order as processing and update order status to be success (Payment accepted).
The screenshot below shows failed charge detail in Omise dashboard. In the red box, order ID of PrestaShop has been saved and displayed as metadata of Omise charge.
The screenshot below shows failed order detail in PrestaShop back office. In the red box, the step of order status has been changed to 2 steps same as the first test case.
The screenshot below shows success 3-D Secure charge detail in Omise dashboard. In the red box, order ID of PrestaShop has been saved and displayed as metadata of Omise charge.
The screenshot below shows failed 3-D Secure charge detail in Omise dashboard. In the red box, order ID of PrestaShop has been saved and displayed as metadata of Omise charge.
The screenshot below shows success internet banking charge detail in Omise dashboard. In the red box, order ID of PrestaShop has been saved and displayed as metadata of Omise charge.
The screenshot below shows failed internet banking charge detail in Omise dashboard. In the red box, order ID of PrestaShop has been saved and displayed as metadata of Omise charge.
4. Impact of the change
For the normal card payment, the step of payment processing has been changed. It has been changed,
From 1 step of saving an PrestaShop order when Omise charged is success
To 2 steps of saving an PrestaShop order by
So, the record of order status has 2 records as mentioned from the above first and second test cases.
5. Priority of change
Normal
6. Additional notes
-