Error : Authorization Fingerprint is invalid and it is required
I am using Sandbox of Braintree GPAY. When I select a Card and click Continue from within the GPAY Popup; I get the following error : "{"error":{"message":"Authorization fingerprint is invalid"},"fieldErrors":[{"field":"authorizationFingerprint","code":"93201","message":"Authorization fingerprint is required"}]}" in the following callback : onLoadPaymentData
Does anyone have any idea around this bug ? Need help as it is stopping us ffrom going LIVE.
Following is my source code :
<GooglePayButton buttonColor="white" buttonType="checkout" environment="TEST" paymentRequest={{ apiVersion: 2, apiVersionMinor: 0, allowedPaymentMethods: [ { type: 'CARD', parameters: { allowedAuthMethods: ['PAN_ONLY', 'CRYPTOGRAM_3DS'], allowedCardNetworks: ['MASTERCARD', 'VISA'], }, tokenizationSpecification: { type: 'PAYMENT_GATEWAY', parameters: { /*Based of this article https://developers.google.com/pay/api/web/guides/tutorial#tokenization I have added config specific to Braintree */ gateway: 'braintree', 'braintree:apiVersion': 'v1', 'braintree:sdkVersion': '3.85.2', 'braintree:merchantId': process.env.BRAINTREE_MERCHANT_ID, 'braintree:clientKey': clientToken, }, }, }, ], merchantInfo: { merchantId: 'SOME_ID', merchantName: 'SOME_MERCHANT_NAME', }, transactionInfo: { totalPriceStatus: 'FINAL', totalPriceLabel: 'Total', totalPrice: total.toFixed(2), currencyCode: 'USD', countryCode: 'US', }, }} onLoadPaymentData={(paymentRequest) => { debugger console.log(paymentRequest) }} />
Following is the Screenshot of the error : https://www.screencast.com/t/YahH1XRtZc2E