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

BraintreeDropIn not working paypal request #157

Open
Always-Bijoy opened this issue Mar 22, 2024 · 4 comments
Open

BraintreeDropIn not working paypal request #157

Always-Bijoy opened this issue Mar 22, 2024 · 4 comments

Comments

@Always-Bijoy
Copy link

Drop in not open when clicking paypal from bottom sheet

image

When click Paypal it shows this error, am I missing something, another thing if my client token has any issue then it won't create any bottom sheet so in that case clintoken working.

image

@worldlsj
Copy link

show google pay ,Run it on the simulator?

@Always-Bijoy
Copy link
Author

@pikaju Hello sir, please could you please help me? It will be the live savior for me, please.

@BunnyBuddy
Copy link

BunnyBuddy commented Apr 26, 2024

var request = BraintreeDropInRequest(
        tokenizationKey: "whatever your key is",
        collectDeviceData: true,
        cardEnabled: false,
        paypalRequest: BraintreePayPalRequest(
          amount: "10",
          displayName: 'Display name of your app or project',
        ),
      );

BraintreeDropInResult result = await BraintreeDropIn.start(request);

Giving an amount, or if you're inclined to offer amount = null, which is causing this error since vault flow has not been coded in this project, is one approach to fix this problem. Alternatively, you can try to do it yourself or click the link below.

Refer to this for vault flow
#159 (comment)

@nicolobozzato
Copy link
Contributor

Try to see if this resolve your issue
#166

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

4 participants