ok
Direktori : /home2/selectio/www/limpiar.in.net/install/vendor/iyzico/iyzipay-php/samples/ |
Current File : //home2/selectio/www/limpiar.in.net/install/vendor/iyzico/iyzipay-php/samples/cancel.php |
<?php require_once('config.php'); # create request class $request = new \Iyzipay\Request\CreateCancelRequest(); $request->setLocale(\Iyzipay\Model\Locale::TR); $request->setConversationId("123456789"); $request->setPaymentId("1"); $request->setIp("85.34.78.112"); # make request $cancel = \Iyzipay\Model\Cancel::create($request, Config::options()); # print result print_r($cancel);