mirror of
https://github.com/mewebstudio/pos.git
synced 2026-04-26 01:45:55 +03:00
[GH-ISSUE #230] ziraat bank ödeme hata işlemi #122
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#122
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 @sekizlipenguen on GitHub (Aug 12, 2024).
Original GitHub issue: https://github.com/mewebstudio/pos/issues/230
#message: "Failed to parse time string (0812134015) at position 7 (0): Unexpected character"
#code: 0
#file: "
/mews/pos/
src/DataMapper/ResponseDataMapper/PayFlexV4PosResponseDataMapper.php"
şeklinde hata dönüyor.
sorun şurada başlıyor.
PayFlexV4PosResponseDataMapper.php 212 satır
$commonResponse['transaction_time'] = new \DateTimeImmutable($rawPaymentResponseData['HostDate']);
$rawPaymentResponseData dönen sonuç aşağıdaki gibidir;
array:19 [▼ // vendor/mews/pos/src/DataMapper/ResponseDataMapper/PayFlexV4PosResponseDataMapper.php:211
"MerchantId" => "gizlendi"
"TransactionType" => "Sale"
"TransactionId" => "gizlendi"
"ResultCode" => "0000"
"ResultDetail" => "İŞLEM BAŞARILI"
"InstallmentTable" => null
"CampaignResult" => null
"AuthCode" => "gizlendi"
"HostDate" => "0812134340"
"Rrn" => "gizlendi"
"TerminalNo" => "gizlendi"
"CurrencyAmount" => "0.25"
"CurrencyCode" => "949"
"OrderId" => "gizlendi"
"ECI" => "05"
"ThreeDSecureType" => "2"
"TransactionDeviceSource" => "0"
"BatchNo" => "2023"
"TLAmount" => "0.25"
]
"HostDate" => "0812134340" buradaki değeri new \DateTimeImmutable($rawPaymentResponseData['HostDate']) ile çözemiyoruz ancak ödeme başarılı oluyor dediğim gibi, bunu da hızlıca çözebilir miyiz ben bu alanı commit ile geçici kapadım sorun çözüldü.
@nuryagdym commented on GitHub (Aug 12, 2024):
ziraat hala payflex API'i sagliyor mu? en son Payten'i kullaniyordu diye hatirliyorum.
@sekizlipenguen commented on GitHub (Aug 12, 2024):
ziraat-vpos olarak şunu kullanıyoruz. eski yapında da bu yok muydu 1.4 geçiriyorum her şeyi de?
'ziraat-vpos' => [
'name' => 'Ziraat Bankası',
'class' => Mews\Pos\Gateways\PayFlexV4Pos::class,
'gateway_endpoints' => [
'payment_api' => 'https://sanalpos.ziraatbank.com.tr/v4/v3/Vposreq.aspx',
'gateway_3d' => 'https://mpi.ziraatbank.com.tr/Enrollment.aspx',
'query_api' => 'https://sanalpos.ziraatbank.com.tr/v4/UIWebService/Search.aspx',
],
],
@nuryagdym commented on GitHub (Aug 12, 2024):
eskiden vardi, hala da var, ancak genel olarak ziraat icin payten (EstV3Pos) kullaniyorlar diye biliyorum.
gecmiste biri artik ziraat payflexv4'u desteklemiyor dedi diye hatirliyorum.
@sekizlipenguen commented on GitHub (Aug 12, 2024):
hm anladım dediğim gibi şu an halen aşağıdakini kullanıyoruz ve destek sağlıyor görülüyor.
'ziraat-vpos' => [
'name' => 'Ziraat Bankası',
'class' => Mews\Pos\Gateways\PayFlexV4Pos::class,
'gateway_endpoints' => [
'payment_api' => 'https://sanalpos.ziraatbank.com.tr/v4/v3/Vposreq.aspx',
'gateway_3d' => 'https://mpi.ziraatbank.com.tr/Enrollment.aspx',
'query_api' => 'https://sanalpos.ziraatbank.com.tr/v4/UIWebService/Search.aspx',
],
],
@nuryagdym commented on GitHub (Aug 15, 2024):
@sekizlipenguen testlerin bitt mi?
Baska sorun yok ise bugun ya da yarin release cikarim.
@sekizlipenguen commented on GitHub (Aug 15, 2024):
Selamlar, mail ile attığım şeyler dışında her şey çalıştı çözdük eline aağlık 🙏