mirror of
https://github.com/mewebstudio/pos.git
synced 2026-04-26 01:45:55 +03:00
[PR #265] [MERGED] PayflexCPV4 refactoring and fixes #278
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#278
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/265
Author: @nuryagdym
Created: 2/18/2025
Status: ✅ Merged
Merged: 2/18/2025
Merged by: @nuryagdym
Base:
master← Head:payflexcpv4-refactoring📝 Commits (6)
f439d6fPayFlexCPV4Pos - fix response decode exception02a250fPayFlexCPV4Pos - remove unsupported transactions0c4ae6fPayFlexCPV4Pos - fix 3d payment status requestff3e9fePayFlexCPV4Pos - change gateway endpoints configd275b15PayFlexCPV4Pos - use http_build_query instead of form_params9bbc5dfPayFlexCPV4Pos - coverage tests📊 Changes
16 files changed (+422 additions, -559 deletions)
View changed files
📝
README.md(+1 -1)📝
config/pos_production.php(+2 -3)📝
config/pos_test.php(+2 -3)➖
examples/payflex-cp-v4/regular/cancel.php(+0 -3)➖
examples/payflex-cp-v4/regular/form.php(+0 -3)➖
examples/payflex-cp-v4/regular/post-auth.php(+0 -3)➖
examples/payflex-cp-v4/regular/refund.php(+0 -3)📝
phpstan-baseline.neon(+12 -6)📝
src/DataMapper/RequestDataMapper/PayFlexCPV4PosRequestDataMapper.php(+11 -106)📝
src/DataMapper/ResponseDataMapper/PayFlexCPV4PosResponseDataMapper.php(+10 -68)📝
src/Gateways/PayFlexCPV4Pos.php(+128 -61)📝
src/Serializer/PayFlexCPV4PosSerializer.php(+3 -28)📝
tests/Unit/DataMapper/RequestDataMapper/PayFlexCPV4PosRequestDataMapperTest.php(+86 -11)📝
tests/Unit/DataMapper/ResponseDataMapper/PayFlexCPV4PosResponseDataMapperTest.php(+63 -0)📝
tests/Unit/Gateways/PayFlexCPV4PosTest.php(+101 -199)📝
tests/Unit/Serializer/PayFlexCPV4PosSerializerTest.php(+3 -61)📄 Description
Acceptheader'i gondermeyice JSON response donmeye baslamis, bu da decode ederken exection'a sebep oluyordu. (issue #264)MerchantIdyerineHostMerchantIdgonderilecek sekilde guncellendi. (issue #264)gateway_endpointsURL'ler tekrardan duzenlendi. Bu gateway henuz 100% calismadigindan bu breaking change sorun cikarmamasi lazim.form_paramskullanmak yerine serializerdahttp_build_querykullanilacak sekilde degistirildi.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.