Permalink
Branch: master
Find file Copy path
8196ff5 Jul 31, 2016
Sabri Onur Tüzün samples refactored
0 contributors

Users who have contributed to this file

15 lines (11 sloc) 380 Bytes
<?php
require_once('config.php');
# create request class
$request = new \Iyzipay\Request\CreateApprovalRequest();
$request->setLocale(\Iyzipay\Model\Locale::TR);
$request->setConversationId("123456789");
$request->setPaymentTransactionId("1");
# make request
$disapproval = \Iyzipay\Model\Disapproval::create($request, Config::options());
# print result
print_r($disapproval);