Questions tagged [braintree-javascript]

13 questions
3
votes
1 answer

Not all braintree HostedFields methods available for typescript?

I'm using Braintree Sandbox in my ReactJs project with typescript. According to Braintree Docs for focus, a field can be focused using the .focus() method. hostedFieldsInstance.focus('number', function (focusErr) { if (focusErr) { …
3
votes
1 answer

Dynamically change a value of instance already created in JavaScript

I'm using "Braintree - Dropin" here. Instance is created when page load and I have a dropdown to select "pay amount" after. I want to update value of instance (already created) when dropdown is changed. var form =…
Dhan
  • 501
  • 1
  • 8
  • 21
3
votes
2 answers

How to fix braintree javascript error "t.getVersion is not a function" in latest version

Am getting error TypeError: t.getVersion is not a function, i have searched only the solution i found was about using the upgraded version of braintree-web here. In my case am using 3.60.0, but still get the error when i add…
Peter
  • 1,860
  • 2
  • 18
  • 47
1
vote
2 answers

Braintree: test nonces are resulting in Payment Method Nonce is Invalid

I am in the process of using the sandbox to test creating a new recurring billing subscription using a fake nonce but I keep getting an error indicating the payment nonce is invalid, here is the object I am sending to the gateway.subscription.create…
1
vote
1 answer

BrainTree JavaScript Drop In API and Kount Device Data not being set

I'm trying to add Kount Fraud protection to an existing BrainTree Drop In installation and according to the docs I should just be able to provide a data collector to start the flow: braintree.dropin.create({ authorization: clientToken, …
Rick Strahl
  • 17,302
  • 14
  • 89
  • 134
0
votes
0 answers

Venmo Integration using braintree sdkn for cordova ionic apps

I have been trying to integrate venmo payment button on my ionic cordova apps. but i have had no luck this far. The venmo app opens fake nonce is generated but it tries to open another page outside the app context and hence i can't know the status…
0
votes
1 answer

Hiding the PayPal Credit button on Braintree JavaScript v4 SDK

I'm posting this here in the hope there are some Braintree/PayPal engineers looking at StackOverflow for support issues. I have submitted a support ticket through their new form twice, but have had no reply. We have noticed very recently that the…
crmpicco
  • 16,605
  • 26
  • 134
  • 210
0
votes
1 answer

How to include Paypal Messages in web components?

Hi Stackoverflow community, I need help in loading Paypal messages in web components. After loading the paypal SDK, I am trying to include the Paypal pay later messages with the code below. window.paypal.Messages({ amount:…
user15821997
0
votes
1 answer

Braintree and Node.js Creating Sub Merchant Error Not Authorized

I am using the node.js braintree sdk to try creating sub merchant accounts. However, it has been unsuccessful so far and I keep getting a not authorized error but I don't know how to pass the token in this call. Here's the gateway I am using: //…
0
votes
1 answer

Adding locale to the Braintree to hosted fields

I am trying to add locale to the Braintree hosted fields so that I get the challenge window on spanish. I tried adding it to the hostedFields as shown below. window.braintree.hostedFields.create({ authorization: clientToken, locale:…
Roopak Puthenveettil
  • 1,387
  • 2
  • 13
  • 27
0
votes
1 answer

Braintree - Retrieve Payment Method Nonce in Xamarin Forms C#

I'm writing an app written in C# - Xamarin Forms. I'm simply trying to get a response from Braintree's server so I can process payment. This response is the payment_method_nonce which is required to process payment. Here's the client side code…
0
votes
1 answer

react-native-braintree-dropin-ui popup not showing "Credit or Debit Cart" option in android

I have used react-native-braintree-dropin-ui library in my react-native app. Here is the code that I have used to call react-native-braintree-dropin-ui popup: BraintreeDropIn.show({ clientToken: brainTreeToken, countryCode: "US", //apple pay…
0
votes
1 answer

Getting credit card brand and show error message when using hosted fields in Braintree

I am trying to create payment page using braintree's hosted fields. I have created sandbox account. But i am not getting additional details like Card brand, error message like Drop in UI. How to get those functionalities using Hosted fields. import…
Nandha
  • 752
  • 1
  • 12
  • 37