/BraintreeIntegrations

https://www.braintreepayments.com

Primary LanguageHTML

Braintree Integrations - Ruby demo using Sinatra

This is Braintree Dropin, Hosted Fields and Paypal in Sinatra.

Technology

This demo uses

  • Ruby 2.0.0 or higher
  • The Sinatra web framework

Demo

  • Fill in the following credentials:
    • Number: 4111 1111 1111 1111
    • Expiration date: 11/2020
  • Click Submit Payment

or you can sign in using your PayPal Sandbox account

Running the demo locally

  • Run bundle to install all dependencies
  • Run ruby app.rb to start the app
  • Visit http://127.0.0.1:4567/ in your browser