Skip to content

PHP/MySQL example to implement CAPTcoin's API to easily process CAPTcoin payments.

Notifications You must be signed in to change notification settings

CAPTcoin/receive_payment_php_demo

Repository files navigation

What is this?

A basic PHP/MySQL example on how to implement CAPTcoin's API to easily process CAPTcoin payments.

It uses these APIs:

It converts all the prices to CAPTcoins (using Ticker API) and lets the user create an order. Then it automatically updates the order with the received payments (using Receive Payments API).

Do not use in production as is!

Instructions

* Clone the git repository into your web server.
* cd receive_payment_php_demo
* Edit config.php. Update at least $DB_*, $MY_SITE and $MY_ADDRESS
* Run install.php to create the required DB tables
* Open the demo: http://example.com/receive_payment_php_demo/index.php

About

PHP/MySQL example to implement CAPTcoin's API to easily process CAPTcoin payments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published