mirror of
https://github.com/mewebstudio/pos.git
synced 2026-04-26 09:55:52 +03:00
[GH-ISSUE #30] EST 3d_pay_hosting modeli #19
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#19
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 @n0thing-inc on GitHub (Jun 4, 2021).
Original GitHub issue: https://github.com/mewebstudio/pos/issues/30
Kütüphanede 3d_pay_hosting modeli olmadığı için storekey hatalı uyarısı dönüyor.
3d_pay ile aynı parametreleri alıyor ve hash hesaplaması aynı. EstPos Gateway'de ufak bir değişiklik ile sorunsuz çalışıyor.
Eski Kod Betiği :
if ($this->account->getModel() === '3d_pay') { $inputs = array_merge($inputs, [ 'islemtipi' => $this->type, 'taksit' => $this->order->installment, ]); }Yeni Kod Betiği:
if ($this->account->getModel() === '3d_pay' || $this->account->getModel() === '3d_pay_hosting')) { $inputs = array_merge($inputs, [ 'islemtipi' => $this->type, 'taksit' => $this->order->installment, ]); }Eski Kod Betiği :
elseif ($this->account->getModel() === '3d_pay') { $hashStr = $this->account->getClientId() . $this->order->id . $this->order->amount . $this->order->success_url . $this->order->fail_url . $this->type . $this->order->installment . $this->order->rand . $this->account->getStoreKey(); }Yeni Kod Betiği :
elseif ($this->account->getModel() === '3d_pay' || $this->account->getModel() === '3d_pay_hosting') { $hashStr = $this->account->getClientId() . $this->order->id . $this->order->amount . $this->order->success_url . $this->order->fail_url . $this->type . $this->order->installment . $this->order->rand . $this->account->getStoreKey(); }@nuryagdym commented on GitHub (Jun 6, 2021):
Merhabalar, istediginiz guncellemeyi yapip merge request olusturdum, bir kontrol eder misiniz.
Ayrica 3d Host payment icin kullanilan anahtar kelime
3d_host. Sizin verdiginiz ornediginizdeki gibi3d_pay_hostingdegil.@mewebstudio commented on GitHub (Jun 8, 2021):
@n0thing-inc, @nuryagdym bununla ilgili bir geliştirme yaptı. Deneyip dönüş yapar mısınız?
https://github.com/mewebstudio/pos/pull/31