omise / omise-prestashop

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

Create Omise internet banking charge #38

Closed nimid closed 7 years ago

nimid commented 7 years ago

1. Objective

Create Omise internet banking charge.

Related information:

2. Description of change

3. Quality assurance

Environments:

Details:

There are 7 test cases below.

  1. Successfully create Omise internet banking charge with Siam Commercial Bank (SCB)
  2. Successfully create Omise internet banking charge with Krungthai Bank (KTB)
  3. Successfully create Omise internet banking charge with Krungsri Bank (BAY)
  4. Successfully create Omise internet banking charge with Bangkok Bank (BBL)
  5. No any bank has been selected, display custom client-side script (jQuery Fancybox) warning message.
  6. No any bank has been selected, display native client-side script warning message, if the jQuery Fancybox can not be loaded.
  7. Failed create Omise internet banking payment charge.

Steps before test.

  1. The screenshot below shows Omise dashboard, charge detail. This charge is internet banking charge with SCB.

omise-dashboard-internet-banking-scb

  1. The screenshot below shows Omise dashboard, charge detail. This charge is internet banking charge with KTB.

omise-dashboard-internet-banking-ktb

  1. The screenshot below shows Omise dashboard, charge detail. This charge is internet banking charge with BAY.

omise-dashboard-internet-banking-bay

  1. The screenshot below shows Omise dashboard, charge detail. This charge is internet banking charge with BBL.

omise-dashboard-internet-banking-bbl

  1. The screenshot below shows PrestaShop 1.7 front office, Omise internet banking payment form. It shows custom client-side script (jQuery Fancybox) warning message, when internet banking payment form has no any selected bank.

omise-prestashop-internet-banking-no-any-bank-selected-custom-messge-box

  1. The screenshot below shows PrestaShop 1.7 front office, Omise internet banking payment form. It shows native client-side script warning message, when internet banking payment form has no any selected bank and the jQuery Fancybox can not be loaded.
omise-prestashop-internet-banking-no-any-bank-selected-native-messge-box
  1. The screenshot below shows PrestaShop 1.7 front office, failed Omise internet banking payment.

omise-prestashop-failed-internet-banking-payment

The screenshot below shows PrestaShop 1.7 back office, failed Omise internet banking payment. The order has been automatically canceled.

prestashop-back-office-canceled-order-with-omise-internet-banking-payment

The screenshot below shows Omise dashboard failed internet banking charge.

omise-dashboard-failed-internet-banking-charge

4. Impact of the change

-

5. Priority of change

Normal

6. Additional notes

Reference to the PrestaShop 1.7 deprecated function, Order.getOrderByCartId().