Closed dreamlin987 closed 11 months ago
String decryptedMessage = new PaymentMethodTokenRecipient.Builder() .fetchSenderVerifyingKeysWith( GooglePaymentsPublicKeysManager.INSTANCE_TEST ) .recipientId("GooglePayPasses") .protocolVersion("ECv2") .addRecipientPrivateKey("MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0waXXXXXX") .build() .unseal(tokenData);
Please be more specific in what the problem is, otherwise we can't help you.
Please check the documentation on: https://developers.google.com/pay/api/web/guides/resources/sample-tokens
I hope that helps.
Why do I verify the data returned after Google payment that does not go through the grid successfully, and it always fails to verify the signature, so how to check or solve it?