EXCHANGE PHP CLIENT

There is also PHP Client implementation available which takes care about generating XML, signature generation and parsing responses into PHP objects automatically. 


Installing PHP Client via Composer:

composer require allsecure-pay/php-exchange

PHP Client on Github:
https://github.com/allsecure-pay/php-exchange


PHP client is made having in mind the LIVE environment. If you are to test on a Sandbox environment, you should ammend the client as follows:

  • src/Client.php to comment-out line 44 and uncomment line 45
  • src/Client.php to comment-out line 68 and uncomment line 69
  • src/Xml/Generator.php to comment-out line 43 and uncomment line 44