GithubHelp home page GithubHelp logo

sniper42434 / braintree_aspnet_example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from braintree/braintree_aspnet_example

0.0 1.0 0.0 1.96 MB

An example Braintree integration in the ASP.NET framework

License: MIT License

C# 37.48% CSS 59.40% JavaScript 3.00% ASP 0.12%

braintree_aspnet_example's Introduction

Braintree ASP.NET Example

An example Braintree integration for ASP.NET.

Setup Instructions

These instructions assume you are using Visual Studio Professional 2013. This has not been tested in Xamarin Studio, or other versions of Visual Studio. This project is also set up to use NuGet package restore, so all dependencies should be automatically installed.

  1. Open braintree_aspnet_example.sln in Visual Studio.

  2. Open the Web.config in BraintreeASPExample, and fill in your Braintree API Credentials in the BraintreeEnvironment, BraintreeMerchantId, BraintreePublicKey, and BraintreePrivateKey keys. Credentials can be found by navigating to Account > My User > View Authorizations in the Braintree Control Panel. Full instructions can be found on our support site.

  3. Start the project by pressing the play button in the toolbar.

Running Tests

There are unit and integration tests. To run the integration tests, you will need to have IIS Express and Firefox installed and your API credentials filled in. You can run all the tests by opening the Test Explorer and clicking Run All.

Pro Tips

  • If you do not want to or are unable to use NuGet package restore, make sure to download and reference the following packages:
    • Braintree 2.59.0 or higher
    • Moq 4.2 or higher (needed for BraintreeASPExampleTests only)
    • Selenium WebDriver 2.52 or higher (needed for BraintreeASPExampleTests only)

Help

Disclaimer

This code is provided as is and is only intended to be used for illustration purposes. This code is not production-ready and is not meant to be used in a production environment. This repository is to be used as a tool to help merchants learn how to integrate with Braintree. Any use of this repository or any of its code in a production environment is highly discouraged.

braintree_aspnet_example's People

Contributors

braintreeps avatar iboneva avatar jdlc avatar pblesi avatar

Watchers

 avatar

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.