slvler / posnet-payment-service
posnet payment system from turkish banks
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
README
a Turkish YapiKredi Bank POS service connection for PHP.
Composer
composer require slvler/posnet-payment-service
<?php $conf = [ 'mid' => 'xxxxxxxxxx', 'tid' => 'xxxxxxxx', 'clientId' => 'xxxx', 'clientUser' => 'xxxxxxxx', 'clientPass' => 'xxxxxxxx', 'encKey' => 'x,xx,xx,xxx,xxx,xxx,xxx,xxx' ]; $config = new Config($conf); ?>
<?php $orderData = [ 'amount' => "x", 'installment' => 'x', 'tranType' => 'Sale', 'cardName' => 'xxxxx xxxxxxxxx', 'ccno' => 'xxxx xxxx xxxx xxxx', 'expDate' => 'xxxx', 'cvc' => 'xxx', 'currencyCode' => 'TL' ]; $order = new OrderClass($orderData); ?>