2017 © Pedro Peláez
 

symfony-bundle symfony2hipaylib

Hipay Payment Libs for Symfony2

image

djoo/symfony2hipaylib

Hipay Payment Libs for Symfony2

  • Thursday, December 13, 2012
  • by djoo
  • Repository
  • 1 Watchers
  • 1 Stars
  • 86 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Symfony2HipayLib

This is a package who contains libraries of the payment method Hipay. This is for use in a Symfony2 Application. It's not a bundle with method, just the libraries of Hipay ready to use in Symfony2., (*1)

The folder lib is the same of the lib provided by Hipay. I don't change the files., (*2)

How to use ?, (*3)

Install with composer :, (*4)

"require": {
  "djoo/symfony2hipaylib": "*"
}

Configure your app/autoload.php, (*5)

add('', __DIR__.'/../vendor/symfony/symfony/src/Symfony/Component/Locale/Resources/stubs')
    ->add('HIPAY', __DIR__.'/../vendor/djoo/symfony2hipaylib/lib/hipay') //Add This line
    ;
}


AnnotationRegistry::registerLoader(array($loader, 'loadClass'));

require __DIR__.'/../vendor/djoo/symfony2hipaylib/lib/hipay/mapi_package.php'; //Add This line

return $loader;

And after in your controller you can use the method developped by Hipay. Don't forget to use this at the top of your controller :, (*6)

use HIPAY;

And if you need to call method of Hipay can use this for example :, (*7)

$params = new \HIPAY_MAPI_PaymentParams();

Idem for static method :, (*8)

$output = \HIPAY_MAPI_SEND_XML::sendXML($xmlTx,$urlHipay);

The Versions

13/12 2012

dev-master

9999999-dev http://github.com/djoo/Symfony2HipayLib

Hipay Payment Libs for Symfony2

  Sources   Download

MIT

The Requires

  • php >=5.2.6

 

payment hipay