Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENGA3-1134]: Installment minimum amount #365

Merged
merged 6 commits into from
Apr 17, 2023

Conversation

aashishgurung
Copy link
Contributor

1. Objective

Fetch the minimum amount of Installment payment method from live config of the Opn account.

Jira Ticket: #1134

2. Description of change

Updated the Omise PHP to use minimum amount from the capability API instead of pre-defined value. Added a function getInstallmentMinLimits in includes/class-omise-capabilities.php to get the minimum amount to show it in the checkout page.

Screenshot 2566-04-10 at 11 02 38

3. Quality assurance

  • Updated the minimum installment amount value from the Opn configuration

  • Enable Installment payment method in WooCommerce.

  • Add items to the cart but below the installment amount value you set up on the Opn config.

  • You should see above screenshot.

  • Add items to the cart above the installment amount value you set up on the Opn config.

  • You should see a list of banks.

🔧 Environments:

  • WooCommerce: v6.7.0
  • WordPress: v6.0.2
  • PHP version: 8.1
  • Omise WooCommerce: 5.0.0

@aashishgurung aashishgurung changed the base branch from develop to master April 12, 2023 09:44
@aashishgurung aashishgurung changed the base branch from master to develop April 12, 2023 09:44
ajzkk
ajzkk previously approved these changes Apr 12, 2023
@aashishgurung aashishgurung merged commit 8530b7a into develop Apr 17, 2023
@aashishgurung aashishgurung deleted the feature/ENGA3-1134-installment-minimum-amount branch May 3, 2023 10:16
@ajzkk ajzkk mentioned this pull request May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants