Added .gitignore, README.md, License

TODO:
- Figure out how best to deploy Java Spark application
- Update README.md with deployment instructions
- Update Adyen API calls to support LPMS
This commit is contained in:
Tyler Douglas
2020-04-03 18:11:06 -07:00
parent a866a55137
commit a5ecb067d6
3 changed files with 83 additions and 0 deletions

10
.gitignore vendored Normal file
View File

@@ -0,0 +1,10 @@
.gradle
.idea
.DS_Store
gradle
build
gradlew
gradlew.bat

21
LICENSE Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice (including the next
paragraph) shall be included in all copies or substantial portions of the
Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

52
README.md Normal file
View File

@@ -0,0 +1,52 @@
# [Adyen Checkout](https://docs.adyen.com/checkout) integration demo
This repository includes examples of PCI-compliant UI integrations for online payments with Adyen. Within this demo app, we've created a simplified version of an e-commerce website, complete with commented code to highlight key features and concepts of Adyen's API. Check out the underlying code to see how you can integrate Adyen to give your shoppers the option to pay with their preferred payment methods, all in a seamless checkout experience.
## Integrations
**Java with Spark Java** demos of the following client-side integrations are available in this repository:
* [Drop-in](https://docs.adyen.com/checkout/drop-in-web)
* [Component](https://docs.adyen.com/checkout/components-web)
* ACH
* Alipay
* Boleto
* Card
* Dotpay
* Giropay
* iDEAL
* Klarna
* Sofort
## Requirements - TODO
* Java 1.8
* Gradle
## Installation - TODO
1. Clone this repo
2. ...
## Usage - TODO
1. Update the config file `config.ini` with your [API key](https://docs.adyen.com/user-management/how-to-get-the-api-key), [Origin Key](https://docs.adyen.com/user-management/how-to-get-an-origin-key), and merchant account name like below:
```
merchant_account = TestMerchantAccount
checkout_apikey = SampleAPIKey
origin_key = SampleOriginKey
```
2. Make sure your (venv) is activated by running `source ./venv/bin/activate` from your projects root.
3. Run `./start.sh` to:
* Initialize the required environment variables. This step is necessary every time you re-activate your (venv)
* Run flask
3. Visit [http://localhost:8080](http://localhost:8080) and select an integration type!
## Contributing
We commit all our new features directly into our GitHub repository. Feel free to request or suggest new features or code changes yourself as well!!
## License
MIT license. For more information, see the **LICENSE** file in the root directory