Adyen 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
  • Component
    • ACH (not supported ATM b/c Java API Library doesn't support bank details)
    • Alipay
    • Boleto
    • Card
    • Dotpay
    • Giropay
    • iDEAL
    • Klarna
    • Sofort

Requirements

  • Java 1.8
  • Gradle

Dependencies

The Gradle build will install the following files from maven central

  • Java Spark v2.8.0
    • Simple Logging Facade (slf4j-simple v1.7.25)
    • Jinjava template v2.7.1
  • org.apache.http URLEncodedUtils v4.5.11
  • Adyen Java API Library v5.0.0

Installation

  1. Clone this repo
  2. Make sure you have Java 1.8 and Gradle installed on your machine

Usage

  1. Update the config file config.ini with your API key, Origin Key, and merchant account name like below:
    merchant_account = TestMerchantAccount
    checkout_apikey = SampleAPIKey
    origin_key = SampleOriginKey
    
  2. Run gradle run
  3. Visit 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

Description
No description provided
Readme MIT 6.1 MiB
Languages
HTML 36.1%
Java 28.2%
CSS 19.8%
JavaScript 14.2%
Dockerfile 1.1%
Other 0.6%