sch-group/zotto-sdk

Zotto payments api connector

Installs: 482

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/sch-group/zotto-sdk

v7.1 2021-09-07 08:49 UTC

This package is auto-updated.

Last update: 2025-09-07 17:32:53 UTC


README

ZOTTO PAYMENT SYSTEM API CONNECTOR

composer require sch-group/zotto-sdk

Create transaction

       $config = new ZottoConfig($config['host'], $config['merchant_key'], $config['merchant_secret']);
       $client = new ZottoConnector($config);
       
        $transaction = new Transaction(
                   rand(0, 10000000) . "test",
                   100,
                   'EUR',
                   'https://www.google.com',
                   'https://www.google.com',
                   'https://www.google.com',
                   'https://www.google.com',
                   'https://www.google.com',
                   rand(0, 10000000) . "test",
                   Transaction::CARD_REDIRECT_TYPE
        );
       
       $html = $lient->generatePaymentLink($transaction);