GithubHelp home page GithubHelp logo

braintree-node's People

Contributors

michaltakac avatar sobafuchs avatar

Stargazers

 avatar  avatar  avatar

braintree-node's Issues

Unable to create test Payment method or Customer

Hi, I am currently in Sandbox mode. I am able to obtain the paymentNonce from the DropIn.
However, when I tried to create a paymentMethod, it appeared to work. But there was no vault showing up on the Braintree sandbox dashboard when I did a search for vaults created today.

So I decided that maybe I needed to create a customer first. And that didn't work. I got an Authorization Error. Here is my code below.

gateway.customer.create({
            customerId: this.userId,
            paymentMethodNonce: nonce,
            options: {
                verifyCard: true
            }
          }, function (err, result) { 
              if(err){
                  console.log(`Error ${err}`);
              } else {
                  console.log(`Result ${result}`);
              }
          });

Am I missing something? I am in sandbox mode, I could really use a clue. And I have admin authorization on my Braintree sandbox account.

Tests failing occasionally

These tests are sometimes failing:

  1. can find a customer
  2. can update a customer
  3. can clone a transaction

first two with error:
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.

third:

AssertionError: false == true
      + expected - actual

      -false
      +true

      at test.js:99:14
      at next (native)
      at onFulfilled (node_modules/co/index.js:65:19)

Ran tests 10 times, first two failed 5 times, third failed 7 times.

Btw nice work, will help with adding methods for subscriptions.

Docs typo

Docs say to require('braintree-js') but it should say require('braintree-node')

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.