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

fix(apple-pay): fix PKPaymentRequest must have valid merchantCapabilities in iOS 12 & 13 #3314

Merged
merged 1 commit into from
Feb 22, 2020

Conversation

raychz
Copy link
Contributor

@raychz raychz commented Feb 16, 2020

Fixes the missing merchantCapabilities error in iOS versions 12 & 13.
2020-02-15 22:37:26.790765-0500 Tabify[83627:7611347] [General] Payment request is invalid: Error Domain=PKPassKitErrorDomain Code=1 "Invalid in-app payment request" UserInfo={NSLocalizedDescription=Invalid in-app payment request, NSUnderlyingError=0x6000007cc210 {Error Domain=PKPassKitErrorDomain Code=1 "PKPaymentRequest must have valid merchantCapabilities" UserInfo={NSLocalizedDescription=PKPaymentRequest must have valid merchantCapabilities}}}

Fix courtesy of https://enappd.com/blog/how-to-integrate-apple-pay-in-ionic-4-apps/21/

add missing IMerchantCapabilities and ISupportedNetworks types
@raychz raychz changed the title Fix PKPaymentRequest must have valid merchantCapabilities in iOS 12 & 13 fix(apple-pay): Fix PKPaymentRequest must have valid merchantCapabilities in iOS 12 & 13 Feb 16, 2020
@raychz raychz changed the title fix(apple-pay): Fix PKPaymentRequest must have valid merchantCapabilities in iOS 12 & 13 fix(apple-pay): fix PKPaymentRequest must have valid merchantCapabilities in iOS 12 & 13 Feb 18, 2020
@danielsogl danielsogl self-assigned this Feb 22, 2020
@danielsogl danielsogl added the target: patch This PR is targeted for the next patch release label Feb 22, 2020
@danielsogl danielsogl merged commit a8eebb9 into danielsogl:master Feb 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants