New to the community? Welcome! Please read our Community Rules and Guidelines
Pay, shop, and do even more on the PayPal appGet the App
Hi, I'm working on the PayPal integration on android. Everything is good till I run the app. I get this error.
"Error inflating class com.paypal.checkout.paymentbutton.PaymentButtonContainer"
I believe the problem come in the PaymentButtonContainer xml. I have the latest implementation in the Gradle file.
implementation'com.paypal.checkout:android-sdk:0.8.8'
Can anyone help me?
I find the solution. I need to put the
PayPalCheckout.setConfig
in the MainActivity
paymentButtonContainer.setup
in a new Activity.
©1999-2023 PayPal, Inc. All rights reserved.