GitXplorerGitXplorer
p

php-secpay

public
1 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
4b46e4dffb29142b95cbdf36cc65808361d842ff

Fixed url typo comment

committed 13 years ago
Unverified
312a59550fff013e90860a4278d950aedd8bd756

Added support for Secpay refunds

committed 13 years ago
Unverified
fb298f613294851f2af60556de67865fefea3135

More sensible password constant names

committed 13 years ago
Unverified
d26254a0870e7d2e96216b79b0fbdb857d4f6f00

Update the README to match the new config setup

committed 13 years ago
Unverified
35db28d7d159b68eb5de5384b5330a8db8f9476e

Improved the config setup

committed 13 years ago
Unverified
10176f01afa5e555e54bc2ab763c533ca37467eb

Converted README to markdown syntax

committed 13 years ago

README

The README file for this repository.

PHP Secpay

PHP Secpay is a set of simple functions to allow you to connect to PayPoint / Secpay's XMLRPC API.

Requirements

You will need a copy of Zend Framework (v1.8 or newer)

Instructions

  1. Create a copy of config.sample.php and name it config.php
  2. Edit this config file to include your real PayPoint credentials
  3. Set the test_status as follows:
    • false - test mode, always fail
    • true - test mode, always succeed
    • live - live mode will actually attempt to process the payment - BE CAREFUL WITH THIS ONE!

### License

Copyright (c) 2010, Paul Maunders (http://www.pyrosoft.co.uk/blog/)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.