/qcs-example-php

QMORE Checkout Seamless integration example in PHP

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

QMore Checkout Seamless integration example

License PHP v7.4

This example demonstrates the usage of QMore Checkout Seamless and provides a basis for integration into PHP-based systems.

Our Online Guides provide an in depth description of QMore Checkout Seamless.

Installation

Copy the example code to a web server which supports PHP. Ensure that the web server is accessible from the Internet via port 80 (for http communication) or port 443 (for https communication). The web server needs a fully qualified domain name for receiving data from Qenta (e.g. payment confirmations).

Docker

Required: Docker and docker-compose

Recommended: ngrok

Demo Configuration

Run docker-compose up to start the qcs-example-php Application locally with our demo configuration.

Test Configuration

The Repository features a .env.example File with our test configuration. The qcs-example-php Application can be started with our test configuration by running docker-compose --env-file .env.example up.

Custom Configuration

In order to use the backend-example-php Application with your own Qenta Configuration you need to run cp .env.example .env and change the corresponding values in the .env File with the values representing your Qenta Configuration. Afterwards a simple docker-compose up will start the backend-example-php App with your Configuration.

The webserver is accessible at http://localhost:8001.

To receive a payment confirmation you need a FQDN. We recommend to use ngrok. Run ngrok http http://localhost:8001 to get an externally reachable URL.

Support and additional information

If you have any questions or troubles to get this example up and running in your web server environment, please do not hesitate to contact our support teams.