Git Product home page Git Product logo

adyen-module's Introduction

OXID Solution Catalysts Adyen Module

Adyen integration for OXID eShop 6.5 and above.

Documentation

Branch Compatibility

  • b-6.5.x module branch is compatible with OXID eShop compilation 6.5

Install for OXID

  • see Official documentation

Limitations

  • tbd

Running tests

Warning: Running tests will reset the shop.

Requirements:

  • Ensure test_config.yml is configured:
    partial_module_paths: osc/adyen
    * ```
    activate_all_modules: true
    run_tests_for_shop: false
    run_tests_for_modules: true
    
  • For codeception tests to be running, selenium server should be available, several options to solve this:

Run

Running phpunit tests:

vendor/bin/runtests

Running phpunit tests with coverage reports (report is generated in .../adyen/Tests/reports/ directory):

XDEBUG_MODE=coverage vendor/bin/runtests-coverage

Running codeception tests default way (Host: selenium, browser: chrome):

vendor/bin/runtests-codeception

Running codeception tests example with specific host/browser/testgroup:

SELENIUM_SERVER_HOST=seleniumchrome BROWSER_NAME=chrome vendor/bin/runtests-codeception --group=examplegroup

Apple Pay (Dev) Integration

since the Apple Pay integration is the most complex one, here are a few hints

Sandbox Tester Account and Test Credit Card

  • its mandatory needed to have an Apple developer account
  • create an Apple sandbox tester account: https://developer.apple.com/apple-pay/sandbox-testing/
  • make sure this tester account is not used on any Apple device
  • login with you sandbox tester account on your test Apple device
  • add a test credit card number to the wallet on that test Apple device
    • had some trouble adding a working test card, this one worked for me:
      • 4123 4000 7332 0224
      • Expiration Date: 12/2025
      • CVV: 863

Adyen Setup

  • the shops webserver need to serve a domain association file: https://docs.adyen.com/payment-methods/apple-pay/web-drop-in?utm_source=ca_test#going-live
    • Download and unzip the domain association file
    • put it reachable under /.well-known/apple-developer-merchantid-domain-association on your shops webserver
    • in my dev setup I experienced problems with Content-Type: text/plain in the header
      • I used the cloudflare ssh tunnel to make my local webserver publicly reachable
      • the cloudflare proxy did not set the Content-Type: text/plain header
      • using a dyndns service to make my local webserver reachable worked for me to solve this
  • under Home => Add Payment Methods click "Add more"
    • click "Request Payment Method"
    • search for Apple
    • click checkbox
    • click Adyen's Certificate
    • enter prefered Merchant Name
    • under Shop websites enter the domain under your shop webserver is reachable including https://
  • under Developers => API credentials click ws@Company.[your-adyen-account]
    • under "Server settings => Authentication" click "Generate API key", copy it and save it
    • under "Client settings => Authentication" click "Generate client key", copy it and save it
    • add allowed domains: the domain under your shop webserver is reachable including https://

adyen-module's People

Contributors

mariolorenz avatar rene-gust avatar sieg avatar hkreuter avatar dmitriivolkhinoxid avatar oxidmichaelwalter avatar dependabot[bot] avatar honkderhase avatar oxidfabian avatar maexware-danny avatar emanueleacito avatar tobiastheiner avatar danielpaniaguareyes avatar marceloxid avatar

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.