iyzico Payment Gateway is one of the best payment methods in Turkey. Using iyzico marketplace add-on, the store owner can integrate iyzico payment gateway in Magento 2 Marketplace. Magento 2 Marketplace iyzico Payment Gateway helps the marketplace vendors to accept payments online by enabling the iyzico payment method for the product purchase. This module supports split payments functionality, where the amount is automatically divided between the sellers and store owner at the time of checkout. Customers can use iyzico payment method to pay for their purchases during checkout with ease as the payments done through this gateway are fully secure.
Features – Marketplace Iyzico Payment Gateway
- Admin can enable or disable the iyzico Payment Method from admin panel.
- Supports Payment Split Functionality due to which both admin and seller receive the payment at the time of Checkout.
- The seller can become a sub-merchant by entering the necessary information to receive funds when payment is done using Iyzico Payment Gateway.
- Admin can refund the invoiced amount.
- Sellers can refund Iyzico transactions online.
- Fully PCI Compliant, no card details submitted to the client server.
installation – Marketplace iyzico payment gateway
Customers will get a zip folder and they have to extract the contents of this zip folder on their system. The extracted folder has an src folder, inside the src folder you have the app folder. You need to transfer this app folder into the Magento2 root directory on the server as shown below:
After the successful installation, you have to run these commands in the Magento2 root directory.
First Command – composer require iyzico/iyzipay-php:~2.0.39
Second command- php bin/magento setup:upgrade
Third Command – php bin/magento setup:di:compile
Fourth Command – php bin/magento setup:static-content:deploy
After running the commands, you have to flush the cache from the Magento admin panel by navigating through ->System->Cache management as shown below in the snapshot.
After the successful installation of this extension on the web store, the admin has to navigate through Stores->Configuration->Sales->Payment Methods->Iyzico Payment.
Enable/Disable Module– The admin can enable or disable the module from here.
Enable Testing Mode– The admin can enable or disable a testing mode. Testing mode is a mode in which the Admin does the transactions with the help of test cards provided by iyzico Payment Gateway. Everything in this mode is done for module testing.
Method Title– In this field, the admin has to enter the title for the Iyzico Payment Method which will be displayed on the Front-end during checkout.
API Key or ID and API Secret– In these fields, the admin has to enter the API Key secret key which will be provided by Iyzico Payment Gateway.
Since Magento 2 Marketplace iyzico Payment Gateway is purely meant for marketplace sellers, so if the admin wants to sell his own products on the web store then he has to register as a sub-merchant. For registering as a sub-merchant the admin will click on the Register As Sub merchant button. This will display the popup and has to enter the details shown in the screenshot below:
After entering all the details, the admin has to click on Accept iyzico Platform User Agreement and save. This is also required if the vendors are using admin’s shipping method because without admin’s registration as a sub-merchant, the customers will not be able to checkout from the cart if the cart contains the seller products with admin shipping.
Sort Order– Here the admin has to enter the Sort Order for the Payment Gateway.
Payment Form– In this field, the admin has to select the payment form as Popup or Responsive. If selected as Popup, then on the checkout page, when a customer clicks on Iyzico Payment Method the form will appear as a popup. If selected as Responsive, then a separate payment form will appear on the checkout page.
Iyzico Account Payment- How to get API Key and Secret Key
WorkFlow at Seller’s End
First of all the seller has to register himself as a sub-merchant under the iyzico Onboard Sub-Merchant tab.
On clicking iyzico Onboard Sub-Merchant tab, a form will appear on the screen. The seller has to enter his name, email id, address, international bank account number, mobile number. After entering all the required details, the seller has to Accept iyzico Platform User Agreement and then click on save button. It is mandatory for all the marketplace vendors to register as sub merchants because if the vendors do not register themselves, then they will not receive the payment from iyzico Payment Gateway and the admin has to manually transfer the payment into seller’s account.
on the front end, when a customer adds a product to the cart and clicks on proceed to checkout, then on the Order Review & Payments page Iyzico Payment Method will be visible on the upper left side of the web page.
On clicking Iyzico payment method a payment form will appear on the screen. If Admin has set Payment Form as Responsive, then a payment form will appear on the screen as shown below:
If the Payment Form has been set as Popup, then the payment form will appear as a popup when the customer clicks on Iyzico Payment Method.
After entering the details such as name and debit/credit card details, the customer has to click on PAY button to complete the payment.
Once the Order gets complete, the customer can check the order details under My Orders tab.
Here the customer will see two invoices, one invoice is for the seller’s transaction of product purchase and the other invoice is for admin shipping transaction.
When the order gets placed, the seller can also check the order details under My Order History tab.
When the order gets placed, the admin can view orders by navigating through Sales->Orders.
￼View Order and Transaction Details
On clicking view, the admin can see the invoices generated and the transaction.
The first invoice created is for the product and the second invoice is for shipping.
The admin can view the transaction details by navigating through Sales->Transactions.
By clicking on a transaction, the admin can view details such as iyzico commission amount, sub-merchant price, merchant commission, sub-merchant key etc.
You can also view the transactions on Iyzico Payment Gateway site under the Transactions tab.
On clicking Payment ID you can check the details such as payment status, transaction details, card details of a buyer and buyer information.
In Magento 2 Marketplace iyzico Payment Gateway, both the admin as well as sellers can process the refund of an order.
Note: The sellers will be able to process the refund if admin allows the sellers to manage orders from the admin panel.
To initiate the refund, the admin has to navigate through Sales->Invoices. When the admin opens an invoice, he has to click on Credit Memo button.
You can also check the refund details by logging into iyzico Payment Gateway site. Under the transactions tab, you have to click on Payment ID.
Here you can view the refund details and the exact amount value which have been refunded to seller and admin.
That’s all for the Magento2 Marketplace iyzico Payment Gateway. Still, have any issues please raise a ticket or get back to us at email@example.com
Current Product Version - 2.0.0
Supported Framework Version - 2.0.x, 2.1.x, 2.2.x