ibnealamkhan / sabpaisa-direct-intent
SabPaisa Direct Intent Payment Integration using Guzzle in PHP.
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=7.2
- guzzlehttp/guzzle: ^7.0
README
Prerequisites
- SabPaisa Intent must be enabled in your payment gateway account.
- You must have a valid SabPaisa merchant account and credentials.
Configuration
- All configuration settings (client code, username, password, keys, etc.) should be set in the
config.php
file.
Usage
- Ensure
config.php
is properly configured with your SabPaisa credentials. - Include the package files in your project.
- Use the provided classes and methods to initiate payments via SabPaisa Intent.
Example
include_once 'config.php'; include_once 'Sabpaisa.php'; $sabpaisa = new Sabpaisa(); $result = $sabpaisa->processCompletePayment($token, $clientCode,$txnid); // ...initialize payment as shown in index.php...