PHPackages                             marlon-be/marlon-sips - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. marlon-be/marlon-sips

ActiveLibrary

marlon-be/marlon-sips
=====================

1.0.3(12y ago)1590.9k—0%16[3 issues](https://github.com/worldline/Sips-International-non-FR-PHPlibrary/issues)[2 PRs](https://github.com/worldline/Sips-International-non-FR-PHPlibrary/pulls)PHP

Since Nov 18Pushed 4y ago21 watchersCompare

[ Source](https://github.com/worldline/Sips-International-non-FR-PHPlibrary)[ Packagist](https://packagist.org/packages/marlon-be/marlon-sips)[ RSS](/packages/marlon-be-marlon-sips/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

Sips PHP library
================

[](#sips-php-library)

This library allows you to easily implement a \[Sips\] integration into your project. It provides the necessary components to complete a correct payment flow with the \[Sips\] platform.

Requirements:

- PHP 5.3
- network connection between your webserver and the Sips platform

The SIPS platform can be reached through the following URL's:

- SIMU:
- TEST:
- PRODUCTION:

Overview
--------

[](#overview)

The library complies to the [PSR-0 standard](http://www.sitepoint.com/autoloading-and-the-psr-0-standard/), so it can be autoloaded using PSR-0 classloaders like the one in Symfony2. See autoload.php for an example.

The library supports the use of [Composer](http://getcomposer.org).

- Create a PaymentRequest, containing all the info needed by Sips.
- Submit it to Sips (client side)
- Receive a PaymentResponse back from Sips (as a HTTP Request)

Both PaymentRequest and PaymentResponse are authenticated by comparing the SHA sign, which is a hash of the parameters and a secret passphrase. You can create the hash using a ShaComposer.

SHA Composer
============

[](#sha-composer)

Sips method to generate a SHA sign:

- "Each parameter followed by the passphrase" This method requires you to use the following encryption method: SHA-256.

    Implementation using this library is trivial:

```
