enumit/bambora

1.0.0 2017-09-15 20:59 UTC

README

Features:

  • Payment
  • Reporting
  • Profiles
  • Tokenization

Installation

Use composer

composer require enumit/bambora

Usage

$payment = \enumit\bambora\Gateway::getPaymentRequest('Your merchantId', 'Your API passcode', 'API version');

$response = $payment->makePayment([
    'order_number' => '123456',
    'amount' => '123.45',
    'payment_method' => 'card',
    'card' => [
        'number' => '400000001111',
        'name' => 'Card Holder',
        'expiry_month' => '08',
        'expiry_year' => '20',
        'cvd' => '123',
    ],
]);