BraintreeDropIn not working paypal request
Always-Bijoy opened this issue · comments
Bijoy Ghosh commented
worldlsj commented
show google pay ,Run it on the simulator?
Bijoy Ghosh commented
@pikaju Hello sir, please could you please help me? It will be the live savior for me, please.
Muhammad Bani Akram commented
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)