Receipt verification on my app's server suddenly started giving an error, and all billing-related processes became errors. The error that is occurring is Signature verification failed is.(FireBaseJWT throw Exception)
The code is below, but it was working fine until 3 days ago.
JWT::decode($lastTransaction['signedTransactionInfo'], $appleCertificate, ['ES256']);
The certificate used here was created by the server developer, so I don't know how to create it. Could you please help me which certificate should I use?
I tried using the ApplePKI certificate, but the same error occurred.
私のアプリのサーバでのレシート検証が突然エラーを吐くようになり、課金関連の処理が全てエラーになってしまいました。
発生しているエラーはSignature verification failedです。(FireBaseJWTのException)
コードは以下になっていますが、3日前までは正常に動作していたコードです。
JWT::decode($lastTransaction['signedTransactionInfo'], $appleCertificate, ['ES256']);
ここで利用している証明書はサーバ開発者に作成して貰っていたので作成方法が分かりません。
どの証明書を使えば良いか助けて貰えないでしょうか。
ApplePKIの証明書は粗方試してみましたが同様のエラーになっています。