Download the PHP package adcoin-project/api-php-wrapper without Composer
On this page you can find all versions of the php package adcoin-project/api-php-wrapper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download adcoin-project/api-php-wrapper
More information about adcoin-project/api-php-wrapper
Files in adcoin-project/api-php-wrapper
Package api-php-wrapper
Short Description This PHP library is a wrapper for the AdCoin API
License
Informations about the package api-php-wrapper
AdCoin API client for PHP
Accept payments in AdCoin on your website or inside your platform in minutes with the official AdCoin Payment Gateway. No fixed costs or punishing registration procedures. Receive payments anonymous and without transaction or registration costs for both the receiver and sender.
This project serves as an easy-to-use PHP wrapper for the functionalities provided by the AdCoin Wallet API. Furthermore, this repository contains a handful of example implementations utilizing the wrapper.
Requirements
- Get yourself a free AdCoin Web Wallet account at wallet.getadcoin.com. No sign up costs.
- Click on your username in the right upper corner and go to ‘API Key’ and generate your key.
- Now you’re ready to use the AdCoin API Client.
- PHP >= 5.3
- PHP cURL extension
Receiving payments
To successfully receive a payment, these steps should be implemented:
- Use the AdCoin Payment Gateway client to start a new payment request.
- The gateway redirects the user directly after the unconfirmed ACC amount is received within the Web wallet
- The customer returns and after 5 minutes the webhook is called to check if the amount of AdCoin is already getting confirmed by the blockchain network.
Getting started
Install the library using Composer:
See examples for an example implementation
Catching initial succesful payment
The redirectUrl only get’s called when a payment is succesful. Otherwise the user is getting returned to the previous page. After the payment is confirmed by the blockchain network, the webhookUrl is called with the definitive status.
API documentation
If you wish to learn more about our API, please visit the Official API Documentation. API Documentation is available in English.
Want to help us make our API client even better?
Want to help us make our API client even better? We take pull requests, sure. AdCoin Click BV is hiring developers and system engineers. Interested? Join us for a coffee.
License
BSD (Berkeley Software Distribution) License. Copyright (c) 2013-2018, AdCoin Click B.V.
Support
Contact: www.getadcoin.com — [email protected]