mirror of
https://github.com/mewebstudio/pos.git
synced 2026-04-26 09:55:52 +03:00
[GH-ISSUE #143] EstPos Response undefined index ERRORCODE on success #72
Labels
No labels
PayFlexV4
TROY
akbankpos
bug
duplicate
enhancement
garanti
help wanted
isbank
kuveyt
payten
posnet
pull-request
vakifbank
ziraat
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pos#72
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lansas on GitHub (Jun 22, 2023).
Original GitHub issue: https://github.com/mewebstudio/pos/issues/143
EstPos class ında mapStatusResponse fonksiyonu dahil bir çok response fonksiyonda
gibi satırlar isset kontrolü gerektiriyor. Çünkü her banka ERRORCODE elementini; error oluşmadığı sürece hiç array da tanımlayıp göndermiyor. Örnek: Card Plus KKTC kredi kartları.
@nuryagdym commented on GitHub (Jun 22, 2023):
Merhabalar,
bunlara bakarim, duzeltmeleri yaparim.
her bir input icin isset kontolu yapilmasina karsiyim, hepsine isset ekleyince hangileri basarili durumda gelmesi gerekiyor, hangisi gelmemesi gerekiyor anlasilmiyor.
Kod icinde normalde bu durum genelde su sekilde ele aliniyor: https://github.com/mewebstudio/pos/blob/master/src/DataMapper/ResponseDataMapper/EstPosResponseDataMapper.php#L316
@nuryagdym commented on GitHub (Jun 24, 2023):
Merhabalar,
$rawResponseData['Extra']['AUTH_CODE']satiri kodda bulamadim