[GH-ISSUE #150] İş Bankası (Asseco) islemtipi => TranType olarak degisti #77

Closed
opened 2026-03-03 15:42:44 +03:00 by kerem · 12 comments
Owner

Originally created by @huseyinyildirim on GitHub (Aug 31, 2023).
Original GitHub issue: https://github.com/mewebstudio/pos/issues/150

Merhaba,

İlk önce belirtmeliyimk ki open source dünyasına böyle bir library kazandırdığınız için teşekkür ederim.

Kütüphanenizi kullanarak İş Bankasını implemente ediyorum ama İş Bankasından aldığım dokümana göre endpointlerine "TranType=Auth" diye bir parametre daha göndermem gerekiyor. İncelediğimde kütüphane mapperlarında "islemtipi" var ama banka galiba orada bir özelleştirme yapmış. İşbankası için gönderdiğim forma yeni bir parametre/hidden nasıl ekleyebilirim.

İyi çalışmalar.

Originally created by @huseyinyildirim on GitHub (Aug 31, 2023). Original GitHub issue: https://github.com/mewebstudio/pos/issues/150 Merhaba, İlk önce belirtmeliyimk ki open source dünyasına böyle bir library kazandırdığınız için teşekkür ederim. Kütüphanenizi kullanarak İş Bankasını implemente ediyorum ama İş Bankasından aldığım dokümana göre endpointlerine "TranType=Auth" diye bir parametre daha göndermem gerekiyor. İncelediğimde kütüphane mapperlarında "islemtipi" var ama banka galiba orada bir özelleştirme yapmış. İşbankası için gönderdiğim forma yeni bir parametre/hidden nasıl ekleyebilirim. İyi çalışmalar.
kerem 2026-03-03 15:42:44 +03:00
  • closed this issue
  • added the
    payten
    label
Author
Owner

@nuryagdym commented on GitHub (Aug 31, 2023):

Merhabalar, dokumantasyonu paylasirsaniz sevinirim.

$formData = $pos->get3DFormData();

islemtipi'ne nu sekilde erisilebilir: $formData['inputs']['islemtipi']

$formData icerigi kullaniciya gondermeden once isteginize gore degistirebilirsiniz.

$formData['inputs']['TranType'] = 'Auth';
unset($formData['inputs']['islemtipi']);
<!-- gh-comment-id:1701058368 --> @nuryagdym commented on GitHub (Aug 31, 2023): Merhabalar, dokumantasyonu paylasirsaniz sevinirim. ``` $formData = $pos->get3DFormData(); ``` islemtipi'ne nu sekilde erisilebilir: `$formData['inputs']['islemtipi']` $formData icerigi kullaniciya gondermeden once isteginize gore degistirebilirsiniz. ``` $formData['inputs']['TranType'] = 'Auth'; unset($formData['inputs']['islemtipi']); ```
Author
Owner

@nuryagdym commented on GitHub (Aug 31, 2023):

Is bankasi icin bir de EstPos yerine EstV3Pos'u kullanmayi deneyin

<!-- gh-comment-id:1701059952 --> @nuryagdym commented on GitHub (Aug 31, 2023): Is bankasi icin bir de EstPos yerine EstV3Pos'u kullanmayi deneyin
Author
Owner

@huseyinyildirim commented on GitHub (Aug 31, 2023):

dokumantasyonu paylasirsaniz sevinirim.

https://easyupload.io/h9bnj7

<!-- gh-comment-id:1701075605 --> @huseyinyildirim commented on GitHub (Aug 31, 2023): > dokumantasyonu paylasirsaniz sevinirim. https://easyupload.io/h9bnj7
Author
Owner

@huseyinyildirim commented on GitHub (Aug 31, 2023):

Is bankasi icin bir de EstPos yerine EstV3Pos'u kullanmayi deneyin

Nasıl kullanabilirim? AccountFactory classı altında EstV3Pos ile ilgili bir method göremedim.

<!-- gh-comment-id:1701082422 --> @huseyinyildirim commented on GitHub (Aug 31, 2023): > Is bankasi icin bir de EstPos yerine EstV3Pos'u kullanmayi deneyin Nasıl kullanabilirim? AccountFactory classı altında EstV3Pos ile ilgili bir method göremedim.
Author
Owner

@nuryagdym commented on GitHub (Aug 31, 2023):

surda anlatildigi gibi yapmaniz yeterli: https://github.com/mewebstudio/pos/issues/149

TranType icin ayri bir guncelleme cikarim zaman buldugumda

<!-- gh-comment-id:1701087691 --> @nuryagdym commented on GitHub (Aug 31, 2023): surda anlatildigi gibi yapmaniz yeterli: https://github.com/mewebstudio/pos/issues/149 **TranType** icin ayri bir guncelleme cikarim zaman buldugumda
Author
Owner

@nuryagdym commented on GitHub (Aug 31, 2023):

guncelledim.
Alttaki sekilde cekip test edip haber verirseniz sevinirim.

composer require mews/pos:dev-150-asseco-v3-update-3dformdata-parameters

sorun cikmazsa release olarak cikarim

<!-- gh-comment-id:1701144220 --> @nuryagdym commented on GitHub (Aug 31, 2023): guncelledim. Alttaki sekilde cekip test edip haber verirseniz sevinirim. ``` composer require mews/pos:dev-150-asseco-v3-update-3dformdata-parameters ``` sorun cikmazsa release olarak cikarim
Author
Owner

@huseyinyildirim commented on GitHub (Aug 31, 2023):

Alttaki sekilde cekip test edip haber verirseniz sevinirim.

Güncelleme için teşekkür ederim. Kütüphanenize yabancıyım, nasıl bir test yapmam gerekiyor? İyi çalışmalar.

<!-- gh-comment-id:1701166251 --> @huseyinyildirim commented on GitHub (Aug 31, 2023): > Alttaki sekilde cekip test edip haber verirseniz sevinirim. Güncelleme için teşekkür ederim. Kütüphanenize yabancıyım, nasıl bir test yapmam gerekiyor? İyi çalışmalar.
Author
Owner

@nuryagdym commented on GitHub (Aug 31, 2023):

README.MD 3D odeme icin ornek kodlar var.

ayni ordaki kodlar calisirsa, calisiyor demek.
EstV3Pos ile test edilecek.

<!-- gh-comment-id:1701170565 --> @nuryagdym commented on GitHub (Aug 31, 2023): README.MD 3D odeme icin ornek kodlar var. ayni ordaki kodlar calisirsa, calisiyor demek. **EstV3Pos** ile test edilecek.
Author
Owner

@huseyinyildirim commented on GitHub (Aug 31, 2023):

README.MD 3D odeme icin ornek kodlar var.

ayni ordaki kodlar calisirsa, calisiyor demek. EstV3Pos ile test edilecek.

pos.php aşağıdaki gibi ekleme yaptım ve _config.php aşağıdaki gibi düzenlediğimde pos işlemi yaptı. Çekim gerçekleşmedi ama başka bir sebebi var. Bu şekilde çalışıyor.

'isbank-v3' => [ 'name' => 'İşbank T.A.S.', 'class' => Mews\Pos\Gateways\EstV3Pos::class, 'urls' => [ 'production' => 'https://sanalpos.isbank.com.tr/fim/api', 'test' => 'https://entegrasyon.asseco-see.com.tr/fim/api', 'gateway' => [ 'production' => 'https://sanalpos.isbank.com.tr/fim/est3Dgate', 'test' => 'https://entegrasyon.asseco-see.com.tr/fim/est3Dgate', ], 'gateway_3d_host' => [ 'production' => 'https://sanalpos.isbank.com.tr/fim/est3Dgate', 'test' => 'https://entegrasyon.asseco-see.com.tr/fim/est3Dgate', ], ], ],

$account = \Mews\Pos\Factory\AccountFactory::createEstPosAccount( 'isbank-v3', 'xxxxxxxxxx', 'xxxxxxxxx', 'xxxxxxxxx', \Mews\Pos\Gateways\AbstractGateway::MODEL_3D_SECURE, 'xxxxxxxxx', AbstractGateway::LANG_TR );

<!-- gh-comment-id:1701317507 --> @huseyinyildirim commented on GitHub (Aug 31, 2023): > README.MD 3D odeme icin ornek kodlar var. > > ayni ordaki kodlar calisirsa, calisiyor demek. **EstV3Pos** ile test edilecek. pos.php aşağıdaki gibi ekleme yaptım ve _config.php aşağıdaki gibi düzenlediğimde pos işlemi yaptı. Çekim gerçekleşmedi ama başka bir sebebi var. Bu şekilde çalışıyor. `'isbank-v3' => [ 'name' => 'İşbank T.A.S.', 'class' => Mews\Pos\Gateways\EstV3Pos::class, 'urls' => [ 'production' => 'https://sanalpos.isbank.com.tr/fim/api', 'test' => 'https://entegrasyon.asseco-see.com.tr/fim/api', 'gateway' => [ 'production' => 'https://sanalpos.isbank.com.tr/fim/est3Dgate', 'test' => 'https://entegrasyon.asseco-see.com.tr/fim/est3Dgate', ], 'gateway_3d_host' => [ 'production' => 'https://sanalpos.isbank.com.tr/fim/est3Dgate', 'test' => 'https://entegrasyon.asseco-see.com.tr/fim/est3Dgate', ], ], ],` `$account = \Mews\Pos\Factory\AccountFactory::createEstPosAccount( 'isbank-v3', 'xxxxxxxxxx', 'xxxxxxxxx', 'xxxxxxxxx', \Mews\Pos\Gateways\AbstractGateway::MODEL_3D_SECURE, 'xxxxxxxxx', AbstractGateway::LANG_TR );`
Author
Owner

@nuryagdym commented on GitHub (Aug 31, 2023):

kodda sorun yok, yayinlayabilirim yani?

Birde canli ortamda denenmesi gerekiyor.
Test ortam ile canli ortam arasi farklilik olabilir

<!-- gh-comment-id:1701454051 --> @nuryagdym commented on GitHub (Aug 31, 2023): kodda sorun yok, yayinlayabilirim yani? Birde canli ortamda denenmesi gerekiyor. Test ortam ile canli ortam arasi farklilik olabilir
Author
Owner

@huseyinyildirim commented on GitHub (Aug 31, 2023):

Yayınlayın. Başka bir sorunla karşılaşırsam ivedikle bildiririm.

<!-- gh-comment-id:1701493004 --> @huseyinyildirim commented on GitHub (Aug 31, 2023): Yayınlayın. Başka bir sorunla karşılaşırsam ivedikle bildiririm.
Author
Owner

@nuryagdym commented on GitHub (Aug 31, 2023):

0.13.2 versiyonu indirebilirsiniz.

<!-- gh-comment-id:1701505730 --> @nuryagdym commented on GitHub (Aug 31, 2023): 0.13.2 versiyonu indirebilirsiniz.
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#77
No description provided.