mirror of
https://github.com/mewebstudio/pos.git
synced 2026-04-26 09:55:52 +03:00
[PR #75] [MERGED] Refactored all pos gateways to use data mapper #198
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#198
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?
📋 Pull Request Information
Original PR: https://github.com/mewebstudio/pos/pull/75
Author: @nuryagdym
Created: 5/15/2022
Status: ✅ Merged
Merged: 5/17/2022
Merged by: @nuryagdym
Base:
master← Head:refactored-pos-gateways-to-use-data-mapper📝 Commits (10+)
098fef5created PayForPosRequestDataMapper and refactored PayForPosea707f7AbstractRequestDataMapper added mapCurrency() method8f9d8eacreated PosNetRequestDataMapper and refactored PosNet65c6c35updated some gateways to use AbstractRequestDataMapper::mapCurrency()322a6d1refactord VakifBankPos and VakifBankPosRequestDataMapperb7d5499InterPosRequestDataMapper added MOTO constant460b2dfadded test mode for AbstractRequestDataMapperbcc4c84created GarantiPosRequestDataMapper and refactored GarantiPosf55f149GarantiPosRequestDataMapper removed unnecessary fieldsbfbab3fGarantiPosRequestDataMapper removed MotoInd value with constant📊 Changes
71 files changed (+5129 additions, -3890 deletions)
View changed files
📝
README.md(+43 -29)📝
config/pos.php(+8 -0)📝
docs/CHANGELOG.md(+55 -0)📝
examples/_common-codes/3d-host/index.php(+9 -1)📝
examples/_common-codes/3d/form.php(+10 -1)📝
examples/_common-codes/regular/form.php(+9 -1)📝
examples/akbank/3d-host/_config.php(+4 -2)📝
examples/akbank/3d-pay/_config.php(+4 -2)📝
examples/akbank/3d/_config.php(+4 -2)📝
examples/akbank/_payment_config.php(+3 -2)📝
examples/akbank/regular/_config.php(+1 -1)📝
examples/finansbank-payfor/3d-host/_config.php(+1 -1)📝
examples/finansbank-payfor/3d-pay/_config.php(+1 -1)📝
examples/finansbank-payfor/3d/_config.php(+1 -1)📝
examples/finansbank-payfor/_payment_config.php(+3 -2)📝
examples/finansbank-payfor/regular/_config.php(+1 -1)📝
examples/garanti/3d-pay/_config.php(+1 -1)📝
examples/garanti/3d/_config.php(+1 -1)📝
examples/garanti/_payment_config.php(+10 -2)📝
examples/garanti/regular/_config.php(+1 -1)...and 51 more files
📄 Description
Fixes
İyileştirmeler
currencyveinstallmentartık zorunlu değil. Varsayılan olarakcurrency=TRY,installment=0olarak kabul edilir.Breaking changes
AbstractGatewayüzerinden tanımlanıyor.\Mews\Pos\PosInterface::prepare()method artık sipariş verilerini (currency, id, amount, installment, transaction type) değiştirmez/formatlamaz. Sipariş verilerinin formatlanmasını artık Data Request Mapper'de (örn. PosNetRequestDataMapper) istek göndermeden önce yapılır.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.