Giter VIP home page Giter VIP logo

adyen-shopware-plugin-demo's Introduction

Adyen Shopware 6 Plugin integration demo

In this demo, you can spin up a Shopware instance and install the Adyen Payment plugin to see how an integration works. It gives your shoppers the option to pay with their preferred payment method in a seamless checkout experience. You can try this demo both online or locally on your computer.

Running online with Gitpod

  • Open your Adyen Test Account and create a set of API keys.
  • Click the button below and wait for the "Unable to find a matching sales channel for the request" message to appear in the preview panel.

Open in Gitpod

  • Open a new Terminal in the current directory and run:
APP_URL=`gp url 8080 | sed 's~https://~~'` ./install.sh
  • Visit previewURL/admin/ and login to view and configure the Adyen Payment plugin
  • Login with default Shopware Admin credentials:
    • User: admin
    • Password: shopware
  • Follow the configuration steps from our official Shopware 6 Getting Started Guide

NOTE: To allow the Adyen Drop-In and Components to load, you have to add https://*.gitpod.io as allowed origin for your chosen set of API Credentials

Running locally

If you don't want to run this demo online, then follow these steps.

Requirements

  • Docker

Installation

  1. Clone this repo:
git clone https://github.com/adyen-examples/adyen-shopware-plugin-demo.git
  1. Run docker compose to spin up the Shopware Docker image. This may take a few minutes depending on your internet and system speed.
docker-compose up
  1. Open a new terminal tab in the current directory and run the following command to set APP_URL, install and activate the Adyen Payment plugin:
APP_URL='localhost:8080' ./install.sh

Usage

  1. Visit shop page http://localhost:8080
  2. Login to the admin dashboard (http://localhost:8080/admin/) to configure your API keys and payment options.
    • Login with default Shopware Admin credentials:
    • User: admin
    • Password: shopware

Remember to include http://localhost:8080 in the list of Allowed Origins on the Customer Area.

To try out integrations with test card numbers and payment method details, see Test card numbers.

Contributing

We commit all our new features directly into our GitHub repository. Feel free to request or suggest new features or code changes yourself as well!

Find out more in our Contributing guidelines.

License

MIT license. For more information, see the LICENSE file in the root directory.

adyen-shopware-plugin-demo's People

Contributors

ayodejidev avatar

Stargazers

 avatar

Watchers

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