Skip to content

use “paypal-web-payments” way,the first time it can call back to our app, the second time it can't #247

@HoanChen

Description

@HoanChen

PayPal Android SDK Version

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

Environment

Sandbox

Android Version & Device

android 12

PayPal dependencies

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

Describe the bug

use “paypal-web-payments” way,the first time it can call back to our app, the second time it can't

To reproduce

payPalWebCheckoutClient.listener = object : PayPalWebCheckoutListener {
override fun onPayPalWebSuccess(result: PayPalWebCheckoutResult) {
// order was approved and is ready to be captured/authorized (see step 7)

        }

        override fun onPayPalWebFailure(error: PayPalSDKError) {
            Log.e(TAG, "onPayPalWebFailure error: $error")
           
        }

        override fun onPayPalWebCanceled() {
            Log.e(TAG, "onPayPalWebCanceled")
           
        }
    }

can not listener

Expected behavior

expected result
1
2

fail result
fail

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions