mirror of
https://github.com/jlengrand/adyen-java-spark-online-payments.git
synced 2026-03-10 08:01:24 +00:00
Creates gitpod file
This commit is contained in:
20
.gitpod.yml
Normal file
20
.gitpod.yml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
tasks:
|
||||||
|
- init: ./gradlew build
|
||||||
|
command: |
|
||||||
|
if [ -z ${ADYEN_HMAC_KEY+x} ] || [[ -z ${ADYEN_API_KEY+x} ]] || [[ -z ${ADYEN_CLIENT_KEY+x} ]] || [[ -z ${ADYEN_MERCHANT_ACCOUNT+x} ]]; then
|
||||||
|
echo "Expected environment variables not found. Please set the ADYEN_HMAC_KEY, ADYEN_API_KEY, ADYEN_CLIENT_KEY, ADYEN_MERCHANT_ACCOUNT environment variables and rerun session https://gitpod.io/variables."
|
||||||
|
else
|
||||||
|
./gradlew run
|
||||||
|
fi
|
||||||
|
|
||||||
|
# exposed ports
|
||||||
|
ports:
|
||||||
|
- port: 8080
|
||||||
|
onOpen: open-preview
|
||||||
|
|
||||||
|
vscode:
|
||||||
|
extensions:
|
||||||
|
- redhat.java
|
||||||
|
- vscjava.vscode-java-debug
|
||||||
|
- vscjava.vscode-java-test
|
||||||
|
- pivotal.vscode-spring-boot
|
||||||
@@ -21,6 +21,14 @@ This repository includes examples of PCI-compliant UI integrations for online pa
|
|||||||
* PayPal
|
* PayPal
|
||||||
* Sofort
|
* Sofort
|
||||||
|
|
||||||
|
## Run this integration in seconds using [Gitpod](https://gitpod.io/)
|
||||||
|
|
||||||
|
* Open your [Adyen Test Account](https://ca-test.adyen.com/ca/ca/overview/default.shtml) and create a set of [API keys](https://docs.adyen.com/user-management/how-to-get-the-api-key).
|
||||||
|
* Go to [gitpod account variables](https://gitpod.io/variables).
|
||||||
|
* Set the `ADYEN_API_KEY`, `ADYEN_CLIENT_KEY`, `ADYEN_HMAC_KEY` and `ADYEN_MERCHANT_ACCOUNT variables`.
|
||||||
|
* Click the button below!
|
||||||
|
|
||||||
|
[](https://gitpod.io/#https://github.com/adyen-examples/adyen-java-spring-online-payments)
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user