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

Store in Vault - behaviour changes #948

Open
ivancarras opened this issue Mar 20, 2024 · 2 comments
Open

Store in Vault - behaviour changes #948

ivancarras opened this issue Mar 20, 2024 · 2 comments

Comments

@ivancarras
Copy link

ivancarras commented Mar 20, 2024

Braintree SDK Version

4.40.1

Environment

Sandbox and Production

Android Version & Device

Any device even in iOS

Braintree dependencies

com.braintreepayments.api:paypal:4.40.1

Describe the bug

Expected behaviour: when you add a Paypal account this account is automatically stored in Vault regardless if the user finished the payment or not.

Current Behaviour: Now the Paypal account only it's stored in Vault when the user finished a transaction.

This behaviour was not happening in the past. We didn't update the Android SDK or the Backend SDK.

To reproduce

  1. Add a new Paypal account
  2. Verify the account is correctly added and the nonce is generated
  3. Go to the users Vault information and verify there is not Payment methods added

Expected behavior

When you add a Paypal account this account is automatically stored in Vault regardless if the user finished the payment or not.

Screenshots

No response

@sarahkoop
Copy link
Contributor

Hi @ivancarras - For your PayPal integration are you using the PayPalCheckoutRequest or PayPalVaultRequest? Could you provide a code snippet of your request object?

@ivancarras
Copy link
Author

Hi @sarahkoop we are using PayPalVaultRequest.

fun launchAddPaypalFlow(activity: FragmentActivity, captchaToken: String?, listener: PayPalListener) {
        PayPalClient(activity, braintreeClient)
            .apply { setListener(listener) }
            .tokenizePayPalAccount(activity, PayPalVaultRequest())
    }

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

2 participants