Download the PHP package sipay-tr/sipay-php-sdk without Composer
On this page you can find all versions of the php package sipay-tr/sipay-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sipay-tr/sipay-php-sdk
More information about sipay-tr/sipay-php-sdk
Files in sipay-tr/sipay-php-sdk
Package sipay-php-sdk
Short Description PHP SDK for the Sipay API
License MIT
Homepage https://www.sipay.com.tr
Informations about the package sipay-php-sdk
Sipay Payments PHP-SDK
Sipay, is a payment gateway that provides a secure and easy-to-use payment infrastructure.
This package is a PHP SDK for the Sipay API.
Important: This package is still in development. Please use it with caution and report any issues you encounter.
Requirements
- PHP 7.4+
- ext-curl, ext-json, ext-openssl extensions
Installation
Run the following command under your project to install the package via Composer
Getting Started
You can create a new instance of the Sipay class by passing the required parameters to the constructor. You can find the required parameters in the sample code below.
Note: For Test API server and credentials, you can check the Sipay API Documentation
Examples
Included in the project are a number of examples that cover almost all use-cases. Refer to the samples folder for more info.
Testing
You can run the tests as following command below:
To run a test file, you can use the following example command:
To run a test method in test file, you can use the following example command:
All versions of sipay-php-sdk with dependencies
ext-curl Version *
ext-json Version *
ext-openssl Version *