2017 © Pedro Peláez
 

library altapay-php-sdk

A PHP SDK for AltaPay

image

loevgaard/altapay-php-sdk

A PHP SDK for AltaPay

  • Wednesday, December 6, 2017
  • by loevgaard
  • Repository
  • 1 Watchers
  • 0 Stars
  • 263 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

AltaPay PHP SDK

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score ![Total Downloads][ico-downloads], (*1)

A library for making requests to the Altapay API., (*2)

Install

Via Composer, (*3)

$ composer require loevgaard/altapay-php-sdk

Usage

Example of a payment request:, (*4)

<?php
require_once 'vendor/autoload.php';

use Loevgaard\AltaPay\Client;
use Loevgaard\AltaPay\Payload\PaymentRequest as PaymentRequestPayload;
use Money\Money;
use Money\Currency;

$client = new Client('Altapay Username', 'Altapay Password');
$payload = new PaymentRequestPayload('Terminal', 'order-1234', new Money(12595, new Currency('DKK')));
$response = $client->createPaymentRequest($payload);

Change log

Please see CHANGELOG for more information on what has changed recently., (*5)

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*6)

Security

If you discover any security related issues, please email joachim@loevgaard.dk instead of using the issue tracker., (*7)

Credits

License

The MIT License (MIT). Please see License File for more information., (*8)

The Versions

04/10 2017
04/10 2017
29/09 2017

dev-refactoring

dev-refactoring https://github.com/loevgaard/altapay-php-sdk

A PHP SDK for AltaPay

  Sources   Download

MIT

The Requires

 

The Development Requires

altapay loevgaard

12/09 2017
08/09 2017