Skip to content

native paypal can not login #260

@yukangkangyu

Description

@yukangkangyu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions