2017 © Pedro Peláez
 

project sagepay-sdk-php

The official Sage Pay PHP SDK for server and direct integrations.

image

ammaar23/sagepay-sdk-php

The official Sage Pay PHP SDK for server and direct integrations.

  • Tuesday, March 21, 2017
  • by ammaar23
  • Repository
  • 0 Watchers
  • 0 Stars
  • 575 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 5 % Grown

The README.md

sagepay-sdk-php

Sage Pay PHP SDK for server and direct integrations (based on the official Sage Pay SDK)., (*1)

This repository takes the official Sage Pay V3 PHP SDK and turns it into a composer compatible include for use with modern frameworks. No code has been modified from the existing Sage Pay code so it allows you to build your own wrappers for your integration. This is not an official Sage Pay package., (*2)

Warning

I make no warranty whatsoever for use of this repository and the code within it. Please always check source code yourself especially when using third-party payment software. It is your responsibility to check for exploits, vulnerabilities in the source code if you are using it in any project. The code has not been modified by myself but this repository could potentially be compromised by a third-party, you should verify the code yourself if using it. The source code itself is mainly provided by Sage Pay themselves but I also make no warranty for their work. If you would like to use this repository in a commercial project it is recommended you download the official Sage Pay integration files from http://www.sagepay.co.uk/support/find-an-integration-document/direct-integration-documents and create your own wrappers using this repository as a guide., (*3)

Install Composer

Run this in your terminal to get the latest Composer version:, (*4)

curl -sS https://getcomposer.org/installer | php Or if you don't have curl: php -r "readfile('https://getcomposer.org/installer');" | php, (*5)

This installer script will simply check some php.ini settings, warn you if they are set incorrectly, and then download the latest composer.phar in the current directory., (*6)

Installation

To install this library to your project it is recommended to use composer., (*7)

Run:, (*8)

composer require ammaar23/sagepay-sdk-php, (*9)

There is a composer archive at:, (*10)

https://packagist.org/packages/ammaar23/sagepay-sdk-php, (*11)

Usage

The Official SagePay SDK does not currently use namespaces so to use the SDK you simply run commands such as: $api = SagepayApiFactory::create(SAGEPAY_SERVER, $config); $api->setBasket($basket); , (*12)

There is a working demo if you download the official SagePay PHP SDK at: http://www.sagepay.co.uk/support/find-an-integration-document/server-integration-documents, (*13)

Updates

I couldn't find any versioning info for the SagePay PHP SDK so please check yourself if you think this archive may be out of date or better yet you can make a request to update this repository yourself!, (*14)

The SDK belongs to SagePay and is their intellectual property. No license information is available but this is a publicly accessible source code. I do not intend any copyright infringement and am simply creating a wrapper to aid developers (including myself) to use the SagePay SDK in their composer compatible projects., (*15)

Contact

If you need to contact me you can get in touch with me via my email: ammaarlatif_14@hotmail.co.uk, (*16)

The Versions

21/03 2017

dev-master

9999999-dev

The official Sage Pay PHP SDK for server and direct integrations.

  Sources   Download

The Requires

  • php >=5.6.4

 

by Ammaar Latif

php gateway sdk sagepay

21/03 2017

v1.0.2

1.0.2.0

The official Sage Pay PHP SDK for server and direct integrations.

  Sources   Download

The Requires

  • php >=5.6.4

 

by Ammaar Latif

php gateway sdk sagepay

20/03 2017

v1.0.1

1.0.1.0

The official Sage Pay PHP SDK for server and direct integrations.

  Sources   Download

The Requires

  • php >=5.6.4

 

by Ammaar Latif

php gateway sdk sagepay

03/03 2017

v1.0

1.0.0.0

The official Sage Pay PHP SDK for server and direct integrations.

  Sources   Download

The Requires

  • php >=5.6.4

 

by Ammaar Latif

php gateway sdk sagepay