Open rcpinheiro opened 4 years ago
same here..
Same issue, is it because braintree is deprecating old versions. If that's the case then how can we point the plugin to newer versions?
same here..
Hi! I'm trying this plugin, the server side is working and returning a valid client token but when I open the plugin, a new page appears for a fraction of a second and then the plugin returns userCancelled. Help!
Here's my code:
BraintreePlugin.initialize(token, function () { console.log("init OK!"); // No problem here var options = { amount: "9.99", primaryDescription: "Item" }; BraintreePlugin.presentDropInPaymentUI(options, function (result) { if (result.userCancelled) { // Always true console.debug("User cancelled payment dialog."); } else { // Never reaches this console.info("User completed payment dialog."); console.info("Payment Nonce: " + result.nonce); console.debug("Payment Result.", result); } }); }, function (error) { console.error(error); });
Did you find any solution to this
I suggest everyone to use directly Braintree's Dropin UI Javascript. It's not as fast as a plugin but it's simple to use and it's well documented.
Can anyone please help me on how to install the JS-Version into my ionic app? Telegram: PaintedShepherd Discord: PaintedShepherd#0810
same here..
@rcpinheiro I use standard Cordova, is there any other ways/plugins? Getting errors on 3d secure
Hi! I'm trying this plugin, the server side is working and returning a valid client token but when I open the plugin, a new page appears for a fraction of a second and then the plugin returns userCancelled. Help!
Here's my code: