one4pay_payment_gateway / payment
payment gateway for mobile applications and ecoomerce websites
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/one4pay_payment_gateway/payment
This package is auto-updated.
Last update: 2026-01-26 20:17:39 UTC
README
PHP Sdk for One4Pay API
Installation
You can install the package via composer:
composer require one4pay_payment_gateway/payment
Getting Started
Import the library into your project/application
require_once 'path/to/vendor/autoload.php'; use one4pay/payment ``` making a payment #### usage make payment ```php payment($merchantId,$currencyCode,$cardDetails,$reference,$failureUrl,$returnUrl,$originatingApplicationName ,$amount,$paymentMethod,$apiMethod,$sourceType)``` ###### get available currencies
getAvailableCurrencies()
########authenticate
```php
authentication($username,$password)```