BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
www
/
app.imagivibe.com
/
vendor
/
iyzico
/
iyzipay-php
/
src
/
Iyzipay
/
Model
📤 Upload
📝 New File
📁 New Folder
Close
Editing: BasicThreedsPayment.php
<?php namespace Iyzipay\Model; use Iyzipay\Model\Mapper\BasicThreedsPaymentMapper; use Iyzipay\Options; use Iyzipay\Request\CreateThreedsPaymentRequest; class BasicThreedsPayment extends BasicPaymentResource { public static function create(CreateThreedsPaymentRequest $request, Options $options) { $url = "/payment/3dsecure/auth/basic"; $rawResult = parent::httpClient()->post($options->getBaseUrl() . $url, parent::getHttpHeadersV2($url, $request, $options), $request->toJsonString()); return BasicThreedsPaymentMapper::create($rawResult)->jsonDecode()->mapBasicThreedsPayment(new BasicThreedsPayment()); } }
Save
Cancel