Skip to content

Support Internet Banking payment method.#41

Merged
guzzilar merged 5 commits intodevelopfrom
internetbanking
Jun 28, 2017
Merged

Support Internet Banking payment method.#41
guzzilar merged 5 commits intodevelopfrom
internetbanking

Conversation

@guzzilar
Copy link
Copy Markdown
Contributor

@guzzilar guzzilar commented Jun 28, 2017

1. Objective

To add support Omise's Internet Banking feature.

2. Description of change

2.1. New payment method code omise_internetbanking.
2.2. New callback url ?wc-api=omise_internetbanking_callback&order_id=xx
2.3. New setting tab at admin, WooCommerce Checkout page.
2.4. New payment method at the checkout page (Internet Banking).

3. Quality assurance

  • Platform version: WooCommerce v3.0.9
  • PHP version: 7.0.16.

✏️ Details:

3.1. Once you install the plugin and enable it. You must see this setting in the WooCommerce > Setting > Checkout page.

screencapture-127-0-0-1-wp-admin-admin-php-1498679181346

3.2. After you enable the payment method. Now the Internet Banking payment method will be appeared in the checkout page.

screen shot 2560-06-29 at 2 47 43 am

3.3. Test checkout with internet banking payment method and mark a payment as failure
screen shot 2560-06-29 at 2 58 40 am

You will be redirected back to the checkout page with an error message on a screen

screen shot 2560-06-29 at 2 58 22 am

Omise Dashboard, charge detail page.
screen shot 2560-06-29 at 3 25 29 am

3.4. Test checkout with internet banking payment method and mark a payment as success.

screen shot 2560-06-29 at 2 58 42 am

You will be redirected back to the order-received page.
screen shot 2560-06-29 at 3 04 37 am

Omise Dashboard, charge detail page.
screen shot 2560-06-29 at 3 25 05 am

3.5. Check at admin, WooCommerce order detail page , you will see new order was made by using internet banking as a payment method.

screen shot 2560-06-29 at 3 21 32 am

4. Impact of the change

No.

5. Priority of change

Normal

6. Additional Notes

  • You will need to assign your public key & secret key again in another payment method. (now 2 payment methods cannot share the same key).
  • Which means, you may need to reset your secret key at Omise dashboard to get a live secret key that you can use with Internet Banking payment.

@guzzilar
Copy link
Copy Markdown
Contributor Author

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant