Skip to content

Commit

Permalink
Merge pull request #69 from mediaopt/feature/36076-apple-pay
Browse files Browse the repository at this point in the history
#36076 added log
  • Loading branch information
majidabbasimediaopt authored Apr 16, 2024
2 parents 7faa317 + bef2c04 commit d83f9c9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "paypal-commercetools-client",
"version": "0.0.95-alpha",
"version": "0.0.96-alpha",
"private": false,
"type": "module",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/components/ApplePay/ApplePayMask.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ export const ApplePayMask: React.FC<CustomPayPalButtonsComponentProps> = (
try {
const applepay = paypal.Applepay();
const applepayConfig = applepay.config();
console.log("applepayConfig", applepayConfig);
if (applepayConfig.isEligible) {
console.log("applepayConfig", applepayConfig);
setIsEligible(true);
}
} catch (error) {
Expand Down

0 comments on commit d83f9c9

Please sign in to comment.