GithubHelp home page GithubHelp logo

payex's Introduction

THIS PACKAGE IS DEPRECIATED

Please use payex-sdk-php instead, a supported and maintained package from Payex.

PAYEX PHP CLASS

This class was made to make the way we communicate with PayEx a bit more intutive as well as modern.

The classes are all static, and fairly easy to manage.

How to install?

  1. Install the class somewhere.

  2. Include

include("payex.php");

  1. Set your configuration in config.php.

  2. Do your transaction.

$transaction = PayEx::transaction(123, 1000.31);
if($transaction->isOK()) $transaction->Redirect();

ToDo

This project is pretty fresh. We are still working heavly on it, and there are no production package released yet.

  • Clean up the class.
  • Make a nice documentation
  • Add support for refund.
  • Add more awesome Payex features.

Licence

The project is released under GNU-license. The class are provided as is. And the class are in no way an offical class by PayEx. The initial creators are however a sertified partner with PayEx.

What about Laravel support?

This project had a Laravel-bundle here when Laravel 3 what the coolest. Now that people has began using Laravel Four, we're removing the Laravel version. To make this class work with Laravel, you only need to replace line 163:

header('Location: '.self::$status['redirectUrl']); exit;

with:

return Redirect::to(self::$status['redirectUrl']);

We're planning on making a much better class to support Laravel in the future.

Support

Do you need help with the class, send us an e-mail at [email protected] for assistance.

payex's People

Contributors

simenandre avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

payex's Issues

Recurring/AutoPay

Hey there,

Just curious as to whether you plan to implement CreateAgreement and related AutoPay functions in this class?

Cheers!
Alex

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.