braintree-android-drop-in: Google Pay OR_BIBED_07 error

General information

  • SDK/Library version: com.braintreepayments.api:google-payment:3.5.0, com.braintreepayments.api:drop-in:6.0.0-beta2’
  • Environment: Production
  • Android Version and Device: Samsung Galaxy S20 FE with Android 12

Issue description

I am trying to use Google Pay through the drop-in, but I keep getting the error OR_BIBED_07 error as shown in the screenshot below

image

My code is like this:

        val googlePayGooglePayRequest = GooglePayRequest()
            googlePayGooglePayRequest.transactionInfo =
                TransactionInfo.newBuilder()
                    .setTotalPrice(price)
                    .setTotalPriceStatus(WalletConstants.TOTAL_PRICE_STATUS_FINAL)
                    .setCurrencyCode("USD")
                    .build()
            googlePayGooglePayRequest.isBillingAddressRequired = true
        googlePayGooglePayRequest.environment = BuildConfig.GOOGLE_PAY_ENVIRONMENT //"TEST" or "PRODUCTION"
        return googlePayGooglePayRequest
 private fun launchDropIn(clientToken: String) {
        val dropInRequest = DropInRequest()
        dropInRequest.googlePayRequest = enableGooglePlay()
        val dropInClient = DropInClient(requireContext(), clientToken,  dropInRequest)
        dropInClient.launchDropInForResult(requireActivity(), DROP_IN_REQUEST_CODE)
    }

This issue is only happening in the production environment. I followed the documentation for Google Pay in the drop-in and it’s exactly like that. I also verified that Google Pay is enabled in the Braintree production dashboard, and it is: image

I also tried the command adb -d logcat -s WalletMerchantError in my terminal, as suggested in Google Pay troubleshooting documentation, but no error appears.

Am I missing something here? Couldn’t find much information about this, there are similar issues in the stripe library, but they weren’t helpful. Is there an additional configuration that might need to be done in the server?

Thank you.

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 16 (6 by maintainers)

Most upvoted comments

Hi @fabiorbap thanks for using the Braintree SDK for Android. First thing I would recommend is updating to the latest 6.2.0 version and see if the issue still persists.

Also, it may help to remove the com.braintreepayments.api:google-payment:3.5.0 dependency from your build.gradle file and allow DropIn to provide the correct version of the Google Pay dependency through Gradle.