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

16 lines (12 sloc) 409 Bytes
<?php
require_once('config.php');
# create request class
$request = new \Iyzipay\Request\RetrievePaymentRequest();
$request->setLocale(\Iyzipay\Model\Locale::TR);
$request->setConversationId("123456789");
$request->setPaymentId("1");
$request->setPaymentConversationId("123456789");
# make request
$payment = \Iyzipay\Model\Payment::retrieve($request, Config::options());
# print result
print_r($payment);