@@ -51,14 +51,22 @@ return [
5151
5252 // GarantiPos: ProvisionPassword
5353 'refund_user_password' => null,
54+
55+ // PayForPos: MbrId
56+ 'mbr_id' => null,
5457 ],
5558 'gateway_endpoints' => [ // Required
5659 'payment_api' => null, // Required
5760 'gateway_3d' => null, // Required
5861 'gateway_3d_host' => null,
5962 'query_api' => null,
6063 ],
61- 'test_mode' => false,
64+ 'gateway_configs' => [ // optional
65+ 'test_mode' => false, // default: false
66+ // Hash kontrolü kütühaneden dolayı başarısız sonuçlanıyorsa bu ayarla devre dışı bırakılabilir.
67+ // Ancak hash kontrolünün devre dışı bırakılması güvenlik açığı oluşturabilir.
68+ 'disable_3d_hash_check' => false, // default: false
69+ ],
6270 ],
6371 ],
6472];
@@ -84,7 +92,6 @@ return [
8492 'estpos_payten' => [
8593 'gateway_class' => \M ews\P os\G ateways\E stV3Pos::class,
8694 'lang' => \M ews\P os\P osInterface::LANG_TR, // optional
87- 'test_mode' => true, // optional
8895 'credentials' => [
8996 'payment_model' => \M ews\P os\P osInterface::MODEL_3D_SECURE,
9097 'merchant_id' => '700XXXXXXX',
@@ -134,13 +141,34 @@ return [
134141 'user_name' => 'QNB_API_XXXXXXXX', // UserCode: Otorizasyon sistemi kullanıcı kodu.
135142 'user_password' => 'XXXXXXXX', // Otorizasyon sistemi kullanıcı şifresi.
136143 'enc_key' => 'XXXXXXXX', // MerchantPass: 3D Secure şifresidir.
144+ 'mbr_id' => \M ews\P os\E ntity\A ccount\P ayForAccount::MBR_ID_FINANSBANK, // veya MBR_ID_ZIRAAT_KATILIM (Kurum Kodu)
137145 ],
138146 'gateway_endpoints' => [
139147 'payment_api' => 'https://vpostest.qnbfinansbank.com/Gateway/XMLGate.aspx',
140148 'gateway_3d' => 'https://vpostest.qnbfinansbank.com/Gateway/Default.aspx',
141149 'gateway_3d_host' => 'https://vpostest.qnbfinansbank.com/Gateway/3DHost.aspx',
142150 ],
143151 ],
152+ 'payfor_ziraat_katilim' => [
153+ 'gateway_class' => \M ews\P os\G ateways\P ayForPos::class,
154+ 'credentials' => [
155+ 'payment_model' => \M ews\P os\P osInterface::MODEL_3D_SECURE,
156+ 'merchant_id' => '08530000XXXXXXXX', // Üye İşyeri Numarası.
157+ 'user_name' => 'ZIRAAT_KATILIM_API_XXXXXXXX', // UserCode: Otorizasyon sistemi kullanıcı kodu.
158+ 'user_password' => 'XXXXXXXX', // Otorizasyon sistemi kullanıcı şifresi.
159+ 'enc_key' => 'XXXXXXXX', // MerchantPass: 3D Secure şifresidir.
160+ 'mbr_id' => \M ews\P os\E ntity\A ccount\P ayForAccount::MBR_ID_ZIRAAT_KATILIM, // (Kurum Kodu)
161+ ],
162+ 'gateway_configs' => [
163+ // Ziraat Katilim için hash kontrolü çalışmıyor. O yüzden devre dışı bırakıyoruz.
164+ 'disable_3d_hash_check' => true,
165+ ],
166+ 'gateway_endpoints' => [
167+ 'payment_api' => 'https://payfortestziraatkatilim.cordisnetwork.com/Mpi/XMLGate.aspx',
168+ 'gateway_3d' => 'https://payfortestziraatkatilim.cordisnetwork.com/Mpi/Default.aspx',
169+ 'gateway_3d_host' => 'https://payfortestziraatkatilim.cordisnetwork.com/Mpi/3DHost.aspx',
170+ ],
171+ ],
144172 'garanti' => [
145173 'gateway_class' => \M ews\P os\G ateways\G arantiPos::class,
146174 'credentials' => [
@@ -157,6 +185,9 @@ return [
157185 'payment_api' => 'https://sanalposprovtest.garantibbva.com.tr/VPServlet',
158186 'gateway_3d' => 'https://sanalposprovtest.garantibbva.com.tr/servlet/gt3dengine',
159187 ],
188+ 'gateway_configs' => [ // optional
189+ 'test_mode' => true, // test ortamı için true
190+ ],
160191 ],
161192 'interpos_denizbank' => [
162193 'gateway_class' => \M ews\P os\G ateways\I nterPos::class,
@@ -182,6 +213,10 @@ return [
182213 'user_name' => 'apiXXXXXXXX', // UserName: https://kurumsal.kuveytturk.com.tr adresine login olarak kullanıcı işlemleri sayfasında APİ rolünde kullanıcı oluşturulmalıdır.
183214 'enc_key' => 'ApiXXXXXXXX', // Password: Oluşturulan APİ kullanıcısının şifre bilgisidir.
184215 ],
216+ 'gateway_configs' => [
217+ // Testlerinizi SSL olmayan ortamda yapıyorsanız true yapmanız gerekir.
218+ 'test_mode' => true,
219+ ],
185220 'gateway_endpoints' => [
186221 'payment_api' => 'https://boatest.kuveytturk.com.tr/boa.virtualpos.services/Home',
187222 'gateway_3d' => 'https://boatest.kuveytturk.com.tr/boa.virtualpos.services/Home/ThreeDModelPayGate',
0 commit comments