GenesisFrame / codeigniter-sagepay-form-master

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SagePay Form library - Production ready - CI 2.1.0 compatible
===================================================================

This CodeIgniter library handles payments via SagePay's
Form e-commerce system.

Setup instructions
------------------

$_GET variables need to be enabled because Sage Pay returns a url like
payment_status/failure/?crypt=ByQZExM . To enable make these changes to
applicaton/config/config.php

$config['uri_protocol'] = "PATH_INFO";
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-?'; // Added ?
$config['enable_query_strings'] = TRUE;

Usage
-----

All available values that can be passed to Sage Pay are listed in
controllers/sagepay_form_example.php

The controller and views provide a fully working example.

Schema
------

Useful schema to store Sage Pay response into

TODO
-----

- Basket support

Extra
-----

If you'd like to request changes, report bug fixes, or contact
the developer of this library, please email <orattue[at]toomanytabs.com>

About

License:MIT License


Languages

Language:PHP 91.1%Language:CSS 8.9%