Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

KuveytPos & Vakıf Katılım : map3DCommonResponseData -> $raw3DAuthResponseData['MerchantOrderId'] hatası #254

Closed
2 tasks done
mettleshade opened this issue Dec 23, 2024 · 3 comments
Labels
bug Something isn't working kuveyt

Comments

@mettleshade
Copy link

mettleshade commented Dec 23, 2024

Hatanın özeti

Kuveyt Türk ve Vakıf Katılım posunda api bilgilerini hatalı girince veya işlem tipi yanlış olunca
$raw3DAuthResponseData değişkeninden
Array ( [IsEnrolled] => false [IsVirtual] => false [ResponseCode] => InvalidTransactionSecurity [ResponseMessage] => İşlem türü geçersizdir. [OrderId] => 0 [TransactionTime] => 0001-01-01T00:00:00 [ReferenceId] => 2860e2d55e92435fa232a5dde55f68a9 [MerchantId] => Array ( [@xsi:nil] => true [#] => ) [BusinessKey] => 0 [@xmlns:xsi] => http://www.w3.org/2001/XMLSchema-instance [@xmlns:xsd] => http://www.w3.org/2001/XMLSchema )

şeklinde hata döndüğünde

$orderId = $raw3DAuthResponseData['MerchantOrderId'];

satırındaki veri bulunamıyor ve hataya düşüyor.

Banka ismi

KuveytPos & Vakıf Katılım

Gateway PHP sınıfı

KuveytPos

İşlem Tipi

MODEL_NON_SECURE ödeme

Kütüphane versiyonu

1.5

Checks

  • Bu konuda zaten bir hata bildirimi olmadığından eminim.
  • Hatayı yeniden oluşturmak için gereken detayları ekledim.
@mettleshade mettleshade added the bug Something isn't working label Dec 23, 2024
@nuryagdym
Copy link
Collaborator

Tesekkurler, bu hata entegrasyon yaparken olusur diye dusunuyorum. Entegrasyon duzgun yapildiginda bu hata olusmamasi gerekiyor.

Bu yuzden bu hatayi ilerki versiyonlarda cozerim.

@mettleshade
Copy link
Author

mettleshade commented Dec 23, 2024

@nuryagdym Evet sadece entegrasyon yapılırken alınıyor, bilgiler veya işlem tipi hatalı olduğunda.

Aynı hatayla karşılaşan arkadaşlar geçici olarak bu şekilde çözebilir

if (isset($raw3DAuthResponseData['MerchantOrderId'])){
$orderId = $raw3DAuthResponseData['MerchantOrderId'];
}else{
echo $raw3DAuthResponseData['ResponseCode'];
die();
}  

alınan hatayı açık bir şekilde incelemenizi sağlar,

@nuryagdym nuryagdym linked a pull request Dec 24, 2024 that will close this issue
nuryagdym added a commit that referenced this issue Dec 24, 2024
…ndefined-index

fix issue #254 kuveytpos vakifkatilim undefined index
@nuryagdym
Copy link
Collaborator

v1.6 ile giderildi.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working kuveyt
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants