Skip to content

Conversation

@blackbing
Copy link
Member

No description provided.


throw 'ApplePay is not available';
}
});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

這樣有 Uncaught Error

Copy link
Member Author

@blackbing blackbing Oct 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line pay 那邊沒有額外對 error 做什麼,catch 僅 log,但這邊沒 catch 會讓應用直接壞掉吧,僅是沒支援就壞掉不太合理

throw 'ApplePay is not available';
}
});
TapPay.webSetupApplePay(merchantData, cartData);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still run setup if isApplePayAvailable is false?

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.

3 participants