This is Braintree Dropin, Hosted Fields and Paypal in Sinatra.
This demo uses
- Ruby 2.0.0 or higher
- The Sinatra web framework
- Fill in the following credentials:
- Number:
4111 1111 1111 1111
- Expiration date:
11/2020
- Number:
- Click Submit Payment
or you can sign in using your PayPal Sandbox account
- Run
bundle
to install all dependencies - Run
ruby app.rb
to start the app - Visit
http://127.0.0.1:4567/
in your browser