mewebstudio / pos

Türk bankaları için sanal pos paketi (PHP)
Other
266 stars 102 forks source link

yeni config te test url ler #222

Closed lansas closed 4 months ago

lansas commented 4 months ago

| Sanal Pos v1.3.0 | | | est3Dgate| | | TEB| |

Selamlar önceki versiyonlarda;

'teb' => [
                'name' => 'TEB',
                'class' => \Mews\Pos\Gateways\EstV3Pos::class,
                'urls' => [
                    'payment' => 'https://sanalpos.teb.com.tr/fim/api',
                    'test' => 'https://entegrasyon.asseco-see.com.tr/fim/api',
                    'gateway' =>
                        [
                        'production' => 'https://sanalpos.teb.com.tr/fim/est3Dgate',
                        'test' => 'https://entegrasyon.asseco-see.com.tr/fim/est3Dgate',
                        ],
                    ],
                ],

iken yeni versiyonda testler nasıl tanımlanacak?


'teb' => [
                'name' => 'TEB',
                'class' => \Mews\Pos\Gateways\EstV3Pos::class,
                'gateway_endpoints' => [
                    'payment_api' => 'https://sanalpos.teb.com.tr/fim/api',
                    'gateway_3d' =>'https://sanalpos.teb.com.tr/fim/est3Dgate',
                    ],
                ],
nuryagdym commented 4 months ago

merhabalar, production ve test ortamin configlerini ayri dosyalarda olmasi gerekiyor. Hangi ortam'da calistirmak istiyorsaniz o dosyayi kutuphaneye saglamaniz gerekiyor.

https://github.com/mewebstudio/pos/tree/master/config