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
26
votes
1 answer

How to access 'this' inside a callback function in Typescript?

I am trying to set a variable declared at the beginning of the class (a boolean) to true once a callback is called, but I keep getting a TypeScript erorr. Here is the error: TypeError: Cannot set property 'nonReceived' of undefined Here is my…
Tristan C
  • 593
  • 2
  • 7
  • 16
25
votes
4 answers

Braintree Drop-In UI does not show CVV field

I'm fairly new to Braintree API. I'm using Recurring Payments. And for that I'm using Drop-In UI that is provided by Braintree. Everything goes well but it only shows two fields: Card Number and Expiration Month/Year; and the Paypal button. It's not…
ronsi
  • 519
  • 1
  • 7
  • 15
23
votes
3 answers

What can I store locally while still being PCI Compliant using Braintree in Rails?

What credit card information am I allowed to store while still being PCI compliant if I am relying on braintree for payment processing? The reason I am asking is because, as a simple optimization, if a customer has already bought something from my…
Lance
  • 75,200
  • 93
  • 289
  • 503
19
votes
8 answers

CSR algorithm/size is incorrect.Expected RSA 2048

I am trying to integrate apple pay with braintree. I have followed up the following instructions to enable apple pay in the brain tree. In the first step, if you click on certificate signing request, it downloads a…
casillas
  • 16,351
  • 19
  • 115
  • 215
19
votes
2 answers

Braintree's Dropin UI, How to remove payment method

We are using braintree's dropin UI to help save time in having to create custom payment entry pages. What is hard to understand is why you can only add new payment method and not remove. I understand being able to add, but if there was a problem…
MacWise
  • 520
  • 3
  • 13
17
votes
2 answers

Braintree Payment Transfer

I am developing a C2C portal where seller will post their product and others can buy it. I have planned to use Braintree for payment process. Now once the payment is completed system will take commission and it should transfer the rest to seller. I…
GoSmash
  • 1,096
  • 1
  • 11
  • 38
17
votes
1 answer

Retrieving a Braintree customer's subscriptions

I want to collect all of a Braintree Customer's subscriptions. When I browse to a customer's page in the gateway, I can see their subscriptions, but it doesn't seem that a method like subscriptions exists for Braintree::Customer, or that I can…
bissej
  • 285
  • 3
  • 9
15
votes
3 answers

Do modern credit card processing systems allow diacritics in cardholder names?

Background: a lot of people have names with diacritics that can't be represented in ASCII, for example JOSÉ GONZÁLEZ There seems to be some evidence that the encoding on a magnetic stripe can only handle unaccented latin letters A-Z in cardholder…
Joel Spolsky
  • 33,372
  • 17
  • 89
  • 105
15
votes
2 answers

'str' object has no attribute 'get'

I'm working on Braintree intergration in Django. I've followed this guide: However, I'm getting the error 'str' object has no attribute 'get'. Views.py from django.shortcuts import render, render_to_response from django.http.response import…
user2224250
  • 251
  • 1
  • 8
  • 19
13
votes
1 answer

Apollo Server timeout while waiting for stream data

I'm attempting to wait for the result of a stream with my Apollo Server. My resolver looks like this. async currentSubs() { try { const stream = gateway.subscription.search(search => { …
ToraRTC
  • 440
  • 2
  • 4
  • 15
12
votes
1 answer

What are the differences between Paypal's API and BrainTrees v.zero API, and Which would work more efficiently for a Node.JS Marketplace Website?

Please explain the difference between all the different PayPal API's that are offered, and why they have so many different ones. If you were to build a new marketplace website in comparison to Amazon or Etsy, or an SaaS such as Volusion or Shopify,…
Tim
  • 1,583
  • 13
  • 27
12
votes
1 answer

Can't create Braintree client token with customer ID

Copied directly from Braintree's tutorial, you can create a client token with a customer ID like this: gateway.clientToken.generate({ customerId: aCustomerId }, function (err, response) { clientToken = response.clientToken }); I declare var…
Rob
  • 14,746
  • 28
  • 47
  • 65
12
votes
3 answers

How to simulate Past-Due status on Subscription

I have setup a PHP script on a cron which contacts Braintree via the API to look up the status of each subscription that we have on file. We then update our local records based on the customer's subscription status. Because I can manually cancel a…
Tyler V.
  • 2,471
  • 21
  • 44
11
votes
2 answers

Paypal integration with Braintree

I am trying to integrate braintree for payments in Nodejs and Javascript. I have created an account on https://sandbox.braintreegateway.com and now I am trying to integrate my braintree payment with my website using "drop in" integration, I followed…
Prashant
  • 121
  • 1
  • 5
11
votes
1 answer

Recurring Payments - Trial without card

We're developing a system whereby the user will be sign-up and have a 3 month trial without entering card details. Once the trial period is up they get sent an e-mail asking them to come back and register card details in order to setup a recurring…
Dean Ward
  • 4,793
  • 1
  • 29
  • 36
1
2 3
99 100