Public Repository

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

Full API documentation:

http://developer.clearent.com/docs-and-apis/transaction-api/

Please email sandboxgatewaysupport@clearent.com 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:
http://YourServerIPAddressGoesHere:8080/apidemo/txn.html

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
Owner
clearentgateway

Comments (0)