-
Notifications
You must be signed in to change notification settings - Fork 129
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
Paypal Vault flow issue #159
Comments
@BunnyBuddy in BraintreePayPalRequest amount parameter is required otherwise it gives error of missing parameter |
Okay, I've figured somewhat and it works but you'll have to dig deeper yourself if you want to adjust it further, Add this in your build.gradle file under /android in flutter_braintree. Because we need this library for PayPalVaultRequest(),
Then, in FlutterBraintreeCustom.java find the method "requestPaypalNonce",
Then, in the file FlutterBraintreeDropIn.java, find the method readPayPalParameters() and match it with below,
And don't forget to add this line at the top of both of these files,
Since I'm not an expert and have never utilised vault, you may or maynot face some problems which you can figure out by reading the docummentation given in the links below. If you face any issues then find the docummentation for DropIn, |
Hello,
I am using flutter-braintree version 4.0.0
I am using BraintreePayPalRequest method for integrating Paypal Vault flow but in BraintreePayPalRequest "amount" parameter is required.
According to Documentation, 'amount ' parameter is not required in paypal vault flow
in my code, it shows me error "The named parameter 'amount' is required".
Note: I am not using Drop-in
So my question is how can i implement paypal Vault flow ? what is the possible way to implement vault flow ? can anyone please help.
Thankyou
The text was updated successfully, but these errors were encountered: