Download the PHP package begateway/begateway-api-php without Composer
On this page you can find all versions of the php package begateway/begateway-api-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download begateway/begateway-api-php
More information about begateway/begateway-api-php
Files in begateway/begateway-api-php
Download begateway/begateway-api-php
More information about begateway/begateway-api-php
Files in begateway/begateway-api-php
Please rate this library. Is it a good library?
Informations about the package begateway-api-php
BeGateway payment system API integration library
Requirements
PHP >=7.3
Test data
Shop without 3-D Secure
- Shop Id 361
- Shop secret key b8647b68898b084b836474ed8d61ffe117c9a01168d867f24953b776ddcb134d
Shop with 3-D Secure
- Shop Id 362
- Shop secret key 9ad8ad735945919845b9a1996af72d886ab43d3375502256dbf8dd16bca59a4e
Test data set
- Card name John Doe
- Card expiry month 01 to get a success payment
- Card expiry month 10 to get a failed payment
- CVC 123
Test card numbers
Refer to the documentation https://doc.begateway.com/test-integration#test-card-number for valid test card numbers.
Getting started
Setup
Before to use the library classes you must configure it. You have to setup values of variables as follows:
shopId
shopKey
gatewayBase
checkoutBase
This data you will receive from your payment processor.
Hosted payment page
Simple usage looks like:
Payment request via direct API
Simple usage looks like:
Examples
See the examples directory for integration examples of different transactions.
Documentation
Visit https://doc.begateway.com for up-to-date documentation.
Tests
To run tests
All versions of begateway-api-php with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.3.0
ext-curl Version *
ext-json Version *
ext-mbstring Version *
ext-curl Version *
ext-json Version *
ext-mbstring Version *
The package begateway/begateway-api-php contains the following files
Loading the files please wait ....