mirays / solidgate-php-sdk
Php API SDK for SolidGate payment gateway
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 4
pkg:composer/mirays/solidgate-php-sdk
Requires
- php: ^7.1|^8.0
- ext-json: *
- ext-openssl: *
- guzzlehttp/guzzle: ^6.1|^7
This package is auto-updated.
Last update: 2025-11-29 03:40:24 UTC
README
SolidGate API
This library provides API options of SolidGate payment gateway.
Installation
With Composer
$ composer require mirays/solidgate-php-sdk
{
"require": {
"mirays/solidgate-php-sdk": "~0.1"
}
}
Usage
Payment Form Init Example
Card-gate example
<?php use SolidGate\API\PaymentPageApi; use SolidGate\API\DTO\Request\PaymentPage\InitRequest; $api = new PaymentPageApi('YourMerchantId', 'YourPrivateKey'); $request = new InitRequest( new InitRequest\SubscriptionOrderDTO('ProductId','OrderId', 'CustomerId', 'OrderDescription'), new InitRequest\PageCustomizationDTO('PublicName') ); $response = $api->initPage($request);