flutter-braintree
flutter-braintree copied to clipboard
BraintreeDropIn not working paypal request
Drop in not open when clicking paypal from bottom sheet
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.
show google pay ,Run it on the simulator?
@pikaju Hello sir, please could you please help me? It will be the live savior for me, please.
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 https://github.com/pikaju/flutter-braintree/issues/159#issuecomment-2084539431
Try to see if this resolve your issue https://github.com/pikaju/flutter-braintree/issues/166