Download the PHP package paymentwall/paymentwall-php without Composer
On this page you can find all versions of the php package paymentwall/paymentwall-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download paymentwall/paymentwall-php
More information about paymentwall/paymentwall-php
Files in paymentwall/paymentwall-php
Package paymentwall-php
Short Description Paymentwall PHP Library. Paymentwall is the leading digital payments platform for globally monetizing digital goods and services.
License MIT
Homepage https://www.paymentwall.com/?source=gh
Informations about the package paymentwall-php
About Paymentwall
Paymentwall is the leading digital payments platform for globally monetizing digital goods and services. Paymentwall assists game publishers, dating sites, rewards sites, SaaS companies and many other verticals to monetize their digital content and services. Merchants can plugin Paymentwall's API to accept payments from over 100 different methods including credit cards, debit cards, bank transfers, SMS/Mobile payments, prepaid cards, eWallets, landline payments and others.
To sign up for a Paymentwall Merchant Account, click here.
Paymentwall PHP Library
This library allows developers to use Paymentwall APIs (Virtual Currency, Digital Goods featuring recurring billing, and Virtual Cart).
To use Paymentwall, all you need to do is to sign up for a Paymentwall Merchant Account so you can setup an Application designed for your site. To open your merchant account and set up an application, you can sign up here.
Installation
To install the library in your environment, you have several options:
-
Download ZIP Archive:
- Download the ZIP archive.
- Unzip it.
- Place it into your project
-
Git Clone:
- Use the following command to clone the repository:
git clone [email protected]:paymentwall/paymentwall-php.git
- Use the following command to clone the repository:
- Composer:
composer require paymentwall/paymentwall-php
Then use a code sample below.
Code Samples
Digital Goods API
Initializing Paymentwall
Using Paymentwall PHP Library:
Widget Call
The widget is a payment page hosted by Paymentwall that embeds the entire payment flow: selecting the payment method, completing the billing details, and providing customer support via the Help section. You can redirect the users to this page or embed it via iframe. Below is an example that renders an iframe with Paymentwall Widget.
Pingback Processing
The Pingback is a webhook notifying about a payment being made. Pingbacks are sent via HTTP/HTTPS to your servers. To process pingbacks use the following code:
Virtual Currency API
Initializing Paymentwall
Using Paymentwall PHP Library:
Widget Call
Pingback Processing
Cart API
Initializing Paymentwall
Using Paymentwall PHP Library:
Widget Call
Stored products call example (when products are stored in Paymentwall):
Non-stored products call example (when products are not stored in Paymentwall):
Pingback Processing
Brick
Initializing Paymentwall
Create a one-time token
Charge
Charge - refund
Subscription
Subscription - cancel
Signature calculation - Widget
Signature calculation - Pingback
Mobiamo
Initializing Paymentwall
Get a token
Init payment
Process payment (Use this request if previous response has flow = code/msisdn)
Get payment info
All versions of paymentwall-php with dependencies
ext-curl Version *
ext-json Version *