Skip to content

Commit

Permalink
+New Version
Browse files Browse the repository at this point in the history
  • Loading branch information
feyzullahdemir committed Apr 20, 2023
1 parent 5dba2f0 commit 23d68fe
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 4 deletions.
Binary file modified Block/.DS_Store
Binary file not shown.
Binary file modified Block/Adminhtml/.DS_Store
Binary file not shown.
3 changes: 2 additions & 1 deletion Controller/IyzicoBase/IyzicoFormObjectGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ public function generateOption($checkoutSession,$cardUserKey,$locale,$currency,$
$iyzico->forceThreeDS = "0";
$iyzico->callbackUrl = $callBack."Iyzico_Iyzipay/response/iyzicocheckoutform";
$iyzico->cardUserKey = $cardUserKey;
$iyzico->paymentSource = "MAGENTO2|".$magentoVersion."|SPACE-1.4.0";
$iyzico->paymentSource = "MAGENTO2|".$magentoVersion."|SPACE-1.5.0";
$iyzico->goBackUrl = $callBack;

return $iyzico;

Expand Down
1 change: 1 addition & 0 deletions Controller/IyzicoBase/IyzicoPkiStringBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ public function createFormObjectSort($objectData) {
$form_object->paidPrice = $objectData->paidPrice;
$form_object->forceThreeDS = $objectData->forceThreeDS;
$form_object->cardUserKey = $objectData->cardUserKey;
$form_object->goBackUrl = $objectData->goBackUrl;

return $form_object;
}
Expand Down
1 change: 1 addition & 0 deletions Controller/Request/IyzicoCheckoutForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ public function execute()
}

$iyzico = $iyzicoFormObject->generateOption($checkoutSession,$customerCardUserKey,$locale,$currency,$cardId,$callBack,$magentoVersion);

$iyzico->buyer = $iyzicoFormObject->generateBuyer($checkoutSession,$guestEmail);
$iyzico->billingAddress = $iyzicoFormObject->generateBillingAddress($checkoutSession);
$iyzico->shippingAddress = $iyzicoFormObject->generateShippingAddress($checkoutSession);
Expand Down
Binary file added Model/.DS_Store
Binary file not shown.
Binary file added Model/Config/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion Model/Payment/Iyzipay.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

class Iyzipay extends \Magento\Payment\Model\Method\AbstractMethod
{
const PLUGIN_VERSION = '1.4.0';
const PLUGIN_VERSION = '1.5.0';
protected $_code = "iyzipay";
protected $_isOffline = true;

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "iyzico/iyzipay",
"description": "iyzico Payment Gateway For Magento 2",
"type": "magento2-module",
"version": "1.4.0",
"version": "1.5.0",
"license": "GPL-3.0",
"authors": [
{
Expand Down
Binary file added etc/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" ?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Iyzico_Iyzipay" setup_version="1.4.0"/>
<module name="Iyzico_Iyzipay" setup_version="1.5.0"/>
<sequence>
<module name="Magento_Sales"/>
<module name="Magento_Checkout"/>
Expand Down

0 comments on commit 23d68fe

Please sign in to comment.