omise / omise-prestashop

Omise PrestaShop Plugin
https://docs.opn.ooo/prestashop-plugin
MIT License
4 stars 7 forks source link

Attach PrestaShop order ID to metadata of Omise charge #42

Closed nimid closed 6 years ago

nimid commented 6 years ago

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.

  1. Success normal card payment.
  2. Failed normal card payment.
  3. Success 3-D Secure payment.
  4. Failed 3-D Secure payment.
  5. Success internet banking payment.
  6. Failed internet banking payment.

All test case expect metadata saved and displayed in Omise dashboard.

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

omise-dashboard-prestashop-1 7 2 4-charge-detail-metadata-of-card-payment

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

prestashop-order-detail-normal-card-payment-2-steps-of-order-statuses

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

omise-dashboard-prestashop-1 7 2 4-charge-detail-metadata-of-failed-card-payment

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.

prestashop-order-detail-failed-normal-card-payment-2-steps-of-order-statuses

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

omise-dashboard-prestashop-1 7 2 4-charge-detail-metadata-of-3ds-card-payment

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

omise-dashboard-prestashop-1 7 2 4-charge-detail-metadata-of-failed-3ds-card-payment

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

omise-dashboard-prestashop-1 7 2 4-charge-detail-metadata-of-internet-banking-payment

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

omise-dashboard-prestashop-1 7 2 4-charge-detail-metadata-of-failed-internet-banking-payment

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

-