Skip to content

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
@raychz raychz requested a review from danielsogl February 18, 2020 21:28
@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.

2 participants