[PR #278] [MERGED] Issue 274 ziraat katilim payfor support #282

Closed
opened 2026-03-03 15:44:18 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mewebstudio/pos/pull/278
Author: @nuryagdym
Created: 10/1/2025
Status: Merged
Merged: 10/3/2025
Merged by: @nuryagdym

Base: masterHead: issue-274-ziraat-katilim-payfor-support


📝 Commits (6)

  • 2eeee88 issue #274 added Ziraat Katilim test configs
  • 716b818 tests - remove unnecessary line from the gateway tests
  • db94855 docs: remove obsolete info
  • ad30631 Ziraat Katilim: added prod configs
  • 2e7b035 feat: added support for new configs test_mode and disable_3d_hash_check.
  • 4a8c202 tests: added bootstrap.php file to load env variables

📊 Changes

45 files changed (+1659 additions, -168 deletions)

View changed files

📝 README.md (+0 -6)
📝 composer.json (+1 -0)
📝 config/pos_production.php (+13 -0)
📝 config/pos_test.php (+21 -0)
📝 docs/CANCEL-EXAMPLE.md (+0 -3)
📝 docs/CHANGELOG.md (+23 -2)
📝 docs/CUSTOM-QUERY-EXAMPLE.md (+0 -3)
📝 docs/HISTORY-EXAMPLE.md (+0 -3)
📝 docs/NON-SECURE-PAYMENT-EXAMPLE.md (+0 -3)
📝 docs/ORDER-HISTORY-EXAMPLE.md (+0 -3)
📝 docs/PRE-AUTH-POST-EXAMPLE.md (+7 -5)
📝 docs/REFUND-EXAMPLE.md (+0 -3)
📝 docs/STATUS-EXAMPLE.md (+0 -3)
📝 docs/THREED-PAYMENT-EXAMPLE.md (+7 -5)
📝 docs/THREED-SECURE-AND-PAY-PAYMENT-IN-MODALBOX-EXAMPLE.md (+7 -3)
📝 examples/_main_config.php (+0 -1)
📝 examples/_templates/_payment_secure_response.php (+7 -0)
📝 examples/finansbank-payfor/_payment_config.php (+17 -0)
📝 phpunit.xml (+1 -1)
📝 src/Gateways/AbstractGateway.php (+54 -6)

...and 25 more files

📄 Description

  • Kütüphane config dosyasına yeni test_mode ve disable_3d_hash_check ayarlar desteği eklendi.
    Örnek:
    [
        'banks' => [
          'garanti' => [
            'name'              => 'Garanti',
            'class'             => Mews\Pos\Gateways\GarantiPos::class,
            'gateway_configs' => [
                'test_mode'             => true, // default: false
                // 3D hash kontrolü çalışmadığında geçici olarak kullanılabilir.
                'disable_3d_hash_check' => true, // default: false
             ],
             'gateway_endpoints' => [
                'payment_api' => 'https://sanalposprovtest.garantibbva.com.tr/VPServlet',
                'gateway_3d'  => 'https://sanalposprovtest.garantibbva.com.tr/servlet/gt3dengine',
             ],
          ],
        ]
    ]
    

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mewebstudio/pos/pull/278 **Author:** [@nuryagdym](https://github.com/nuryagdym) **Created:** 10/1/2025 **Status:** ✅ Merged **Merged:** 10/3/2025 **Merged by:** [@nuryagdym](https://github.com/nuryagdym) **Base:** `master` ← **Head:** `issue-274-ziraat-katilim-payfor-support` --- ### 📝 Commits (6) - [`2eeee88`](https://github.com/mewebstudio/pos/commit/2eeee88d119f7be507ee3123644372cf310d0fe4) issue #274 added Ziraat Katilim test configs - [`716b818`](https://github.com/mewebstudio/pos/commit/716b8182c4f649158a9d9827ffb03e991024aa55) tests - remove unnecessary line from the gateway tests - [`db94855`](https://github.com/mewebstudio/pos/commit/db948553c37ec4016419facbec34789f92e555f0) docs: remove obsolete info - [`ad30631`](https://github.com/mewebstudio/pos/commit/ad30631a6d80efc4e6d3dce134b4a79ddcacaf5c) Ziraat Katilim: added prod configs - [`2e7b035`](https://github.com/mewebstudio/pos/commit/2e7b03548f45b36ed5e4437c91a40933fe6e291a) feat: added support for new configs test_mode and disable_3d_hash_check. - [`4a8c202`](https://github.com/mewebstudio/pos/commit/4a8c20264e09dad4718daa604a3d1ef79cd8bfc7) tests: added bootstrap.php file to load env variables ### 📊 Changes **45 files changed** (+1659 additions, -168 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+0 -6) 📝 `composer.json` (+1 -0) 📝 `config/pos_production.php` (+13 -0) 📝 `config/pos_test.php` (+21 -0) 📝 `docs/CANCEL-EXAMPLE.md` (+0 -3) 📝 `docs/CHANGELOG.md` (+23 -2) 📝 `docs/CUSTOM-QUERY-EXAMPLE.md` (+0 -3) 📝 `docs/HISTORY-EXAMPLE.md` (+0 -3) 📝 `docs/NON-SECURE-PAYMENT-EXAMPLE.md` (+0 -3) 📝 `docs/ORDER-HISTORY-EXAMPLE.md` (+0 -3) 📝 `docs/PRE-AUTH-POST-EXAMPLE.md` (+7 -5) 📝 `docs/REFUND-EXAMPLE.md` (+0 -3) 📝 `docs/STATUS-EXAMPLE.md` (+0 -3) 📝 `docs/THREED-PAYMENT-EXAMPLE.md` (+7 -5) 📝 `docs/THREED-SECURE-AND-PAY-PAYMENT-IN-MODALBOX-EXAMPLE.md` (+7 -3) 📝 `examples/_main_config.php` (+0 -1) 📝 `examples/_templates/_payment_secure_response.php` (+7 -0) 📝 `examples/finansbank-payfor/_payment_config.php` (+17 -0) 📝 `phpunit.xml` (+1 -1) 📝 `src/Gateways/AbstractGateway.php` (+54 -6) _...and 25 more files_ </details> ### 📄 Description - Kütüphane config dosyasına yeni `test_mode` ve `disable_3d_hash_check` ayarlar desteği eklendi. Örnek: ```php [ 'banks' => [ 'garanti' => [ 'name' => 'Garanti', 'class' => Mews\Pos\Gateways\GarantiPos::class, 'gateway_configs' => [ 'test_mode' => true, // default: false // 3D hash kontrolü çalışmadığında geçici olarak kullanılabilir. 'disable_3d_hash_check' => true, // default: false ], 'gateway_endpoints' => [ 'payment_api' => 'https://sanalposprovtest.garantibbva.com.tr/VPServlet', 'gateway_3d' => 'https://sanalposprovtest.garantibbva.com.tr/servlet/gt3dengine', ], ], ] ] ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 15:44:18 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pos#282
No description provided.