---
title: Magento
url: 'https://dev.paytr.com/en/moduller/magento'
markdown: 'https://dev.paytr.com/en/moduller/magento.md'
lang: en
date: '2026-11-29'
description: 'Module installation requirements; Installation Note: This installation includes Magento 2.3.x and 2.4.x versions. You can install the plugin with composer. composer require paytr/magento2-payment bin/magento module:enable Paytr_Payment --clear-static-content bin/magento setup:upgrade php bin/mage…'
---

- [Türkçe](https://dev.paytr.com/moduller/magento)
- [English](https://dev.paytr.com/en/moduller/magento)

 [](#)  [ Getting Started with PayTR ](https://dev.paytr.com/en)     [ Open Source ](https://dev.paytr.com/en/moduller)      Magento    

# Magento

![](https://dev.paytr.com/user/pages/15.moduller/05.magento/mgn.png)

**Module installation requirements;**

**Installation**

**Note: This installation includes Magento 2.3.x and 2.4.x versions.**

You can install the plugin with composer.

1. composer require paytr/magento2-payment
2. bin/magento module:enable Paytr\_Payment --clear-static-content
3. bin/magento setup:upgrade
4. php bin/magento setup:di:compile

**PayTR Virtual Pos Settings**

1. After logging into the Magento admin panel; a. Scroll down to the Stores/Settings/Sales/Payment Methods page. b. Open the PayTR Virtual POS settings.
2. Notification URL Address: Copy the address written in this field and paste it into the relevant field on the https://www.paytr.com/magaza/ayarlar page.
3. Title: It is the title that the customer will see in the payment methods list.
4. Copy the Merchant ID, Merchant Key and Merchant Salt values from https://www.paytr.com/magaza/bilgi page and paste them into the relevant fields.
5. Debug: You can view the errors you will receive on the payment screen on the screen.
6. Test Mode: If your store is ready to go live, you can close it. Please follow the instructions on the https://www.paytr.com/magaza/canli-mod page for test mode and live-up operations.
7. Order: By changing the order, you can choose in which order your customers view their payment method.
8. PayTR Logosu Gösterilsin mi: You can choose whether to show the PayTR logo in the payment method field or not.
9. Installment Settings: Allows you to choose the maximum number of installments. Installment options can be arranged according to the product categories.
10. Show Installment Table: You can choose whether or not to show the installment table on the product detail page.
11. Show All Installment Options In The Installment Table: You can choose to show the installment table in full or as a summary.
12. Installment Table Token: You can copy the token required to show the installment table from the https://www.paytr.com/magaza/pft-ayar page.

**Sample Settings Page**

![1](https://dev.paytr.com/user/pages/15.moduller/05.magento/magento1.JPG "1")

**Setting the Notification URL**Log into the PayTR Store Panel, click the Settings link from the menu to access the settings page. Click the Change button in the Callback URL section. Select the Magento 2 option in the relevant section that opens and save the changes by clicking the Save button. If your site has SSL, select the https:// option from the Protocol option. If you do not have an SSL certificate, select the http:// option. If you install SSL later, update the Protocol here as https://.

**Getting Started**

![2](https://dev.paytr.com/user/pages/15.moduller/05.magento/magento2.JPG "2")

Add items to your cart and proceed to the checkout page. Then choose the PayTR payment method and continue.

If you encounter the test mode screen, you have to test 1 or 2 times before switching to Live Mode.

After completing all the steps up to this section, you can start receiving payments.

**Bank Transfer**

Installation

You can install the plugin with composer.

1. composer require paytr/magento2-banktransfer
2. bin/magento module:enable Paytr\_Transfer --clear-static-content
3. bin/magento setup:upgrade
4. php bin/magento setup:di:compile

**PayTR Bank Transfer Settings**

1. After logging into the Magento admin panel; a. Scroll down to the Stores/Settings/Sales/Payment Methods page. b. Open the PayTR Bank Transfer settings.
2. Notification URL Address: Copy the address written in this field and paste it into the relevant field on the https://www.paytr.com/magaza/ayarlar page.
3. Title: It is the title that the customer will see in the payment methods list.
4. Copy the Merchant ID, Merchant Key and Merchant Salt values from https://www.paytr.com/magaza/bilgi page and paste them into the relevant fields.
5. Debug: You can view the errors you will receive on the payment screen on the screen.
6. Test Mode: If your store is ready to go live, you can close it. Please follow the instructions on the https://www.paytr.com/magaza/canli-mod page for test mode and live-up operations.
7. Order: By changing the order, you can choose in which order your customers view their payment method.
8. Show PayTR Logo?: You can choose whether to show the PayTR logo in the payment method field or not.

**Sample Settings Page**

![3](https://dev.paytr.com/user/pages/15.moduller/05.magento/magento3.JPG "3")

**Setting the Notification URL**Log into the PayTR Store Panel, click the Settings link from the menu to access the settings page.

Click the Change button in the Callback URL section. Select the Magento 2 option in the relevant section that opens and save the changes by clicking the Save button.

If your site has SSL, select the https:// option from the Protocol option. If you do not have an SSL certificate, select the http:// option. If you install SSL later, update the Protocol here as https://.

**Getting Started**

Add items to your cart and proceed to the checkout page. Then choose the PayTR payment method and continue.

![4](https://dev.paytr.com/user/pages/15.moduller/05.magento/magento4.JPG "4")

When you come to the payment page, you will see the screen above. If your PayTR Store is Live, you will see the Live Mode screen instead of the above screen.

If you encounter the test mode screen, you have to test 1 or 2 times before switching to Live Mode.

After completing all the steps up to this section, you can start receiving payments.

[**Magento iFrame API Payment Module**](https://marketplace.magento.com/paytr-magento2-payment.html)

[**Magento iFrame API Bank Transfer Module**](https://marketplace.magento.com/paytr-magento2-banktransfer.html)

<script> $(document).ready(function() { $("h1").hide(); }); </script>

---

## Navigation

- Parent: [Open Source](https://dev.paytr.com/en/moduller.md)
- Previous: [nopCommerce](https://dev.paytr.com/en/moduller/nopcommerce.md)
- Next: [Drupal Commerce](https://dev.paytr.com/en/moduller/drupal-commerce.md)
