Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Ziraat-estpos 'mdErrorMsg' bulunmadı. #239

Closed
2 tasks done
mettleshade opened this issue Oct 12, 2024 · 1 comment · Fixed by #240
Closed
2 tasks done

Ziraat-estpos 'mdErrorMsg' bulunmadı. #239

mettleshade opened this issue Oct 12, 2024 · 1 comment · Fixed by #240
Labels
bug Something isn't working payten

Comments

@mettleshade
Copy link

mettleshade commented Oct 12, 2024

Hatanın özeti

EstPosResponseDataMapper.php : map3DPaymentData fonksiyonundaki $raw3DAuthResponseData datasına bankadan gelen veri
Array ( [amount] => 0.01 [clientid] => * [currency] => * [Ecom_Payment_Card_ExpDate_Month] => 0 [Ecom_Payment_Card_ExpDate_Year] => 0 [ErrMsg] => Girilen kart numarası doğru formatta değildir. Kart numarasını kontrol ederek tekrar işlem deneyiniz. [ErrorCode] => HPP-1001 [failUrl] => https://*.com/odeme/f05e81c8-4ea0-44a9-8fe8-d45b854c62d9 [HASH] => **/fxNKZvC4E2EbQOgiqNi9FeXBMj636Q== [hashAlgorithm] => ver3 [lang] => tr [maskedCreditCard] => *** [MaskedPan] => ** [oid] => f05e81c8 [okUrl] => https://*.com/odeme/d45b854c62d9 [Response] => Error [rnd] => MZrcwoSd1+-* [storetype] => 3d [taksit] => [traceId] => **** [TranType] => Auth )

141. satırda istenen $raw3DAuthResponseData['mdErrorMsg'] veri bulunamadığı için hata dönüyor.

Çözüm olarak 141. satırı alttaki gibi güncellediğimde sorun çözüldü.
'md_error_message' => $this->is3dAuthSuccess($mdStatus) ? null : $raw3DAuthResponseData['ErrMsg'],

Banka ismi

Ziraat Bankası Payten

Gateway PHP sınıfı

EstV3Pos

İşlem Tipi

MODEL_3D_SECURE ödeme

Kütüphane versiyonu

1.4.1

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 Oct 12, 2024
@nuryagdym nuryagdym linked a pull request Oct 12, 2024 that will close this issue
@nuryagdym
Copy link
Collaborator

Tesekkurler, sorunu cozup v1.4.2 release ciktim

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

Successfully merging a pull request may close this issue.

2 participants