PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Hicri   Yapikredi PHP Posnet Service   README.md   Download  
File: README.md
Role: Example script
Content type: text/markdown
Description: Example script
Class: Yapikredi PHP Posnet Service
Process payment requests using the Posnet API
Author: By
Last change:
Date: 2 years ago
Size: 710 bytes
 

Contents

Class file image Download

Yapikredi-Posnet-Service

Composer
composer require qwerty/posnet-payment-service dev-main

<?php

$conf = array(
    '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 = array(
    'amount' => "x",
    'installment' => 'x',
    'tranType' =>  'Sale',
    'cardName' => 'xxxxx xxxxxxxxx',
    'ccno' => 'xxxx xxxx xxxx xxxx',
    'expDate' => 'xxxx',
    'cvc' => 'xxx',
    'currencyCode' => 'TL'
);


$order = new OrderClass($orderData);

?>