Public Repository

Last pushed: 3 years ago
Short Description
Example of an integrated PHP project to the Clearent Gateway
Full Description

Full API documentation:

Please email to get a testing API key to perform test transactions in our sandbox testing environment.

Build docker image
• docker build --no-cache -t clearentgateway/php-api-example

Start container from image
• docker run -d -p 8080:80 -e "api-key=YourApiKeyGoesHere" clearent/phpdemo:v1 /usr/sbin/apache2ctl -D FOREGROUND

To run examples, open browser and go to:

To get name of running containers
• docker ps

And use the name of the container you want to close in this command
• docker kill (container auto generated name goes here)

Docker Pull Command