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

Asynchronously rendering Apple Pay button #954

Merged
merged 8 commits into from
Aug 22, 2023

Conversation

amihajlovski
Copy link
Contributor

For the express option we can use the isAvailable property that checkout offers, but not at the end of checkout.
At the end of checkout we have to use regex and not render the payment method.

@amihajlovski amihajlovski changed the base branch from main to develop August 15, 2023 13:29
@amihajlovski amihajlovski added the fix Fixes a bug label Aug 15, 2023
@amihajlovski amihajlovski changed the title Show applepay button only safari Show applepay button only on safari Aug 15, 2023
@amihajlovski amihajlovski marked this pull request as ready for review August 15, 2023 13:39
zenit2001
zenit2001 previously approved these changes Aug 16, 2023
shanikantsingh
shanikantsingh previously approved these changes Aug 18, 2023
@sonarcloud
Copy link

sonarcloud bot commented Aug 18, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@amihajlovski amihajlovski merged commit 31adb35 into develop Aug 22, 2023
14 of 17 checks passed
@amihajlovski amihajlovski deleted the bugfix/show-applepay-button-only-safari branch August 22, 2023 08:27
amihajlovski added a commit that referenced this pull request Aug 22, 2023
* fix: show applepay button only on safari

* fix: use isAvailable instead of regex

* fix: check for isavailable in components

* fix: update render method tests

* fix: use applepay constant

* fix: rounding amount value based on the currency decimals

* fix: pow function
@amihajlovski amihajlovski changed the title Show applepay button only on safari Asynchronously rendering Apple Pay button Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants