Support Internet Banking payment method.#41
Merged
Conversation
Note: This commit is just to make WooCommerce be able to make a charge with Internet Banking payment. The validation and order handling functions haven't been implemented yet.
Contributor
Author
|
👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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=xx2.3. New setting tab at admin, WooCommerce Checkout page.
2.4. New payment method at the checkout page (Internet Banking).
3. Quality assurance
✏️ Details:
3.1. Once you install the plugin and enable it. You must see this setting in the WooCommerce > Setting > Checkout page.
3.2. After you enable the payment method. Now the Internet Banking payment method will be appeared in the checkout page.
3.3. Test checkout with internet banking payment method and mark a payment as

failureYou will be redirected back to the checkout page with an error message on a screen
Omise Dashboard, charge detail page.

3.4. Test checkout with internet banking payment method and mark a payment as
success.You will be redirected back to the

order-receivedpage.Omise Dashboard, charge detail page.

3.5. Check at admin, WooCommerce order detail page , you will see new order was made by using
internet bankingas a payment method.4. Impact of the change
No.
5. Priority of change
Normal
6. Additional Notes
live secret keythat you can use with Internet Banking payment.