tcgunel/omnipay-tosla

Omnipay extension for Tosla

Maintainers

Package info

github.com/tcgunel/omnipay-tosla

pkg:composer/tcgunel/omnipay-tosla

Statistics

Installs: 49

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v3.1.0 2026-06-11 10:18 UTC

This package is auto-updated.

Last update: 2026-06-11 10:20:25 UTC


README

License Buy us a tree PHP Composer

Omnipay Tosla Gateway

Omnipay gateway for Tosla. All the methods of Tosla implemented for easy usage.

Requirements

PHP Package
^8.0 v1.0.0

Installment

composer require tcgunel/omnipay-tosla

Usage

Tosla developer center

Check /examples folder for examples.

Methods

Payment Services

Komisyon Yansıtma (isCommission)

Taksitli işlemde komisyonu müşteriye yansıtmak için hasInstallmentComission = 1 ve totalAmount (GetInstallmentOptions'tan dönen, seçilen taksite karşılık gelen tutar) gönderilmelidir:

$gateway->purchase([
    'secure'      => true,
    'amount'      => '100.00',
    'currency'    => 'TRY',
    'installment' => 3,
    'hasInstallmentComission' => 1,
    'totalAmount' => '101.01', // installmentOptions() çıktısındaki ilgili taksitin tutarı
    // ...
]);

Treeware

This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.