-
Notifications
You must be signed in to change notification settings - Fork 7
Signature Verify Fail #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could you tell me which shop you are? Is $alipayPublicKey correct? |
I'm using SANDBOX client_id, everything is working except for the $this->checkRspSign($httpMethod, $path, $clientId, $rspTime, $rspBody, $rspSignValue);. |
hello,patsiee.could you make sure your alipayPublicKey is correct?This publicKey is provided by Ant Group.Not created by tool. |
By the way.Could you tell me which shop you are? |
Fatal error: Uncaught Exception: Response signature verify fail. in C:\laragon\www\alipay-sdk\BaseAlipayClient.php:64 Stack trace: #0 C:\laragon\www\alipay-sdk\example\UserPresentedCodePaymentTest.php(62): BaseAlipayClient->execute(Object(UserPresentedCodePaymentRequest)) #1 {main} thrown in C:\laragon\www\alipay-sdk\BaseAlipayClient.php on line 64
$result = $alipayRsp->result;
//return this message
{#19 ▼
+"resultCode": "SUCCESS"
+"resultMessage": "success."
+"resultStatus": "S"
}
$verifyResult = openssl_verify($rspContent, $originalRspSignValue, $pubKey, OPENSSL_ALGO_SHA256);
//always return 0
The text was updated successfully, but these errors were encountered: