forked from braintree/braintree_graphql_rails_example
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate using the Braintree GraphQL API instead of the ruby SDK
- Loading branch information
1 parent
94a44fb
commit ff0760d
Showing
25 changed files
with
552 additions
and
302 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
braintree_rails_example | ||
braintree_graphql_rails_example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# Braintree Rails Example | ||
# Braintree GraphQL Example in Rails | ||
|
||
[![Build Status](https://travis-ci.org/braintree/braintree_rails_example.svg?branch=master)](https://travis-ci.org/braintree/braintree_rails_example) | ||
[![Build Status](https://travis-ci.org/braintree/braintree_graphql_rails_example.svg?branch=master)](https://travis-ci.org/braintree/braintree_graphql_rails_example) | ||
|
||
An example Braintree integration for Ruby on Rails. | ||
An example Braintree integration with the [GraphQL API](https://graphql.braintreepayments.com/) using Ruby on Rails. Forked from [braintree/braintree_rails_example](https://github.com/braintree/braintree_rails_example). | ||
|
||
## Setup Instructions | ||
|
||
|
@@ -30,7 +30,7 @@ An example Braintree integration for Ruby on Rails. | |
|
||
You can deploy this app directly to Heroku to see the app live. Skip the setup instructions above and click the button below. This will walk you through getting this app up and running on Heroku in minutes. | ||
|
||
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/braintree/braintree_rails_example&env[BT_ENVIRONMENT]=sandbox) | ||
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/braintree/braintree_graphql_rails_example&env[BT_VERSION]=2019-11-11) | ||
|
||
## Running Tests | ||
|
||
|
@@ -57,7 +57,7 @@ Sandbox transactions must be made with [sample credit card numbers](https://deve | |
## Help | ||
* Found a bug? Have a suggestion for improvement? Want to tell us we're awesome? [Submit an issue](https://github.com/braintree/braintree_rails_example/issues) | ||
* Found a bug? Have a suggestion for improvement? Want to tell us we're awesome? [Submit an issue](https://github.com/braintree/braintree_graphql_rails_example/issues) | ||
* Trouble with your integration? Contact [Braintree Support](https://support.braintreepayments.com/) / [email protected] | ||
* Want to contribute? [Submit a pull request](https://help.github.com/articles/creating-a-pull-request) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,23 @@ | ||
{ | ||
"name": "Braintree Rails Example", | ||
"description": "An example Braintree integration for Ruby on Rails", | ||
"keywords": ["braintree", "ruby", "rails"], | ||
"name": "Braintree GraphQL Example in Rails", | ||
"description": "An example Braintree integration with the GraphQL API using Ruby on Rails", | ||
"keywords": ["braintree", "graphql", "ruby", "rails"], | ||
"website": "https://www.braintreepayments.com", | ||
"repository": "https://github.com/braintree/braintree_rails_example", | ||
"repository": "https://github.com/braintree/braintree_graphql_rails_example", | ||
"logo": "https://avatars1.githubusercontent.com/u/3453", | ||
"success_url": "/", | ||
"env": { | ||
"BT_ENVIRONMENT": { | ||
"description": "Run against Braintree sandbox environment", | ||
"required": true, | ||
"value": "sandbox" | ||
}, | ||
"BT_MERCHANT_ID": { | ||
"description": "Your Braintree Merchant ID", | ||
"required": true | ||
}, | ||
"BT_PUBLIC_KEY": { | ||
"description": "Your Braintree Public Key", | ||
"required": true | ||
}, | ||
"BT_PRIVATE_KEY": { | ||
"description": "Your Braintree Private Key", | ||
"required": true | ||
}, | ||
"BT_VERSION": { | ||
"description": "A date in the format YYYY-MM-DD (we recommend using the date you started using the GraphQL API)", | ||
"required": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.