In-App Payments SDK Problems
Troubleshoot problems with the In-App Payments SDK
There is a problem with your Apple Pay payment processing certificate or Xcode has cached an older (invalid) certificate.
Ensure that your Apple Pay certificate in the Apple Developer Portal is active.
Verify that you have uploaded the certificate to the Square Developer Portal.
If you continue receiving the error, you may need to clear a cached certificate:
Create a new Square CSR for Apple Pay via the Square Developer Application Dashboard.
Sign in to the Apple Developer Portal and follow the steps in the Create a merchant identifier Apple Pay help article to create a new merchant identifier.
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 Square Developer Application Dashboard.
Update your Apple Pay merchant ID on the Capabilities tab in Xcode.
Update the code that creates your
PKPaymentRequestto use the new merchant ID.