Troubleshoot problems with the Square In-App Payments SDK.
In-App Payments SDK

Troubleshoot In-App Payments SDK Problems

Troubleshoot problems with the In-App Payments SDK.

Cause:

There is a problem with your Apple Pay payment processing certificate or Xcode has cached an older (invalid) certificate.

Solution:

  1. Ensure that your Apple Pay certificate in the Apple Developer Portal is active.

  2. Verify that you have uploaded the certificate to the Square Developer Dashboard.

If you continue receiving the error, you might need to clear a cached certificate:

  1. Create a new Square CSR for Apple Pay using the Square Developer Dashboard.

  2. Sign in to the Apple Developer Portal and follow the steps in Create a merchant identifier to create a new merchant ID.

  3. In the Apple Developer Portal, create a new Apple Pay payment processing certificate for your new merchant ID by uploading the new Square CSR.

  4. Upload the new Apple Pay certificate to the Square Developer Dashboard.

  5. Update your Apple Pay merchant ID on the Capabilities tab in Xcode.

  6. Update the code that creates your PKPaymentRequest to use the new merchant ID.

If you need more assistance, contact Developer Support or ask for help in the Developer Forums.