mirror of
https://github.com/mewebstudio/pos.git
synced 2026-04-26 01:45:55 +03:00
[GH-ISSUE #80] YKB 3D Ödeme geçersiz transaction type gönderiyor #39
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#39
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 @erenilhan on GitHub (Jul 5, 2022).
Original GitHub issue: https://github.com/mewebstudio/pos/issues/80
Originally assigned to: @nuryagdym on GitHub.
Merhaba,
YKB ile ödeme yapmaya çalıştığım zaman transactionType hatası veriyor. create3DEnrollmentCheckRequestData fonksiyonunda tranType ='pay' olarak dönmekte. Onu Sale olarak çevirdiğim zaman sorun olmadan ödemeyi tamamlıyor.
bu kısmı
'tranType' => $txType,kısmını;Şöyle değiştirerek
'tranType'=> $this->txTypeMappings[$txType]çalıştırabiliyorum.
acaba atladığınız bir şey olabilir mi? ya da ben mi hata yapıyorum?
kodun nihai hali;
`
public function create3DEnrollmentCheckRequestData(AbstractPosAccount $account, $order, string $txType, AbstractCreditCard $card): array
{
if (null === $card->getHolderName() && isset($order->name)) {
$card->setHolderName($order->name);
}
return [
'mid' => $account->getClientId(),
'tid' => $account->getTerminalId(),
'oosRequestData' => [
'posnetid' => $account->getPosNetId(),
'ccno' => $card->getNumber(),
`
@nuryagdym commented on GitHub (Jul 6, 2022):
Tesekkurler, sorunu duzelttim, 0.7.3 versiyon olarak release ciktim
@erenilhan commented on GitHub (Jul 6, 2022):
Çok teşekkürler 👍 iyi çalışmalar