Questions tagged [braintree]

Braintree provides an API for accepting payments online and through mobile apps with a single integration.

Braintree is a payment platform for online and mobile businesses, offering merchants a payment gateway and merchant account. With a single integration, merchants are able to accept credit cards, debit cards, and PayPal globally, as well as Venmo and Apple Pay in the USA.

Braintree provide client libraries and integration examples in Ruby, Python, PHP, Java, .NET, and Node JS; mobile libraries for iOS and Android; and Braintree.js for in-browser card encryption.

Support resources can be found at https://support.braintreepayments.com/.

Questions tagged with should be about integrating with Braintree, using the client, mobile, and browser libraries, or other programming-related questions about Braintree's services.

1525 questions
10
votes
3 answers

Braintree Drop-in UI: ERROR: Failed to resolve: org.jfrog.cardinalcommerce.gradle:cardinalmobilesdk:2.2.1-2?

I am integrating Braintree Drop-in UI but my project is not getting compiled.. I have used below dependency:- implementation 'com.braintreepayments.api:drop-in:4.5.0'
Gaurang Goda
  • 3,394
  • 4
  • 20
  • 29
10
votes
1 answer

braintree dropin extra height

I'm using braintree dropin UI:
var braintree_client_token = "{{ braintree_client_token }}"; function braintreeSetup() { // Here you tell Braintree to add the drop-in to your division above …
Marijus
  • 4,195
  • 15
  • 52
  • 87
10
votes
4 answers

PayPal integration from Braintree sandbox error: PAYPAL_SANDBOX_ACCOUNT_NOT_LINKED

I got this error when I try to test my PayPal integration from Braintree. Here is my client code (actually copy from official site and make little modification): braintree.client.create({ authorization: ClientToken }, function(err,…
wdetac
  • 2,712
  • 3
  • 20
  • 42
10
votes
4 answers

Trying to integrate braintree-web into Angular2

I am trying to use the Braintree SDK (braintree-web) in my Angular2 app. I'd really appreciate any pointers on how to get this working. I think it is because I am not importing the braintree-web module, but I can't figure out how to to that…
SeekingMoneky
  • 137
  • 1
  • 6
10
votes
3 answers

Braintree multiple setup calls yield in multiple onPaymentMethodReceived events

I'm using angular, and in an angularUI modal window I want to show the Drop In form from Braintree to get a payment method. Thus, I create the usual form (partial.html):
10
votes
8 answers

Test Webhook at localhost in braintree

I am working on braintree and I want to send custom email notifications to my customers as I am working with recurring billing, so every month these custom notifications should be send to all users. For this I have to use webhooks to retrieve…
Singh
  • 554
  • 6
  • 22
9
votes
7 answers

php braintree integration

I am trying to integrate the Braintree API into my PHP application. I am new in integrating payment gateway. Please, help me with some example code for Braintree API.
Prithwis
  • 101
  • 1
  • 1
  • 2
9
votes
1 answer

braintree Integration causing issues Android

I am getting client Token from server, but when call setup BraintreeFramgent it will says Tokenization Key or client token was invalid.. after then if i click on button then OnActivityResult Consider RESULT_CANCELED and show dialog. Below Code…
RaRa
  • 2,024
  • 1
  • 18
  • 29
9
votes
5 answers

In Braintree is it possible to verify duplicate payment method for just one customer instead of entire vault?

For the Braintree_PaymentMethod::create() function, one of the options is: 'failOnDuplicatePaymentMethod', bool If this option is passed and the payment method has already been added to the Vault, the request will fail. This option will not work…
Revent
  • 2,091
  • 2
  • 18
  • 33
9
votes
4 answers

How to use npm module in angular?

I am trying to use braintree-web npm module with AngularJS since I get errors when I try and include it in the template with: I have a state called billing that I use to route…
c0de
  • 819
  • 2
  • 9
  • 21
9
votes
1 answer

Braintree Hosted Fields Example

I am trying to get my head round the Hosted Fields framework of Braintree. It has been released just a few days ago and is still in beta. I looked at the docs. I'm getting the overall idea but it would be nice to have some sort of small working…
Nick
  • 2,924
  • 4
  • 36
  • 43
9
votes
1 answer

Braintree Drop-in UI - send form using AJAX

I'm trying to implement the Braintree Drop-in UI and I want to send the form using a custom jQuery ajax method. Previously, I used to send the (non drop-in UI) form using the jQuery serialize() method, but for the new (dynamically loaded) Dropin UI…
Martin
  • 1,916
  • 2
  • 25
  • 37
8
votes
1 answer

TypeError: braintree.connect is not a function

I've implemented a braintree using its documentation but, facing this error in the terminal. it's showing that braintree.connect is not a function, but in the documentation it has been provided hard coded. var gateway = braintree.connect({ …
Sumit
  • 676
  • 1
  • 6
  • 15
8
votes
2 answers

Send money from Braintree

I use Braintree for my website on payment. It's OK when receiving money but now I want to transfer money to specific client account (not refunding). Please help me. Thank you!
Einsamer
  • 1,069
  • 4
  • 17
  • 34
8
votes
1 answer

Get transaction fee for charge result object (braintree credit card processing)

I would like to get the fee amount for a credit card transaction for braintree. Is there a way to get this? $fee = $charge->transaction->serviceFeeAmount; I was looking…
Chris Muench
  • 17,444
  • 70
  • 209
  • 362