omise / omise-prestashop

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

Create Omise card token #33

Closed nimid closed 7 years ago

nimid commented 7 years ago

1. Objective

Create Omise card token at the front office, client side.

The Omise card token will be submitted to server side to create Omise charge in the next step.

Related information:

2. Description of change

Note The behavior of card payment form is similar to the before change. The behavior of card payment form after the user clicked submit payment button are:

3. Quality assurance

Environments:

Details:

There are 2 test cases.

  1. Success case, test create Omise card token by using valid credit card information. The Omise card token must be created and assigned to the HTML element, hidden.
  2. Fail case, test create Omise card token by using invalid credit card information. The error message must be displayed.

The screenshot below shows the testing on Google Chrome 61.0. The Omise card token has been created and assigned to the HTML element, hidden.

omise-prestashop-successfully-create-omise-card-token-on-google-chrome-61 0

The screenshot below shows the testing on Mozilla Firefox 56.0.1. The Omise card token has been created and assigned to the HTML element, hidden.

omise-prestashop-successfully-create-omise-card-token-on-firefox-56 0 1

The screenshot below shows the testing on Opera 48.0. The Omise card token has been created and assigned to the HTML element, hidden.

omise-prestashop-successfully-create-omise-card-token-on-opera-48 0

The screenshot below shows the testing on Safari 11.0. The Omise card token has been created and assigned to the HTML element, hidden.

omise-prestashop-successfully-create-omise-card-token-on-safari-11 0

The screenshot below shows the error message when create Omise card token with invalid card number on Safari 11.0.

omise-prestashop-error-message-when-create-omise-card-token-with-invalid-credit-card-number

4. Impact of the change

-

5. Priority of change

Normal

6. Additional notes

References: