Skip to content
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

native paypal can not login #260

Open
yukangkangyu opened this issue May 31, 2024 · 1 comment
Open

native paypal can not login #260

yukangkangyu opened this issue May 31, 2024 · 1 comment

Comments

@yukangkangyu
Copy link

PayPal Android SDK Version

com.paypal.android:paypal-native-payments:1.3.0

Environment

Sandbox

Android Version & Device

Android12

PayPal dependencies

implementation ('com.paypal.android:paypal-native-payments:1.3.0')

Describe the bug

fun startNativeCheckoutWithOrderId(orderId: String,payOrderId:String,applicationId:String,listener: IPaypalPayListener) {
    mOrderId = orderId
    mPayOrderId = payOrderId
    mListener = listener
    mApplicationId = applicationId
    val coreConfig = CoreConfig(getClientId(), environment = Environment.SANDBOX)
    val returnUrl = "$applicationId://paypalpay"
    payPalClient = PayPalNativeCheckoutClient(getApplication(), coreConfig, returnUrl)
    payPalClient.listener = payPalListener
    payPalClient.startCheckout(PayPalNativeCheckoutRequest(mPayOrderId))
}

That's my code
I have aroused the paypal pop-up window at the bottom and successfully opened the paypal H5 page. At that time, the login failed, because I kept loading and couldn't get any error information
Also, why can't I rely on the latest 1.4.0 native library for gradle

To reproduce

That's my code
I have aroused the paypal pop-up window at the bottom and successfully opened the paypal H5 page. At that time, the login failed, because I kept loading and couldn't get any error information
Also, why can't I rely on the latest 1.4.0 native library for gradle

Expected behavior

I hope login success

Screenshots

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant