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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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:

  1. Download ZIP Archive:

    • Download the ZIP archive.
    • Unzip it.
    • Place it into your project
  2. Git Clone:

    • Use the following command to clone the repository: git clone [email protected]:paymentwall/paymentwall-php.git
  3. 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

Web API details

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

PHP Build Version
Package Version
Requires php Version >=5.2
ext-curl Version *
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package paymentwall/paymentwall-php contains the following files

Loading the files please wait ....