Applies to: In-App Payments SDK - Android | In-App Payments SDK - iOS
Learn how to troubleshoot problems with the In-App Payments SDK.
Cause:
There's a problem with your Apple Pay payment processing certificate or Xcode has cached an older (invalid) certificate.
Solution:
- Ensure that your Apple Pay certificate in the Apple Developer Portal is active.
- Verify that you've uploaded the certificate to the Developer Console.
If you continue receiving the error, you might need to clear a cached certificate:
- Create a new Square CSR for Apple Pay using the Square Developer Console.
- Sign in to the Apple Developer Portal and create a merchant ID.
- In the Apple Developer Portal, create a new Apple Pay payment processing certificate for your new merchant ID by uploading the new Square CSR.
- Upload the new Apple Pay certificate to the Developer Console.
- Update your Apple Pay merchant ID on the Capabilities tab in Xcode.
- Update the code that creates your
PKPaymentRequest
to use the new merchant ID.