omise / omise-prestashop

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

Save payment method name correctly as selected by payer #41

Closed nimid closed 6 years ago

nimid commented 6 years ago

1. Objective

Save payment method name correctly as selected by payer.

Currently, Omise PrestaShop has more than one payment method, card payment and internet banking payment. The payment method name that saved to the order should reflected the actual payment method that was chosen by the payer.

Related information:

2. Description of change

3. Quality assurance

Environments:

Details:

Before change

The payment method name that saved to the order has been fixed by using name, Omise (Omise::MODULE_DISPLAY_NAME).

The screenshot below shows PrestaShop back office, order detail page. In the red box, the payment method of this order is fixed, Omise.

prestashop-1 7 2 4-fixed-payment-method-name

After change

The payment method that saved to the order is the actual payment method that selected by payer.

The screenshot below shows PrestaShop front office, completed card payment page. In the red box, the payment method name of card payment is the setting of title.

prestashop-1 7 2 4-successful-omise-card-payment

The screenshot below shows PrestaShop back office, order detail page. In the red box, the payment method name of card payment is the setting of title.

prestashop-1 7 2 4-back-office-order-detail-page-payment-method-is-setting-of-title

The screenshot below shows PrestaShop front office, completed internet banking payment page. In the red box, the payment method name is Internet Banking.

prestashop-1 7 2 4-successful-omise-internet-banking-payment

The screenshot below shows PrestaShop back office, order detail page. In the red box, the payment method name of internet banking payment is Internet Banking.

prestashop-1 7 2 4-back-office-order-detail-page-internet-banking-payment-method

4. Impact of the change

-

5. Priority of change

Normal

6. Additional notes

For the payment method name saved to the order, card payment is the setting of title. Internet banking payment is fixed the name Internet Banking.