PHPackages                             sbarbat/sylius-sagepay-plugin - 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. [Payment Processing](/categories/payments)
4. /
5. sbarbat/sylius-sagepay-plugin

ActiveSylius-plugin[Payment Processing](/categories/payments)

sbarbat/sylius-sagepay-plugin
=============================

The Payum Sagepay plugin

33.5k7[3 issues](https://github.com/sbarbat/SyliusSagepayPlugin/issues)[1 PRs](https://github.com/sbarbat/SyliusSagepayPlugin/pulls)PHPCI failing

Since Jul 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/sbarbat/SyliusSagepayPlugin)[ Packagist](https://packagist.org/packages/sbarbat/sylius-sagepay-plugin)[ RSS](/packages/sbarbat-sylius-sagepay-plugin/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (4)Used By (0)

Overview
--------

[](#overview)

This plugins provides integration for Direct (server) Sagepay integrations. It supports 3D Secure.

This plugin is been used at least on one production website with over 10,000 successfully processed transactions.

[![Sylius sagepay integration](https://raw.githubusercontent.com/sbarbat/SyliusSagepayPlugin/master/img/sylius-sagepay-integration.png)](https://raw.githubusercontent.com/sbarbat/SyliusSagepayPlugin/master/img/sylius-sagepay-integration.png)

Installation
------------

[](#installation)

```
$ composer require sbarbat/sylius-sagepay-plugin
```

Add plugin dependencies to your AppKernel.php file:

```
public function registerBundles()
{
    return array_merge(parent::registerBundles(), [
        ...

        new \Sbarbat\SyliusSagepayPlugin\SbarbatSyliusSagepayPlugin(),
    ]);
}
```

### Optional Installation steps

[](#optional-installation-steps)

#### Money Amount Conversion

[](#money-amount-conversion)

By default sylius stores prices as integer values representing the amount in cents/pence or smallest unit.

If you have modified sylius to store money amounts in a different format, or with a different precision, then you will need to override.

Example, if your copy of sylius stores 4 decimals instead of 2, then you will need to override the class like this:

```
