Giter VIP home page Giter VIP logo

adyen-java-spring-online-payments's People

Contributors

deepu105 avatar dependabot[bot] avatar gcatanese avatar jlengrand avatar kwok-he-chu avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

adyen-java-spring-online-payments's Issues

CORS problem

when I use drop-in ,I click the button ,the page shows that "Error! Please review response in console and refer to Response handling."
by watching the console, I find out it is a CORS problem.
how to solve this problem
thanks
微信图片_20211221150309
微信图片_202112211503091
微信图片_202112211503092

E2E testing for Gift Card sample: Web drop-in v5.40+

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.

Set redirectUrl using hostname

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.

Terminal API

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.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Repository problems

These problems occurred while renovating this repository.

  • WARN: Error updating branch: update failure

Errored

These updates encountered an error and will be retried. Click on a checkbox below to force a retry now.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
Dockerfile
  • amazoncorretto 17-alpine-jdk
github-actions
.github/workflows/build.yml
  • actions/checkout v2
  • actions/setup-java v3
.github/workflows/e2e.yml
  • actions/checkout v2
  • actions/setup-java v3
gradle
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/gradle-wrapper.properties
  • gradle 7.6
terraform
main.tf
  • aws ~> 3.27

  • Check this box to trigger a request for Renovate to run again on this repository

HTTP status Response - unauthorized [Solved]

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).

image
image

image

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

My Merchant account:
image

My API key:
image

My client key:
image

I have also added "https://localhost:8080" to the origin of my client key as follows:
image

Full image of error:
image
image
image

Gradlew build is throwing exception.

./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.

Add PayPal

This is a feature request: Could you please add PayPal as a means of payment to the spring boot example app?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.