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

Bug Fixed not compatible with country based payments plugin #379

Merged

Conversation

ajzkk
Copy link
Contributor

@ajzkk ajzkk commented Jun 1, 2023

1. Objective

Bug Fixed not compatible with country based payments plugin

2. Description of change

Country based payments plugin remove the the whole html element of omise card payment, if user not selected the country in shipping address.

3. Quality assurance

Tested locally with

  • For first time user
  • Tested with normal user
  • Tested with guest user

4. Impact of the change

N/A

5. Priority of change

Normal

@ajzkk ajzkk requested a review from aashishgurung as a code owner June 1, 2023 05:20
@ajzkk ajzkk changed the title ixed not compatible with country based payments plugin Bug Fixed not compatible with country based payments plugin Jun 1, 2023
@aashishgurung
Copy link
Contributor

aashishgurung commented Jun 1, 2023

Can you add more description about how other plugins removed code from our plugin? How does this change prevents that?

@ajzkk
Copy link
Contributor Author

ajzkk commented Jun 1, 2023

Can you add more description about how other plugins removed code from our plugin? How does this change prevents that?

I do not know how their plugin work, but I can visually see in checkout page that card payment is missing, and also if you try to inspect, you will see card payment element is missing until user select the country. So I check with the element. If element is missing, then do not run showOmiseEmbeddedCardForm

@ajzkk ajzkk merged commit 8d85f1b into develop Jun 7, 2023
3 checks passed
@aashishgurung aashishgurung mentioned this pull request Jun 12, 2023
aashishgurung added a commit that referenced this pull request Jun 13, 2023
* [ENGA3-1334]: Fix invalid product issue with variance item (#377)

* [ENGA3-1334]: Added WC_Product_Variation class when the item is a variant to fix the invalid prodcut issue. Atome logo is also added.

* Fixed formatting.

---------

Co-authored-by: Aashish <aashish@omise.co>

* [ENGA3-1334]: Remove free products from the Atome bill (#378)

* [ENGA3-1334]: Remove free products from Atome product list.

* [ENGA3-1134]: Updated the message for Atome on freebie products.

* [ENGA3-1134]: Check subtotal instead of price per item when comparing to zero.

---------

Co-authored-by: Aashish <aashish@omise.co>

* fixed not compatible with country based payments plugin (#379)

* Preparing release of v5.1.1

* Updated release date

---------

Co-authored-by: Aashish <aashish@omise.co>
Co-authored-by: (AJ) Zin Kyaw Kyaw <108650842+ajzkk@users.noreply.github.com>
@ajzkk ajzkk deleted the bug/not-compatible-with-country-based-payments-plugin branch July 26, 2023 04:35
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