adyen-examples / adyen-java-spring-online-payments Goto Github PK
View Code? Open in Web Editor NEWAccept payments on your Java Spring Boot based website with cards, wallets, and key local payment methods
License: MIT License
Accept payments on your Java Spring Boot based website with cards, wallets, and key local payment methods
License: MIT License
The E2E testing suite fails with the Git Card example when upgrading Web drop-in to 5.40+.
Currently Gift Card sample on .NET and NodeJS work with an older version Web drop-in (ie 5.31.0) but cannot be upgraded. Investigate how to refactor/solve the E2E tests so we can upgrade the Drop-in version.
The redirectUrl is hardcoded (http://localhost:8080
) therefore it doesn't work when the app is deployed on Gitpod (or other cloud providers). Refactor to use the hostname header.
Hi,
Could someone provide a simple Terminal API request and response example?
The Java library itself seems to provide some unit tests using the TerminalAPIRequest and TerminalAPIResponse classes, but it's a little difficult to deduce how to write simple test API calls, similar to payment checkouts.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These problems occurred while renovating this repository.
These updates encountered an error and will be retried. Click on a checkbox below to force a retry now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
Dockerfile
amazoncorretto 17-alpine-jdk
.github/workflows/build.yml
actions/checkout v2
actions/setup-java v3
.github/workflows/e2e.yml
actions/checkout v2
actions/setup-java v3
settings.gradle
build.gradle
org.springframework.boot 3.0.1
io.spring.dependency-management 1.1.0
com.adyen:adyen-java-api-library 18.1.3
gradle/wrapper/gradle-wrapper.properties
gradle 7.6
main.tf
aws ~> 3.27
Problem: There is an error while trying your example code. I believe the problem is with "HTTP status Response - unauthorized," but I thought I provided the correct credentials (API key and merchant account).
Question: It is my problem, and what did I do wrong? (I checked that the API KEY was right and up to date)
The code I ran (+the credentials I provided):
export ADYEN_API_KEY="AQEnhmfuXNWTK0Qc+iSEk2EhqOqwQYYaWMKNZHVRhqPO0vSX4EQ1ag5eEMFdWw2+5HzctViMSCJMYAc=-xeNNimObWprWbAPMbwt1eT6ccku8onG4VYRWalj1ftE=-Xgbz;#[7DN8PSWhm"
export ADYEN_MERCHANT_ACCOUNT="TaeyonKim751ECOM"
export ADYEN_CLIENT_KEY="export ADYEN_CLIENT_KEY="test_NBXB77N2HVHZPC2RNQ64IXMT5MJEQQMJ""
./gradlew bootRun
Note: The merchant account and API key is from a test account I created. I followed the steps from: https://docs.adyen.com/online-payments/integration-checklist
I have also added "https://localhost:8080" to the origin of my client key as follows:
./gradlew build
Task :test
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/Users/anuj/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy/2.5.13/ac054525fdc81cbd0bc2552b57052ebb1a93cd40/groovy-2.5.13.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
com.adyen.checkout.OnlinePaymentsApplicationTests > contextLoads() FAILED
java.lang.IllegalStateException at DefaultCacheAwareContextLoaderDelegate.java:132
Caused by: org.springframework.beans.factory.BeanCreationException at AbstractAutowireCapableBeanFactory.java:529
Caused by: java.lang.IllegalArgumentException at PropertyPlaceholderHelper.java:178
1 test completed, 1 failed
As a work around, I had to install gradle separately and build using gradle command to make it work. Please verify it at your end and update the documentation.
Introduce HMAC signature validation for incoming webhook requests
This is a feature request: Could you please add PayPal as a means of payment to the spring boot example app?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.