Download the PHP package alexcode/sumup-php without Composer

On this page you can find all versions of the php package alexcode/sumup-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 sumup-php

SumUp PHP SDK

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

This repo is archived, please use the official Sumup PHP SDK.

Requirements

PHP 5.6 and later.

Composer

You can install the bindings via Composer. Run the following command:

Basic Usage

Setup your credentials

OAuth

As a merchant, you will need to Authorize your app to make requests on your behalf with OAuth

Authorization Code Grant

Get the authorize Url to redirect your merchant to.

SumUp doc Authorization Code Grant

Upon accepting the dialog, the merchant browser will hit your redirect URI with the code in the GET parameter (ex: http://MY_OAUTH_REDIRECT/?code=246d97b0b730c61f5929drfb3a444948fd54c058d0416019)

Therefore, you can create an Access Token to act on behalf of your Merchant.

Get Access Token

Refresh Access Token

SumUp doc Refresh Tokens

Checkout

Create the checkout server-side

SumUp doc Create checkout API

Complete the checkout client-side

Use the URL to complete the payment in the client browser. Therefore, no PCI data is ever hitting your server.

SumUp doc Complete checkout API

Note that a checkout can be completed in a browser only from a domain that is present in your OAuth setup as an authorized javascript origin(s).

List of currently implemented SumUp API

Checkouts API

Transactions API

Accounts API

Credits

This Library is loosely inspired from Stripe PHP


All versions of sumup-php with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.0
guzzlehttp/guzzle Version ^6.3
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 alexcode/sumup-php contains the following files

Loading the files please wait ....