Coder Social home page Coder Social logo

fatchip-stefan / amazon-pay-module Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oxid-esales/amazon-pay-module

0.0 0.0 0.0 1.19 MB

Amazon Pay Module for OXID eShop

License: GNU General Public License v3.0

JavaScript 1.48% PHP 85.64% CSS 0.23% Smarty 12.43% SCSS 0.23%

amazon-pay-module's Introduction

Amazon Pay for OXID

Amazon Pay integration for OXID eShop 6.1 and above.

Documentation

Branch Compatibility

  • b-6.1.x module branch is compatible with OXID eShop compilation 6.1 and higher

Install for OXID

  • see Official documentation

Limitations

List of Limitations could be found in

Running tests

Warning: Running tests will reset the shop.

Requirements:

  • Ensure test_config.yml is configured:
    partial_module_paths: osc/amazonpay
    * ```
    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:

Develop javascript

  • we are using grunt
  • currently grunt is not installed in php container
  • so install it on your host system: https://gruntjs.com/getting-started
    • sudo npm install -g grunt-cli
    • cd source/modules/osc/amazonpay/resources
    • npm install grunt --save-dev
  • using: grunt
  • cd source/modules/osc/amazonpay/resources
  • grunt # this command compiles the sass => out/src/css/* and the out/src/js/*

Run

Running phpunit tests:

vendor/bin/runtests

Running phpunit tests with coverage reports (report is generated in .../amazonpay/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

amazon-pay-module's People

Contributors

mariolorenz avatar dmitriivolkhinoxid avatar oxidmichaelwalter avatar oliver-sigmund avatar honkderhase avatar dependabot[bot] avatar oxidfabian avatar rene-gust avatar batwolf avatar hkreuter avatar gm-alex avatar nabussan avatar 4takte avatar svenbrunk avatar indianer3c 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.