Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.2.5 Rebase #221

Merged
merged 364 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
364 commits
Select commit Hold shift + click to select a range
ec5351e
[SV-34] fix
MarijusCoding Oct 3, 2024
a4cad9b
[SV-34] license
MarijusCoding Oct 3, 2024
1924110
[SV-34] license
MarijusCoding Oct 3, 2024
e4c9f69
[SV-37] added log to front controllers
MarijusCoding Oct 3, 2024
80155cd
fix
MarijusCoding Oct 3, 2024
5acb6eb
[SV-34] added logs
MarijusCoding Oct 3, 2024
565bb98
[SV-34] added more logs
MarijusCoding Oct 3, 2024
d09becb
[SV-34] more logs
MarijusCoding Oct 3, 2024
63a4d57
[SV-34] removed comments
MarijusCoding Oct 4, 2024
5ddd92c
Merge branch 'SV-34/logging-classes' of github.com:Invertus/saferpayo…
MarijusCoding Oct 4, 2024
66e5079
[SV-34] removed long-tail
MarijusCoding Oct 4, 2024
fa3df9e
[SV-34] typo
MarijusCoding Oct 4, 2024
1f0609a
[SV-34] typo
MarijusCoding Oct 4, 2024
b39824a
[SV-34] typo
MarijusCoding Oct 4, 2024
bb027a6
[SV-34] CS-FIXER
MarijusCoding Oct 4, 2024
2fb1293
[SV-34] typo
MarijusCoding Oct 4, 2024
43f81bf
Merge branch 'SV-34/logging-classes' of github.com:Invertus/saferpayo…
MarijusCoding Oct 4, 2024
06db095
[SV-37] more logs
MarijusCoding Oct 4, 2024
180b3f5
[SV-37] typos
MarijusCoding Oct 4, 2024
e3c96fb
[SL-219] fixed cards lists
MarijusCoding Oct 4, 2024
79cda12
[SL-219] fixed API failure
MarijusCoding Oct 4, 2024
f195004
[SL-219] added saving
MarijusCoding Oct 4, 2024
37a17bd
[SL-219] add card saving
MarijusCoding Oct 4, 2024
732dc6b
[SL-219] fixed card saving on 1.2.4
MarijusCoding Oct 4, 2024
6c882d0
[SL-219] fixed saved card transaction flow
MarijusCoding Oct 4, 2024
3a15639
validation for business license
MarijusCoding Oct 4, 2024
ce77c1a
[SL-219] removed useless code
MarijusCoding Oct 4, 2024
cd3c78b
removed
MarijusCoding Oct 4, 2024
12d080b
added logs
MarijusCoding Oct 7, 2024
a6b656a
edited log
MarijusCoding Oct 7, 2024
26495f3
edit log
MarijusCoding Oct 7, 2024
b4acfde
added fix
MarijusCoding Oct 7, 2024
e8dc2e7
added validation
MarijusCoding Oct 7, 2024
176e6a6
[SV-37] added log
MarijusCoding Oct 7, 2024
34e06fd
added log
MarijusCoding Oct 7, 2024
5b06b3b
fixed
MarijusCoding Oct 7, 2024
200931c
fix
MarijusCoding Oct 7, 2024
417c4b3
fixed logs
MarijusCoding Oct 7, 2024
5461ee7
added logs
MarijusCoding Oct 7, 2024
93726be
removed variable
MarijusCoding Oct 8, 2024
aef6eac
fixed logs
MarijusCoding Oct 8, 2024
700fd9d
added exception messages
MarijusCoding Oct 8, 2024
2bd2046
fixed logs
MarijusCoding Oct 8, 2024
bb37f94
fix logs
MarijusCoding Oct 8, 2024
f63f59c
added check
MarijusCoding Oct 8, 2024
f1af893
fixes
MarijusCoding Oct 8, 2024
24ed687
fix
MarijusCoding Oct 8, 2024
f0951a8
fix
MarijusCoding Oct 8, 2024
fe4137c
removed status code
MarijusCoding Oct 8, 2024
f15c4fa
safe exception message from exception
MarijusCoding Oct 8, 2024
848d702
Merge branch 'RC/rc-1.2.4' into SV-27/logger-inferface
MarijusCoding Oct 8, 2024
24aa0a1
Merge branch 'SV-27/logger-inferface' into SV-37/logging-controllers
MarijusCoding Oct 8, 2024
e2eeea3
Merge pull request #203 from Invertus/SV-37/logging-controllers
MarijusCoding Oct 8, 2024
413924f
Merge pull request #197 from Invertus/SV-27/logger-inferface
MarijusCoding Oct 8, 2024
dc2ea31
added API OK logs
MarijusCoding Oct 8, 2024
06d62ed
joined if
MarijusCoding Oct 8, 2024
2f37063
removed variable
MarijusCoding Oct 8, 2024
2a2b76d
added to method
MarijusCoding Oct 8, 2024
4567d34
Merge pull request #205 from Invertus/SL-219/just-saving
MarijusCoding Oct 8, 2024
9a92984
fixed upgrade
MarijusCoding Oct 8, 2024
e9d2a62
changelog.md
MarijusCoding Oct 8, 2024
9a2e8dc
changelog
MarijusCoding Oct 8, 2024
4d75b65
added if and comment
MarijusCoding Oct 8, 2024
97e06a7
fixed upgrade
MarijusCoding Oct 8, 2024
40f4cd7
added log
MarijusCoding Oct 8, 2024
071d1a9
Added compatibility with older PS versions
MarijusCoding Oct 9, 2024
7d92fe9
added log when zero payments
MarijusCoding Oct 9, 2024
3631a0b
whitespace
MarijusCoding Oct 9, 2024
1f3d6b3
added autoload for low PS
MarijusCoding Oct 9, 2024
f2fc6c8
added action
MarijusCoding Oct 9, 2024
fe89f11
added css to image sizes
MarijusCoding Oct 9, 2024
76fb165
wip
MarijusCoding Oct 9, 2024
fd50112
wip
MarijusCoding Oct 9, 2024
4b7b538
structurization
MarijusCoding Oct 9, 2024
dc6a275
added structure
MarijusCoding Oct 10, 2024
75b9fe4
thecheckout compatibility
MarijusCoding Oct 10, 2024
8c580c4
cleanup
MarijusCoding Oct 10, 2024
e538a2b
fix
MarijusCoding Oct 10, 2024
87eb2c3
fix PS 8.x
MarijusCoding Oct 10, 2024
a34ac32
renamed FILENAME -> FILE_NAME
MarijusCoding Oct 10, 2024
2be327c
fix
MarijusCoding Oct 10, 2024
f84a99c
fix
MarijusCoding Oct 10, 2024
0cfc5ef
fix
MarijusCoding Oct 10, 2024
81577a5
revert
MarijusCoding Oct 10, 2024
2aa3a90
revert
MarijusCoding Oct 10, 2024
9d09e52
full compatibility
MarijusCoding Oct 10, 2024
616e150
fix js
MarijusCoding Oct 10, 2024
1d643dc
fix
MarijusCoding Oct 10, 2024
759761d
fix
MarijusCoding Oct 11, 2024
bd72f12
fix
MarijusCoding Oct 11, 2024
db25893
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 11, 2024
23f292d
removed JS
MarijusCoding Oct 11, 2024
85da886
load only in checkout
MarijusCoding Oct 11, 2024
d507b9b
css n js
MarijusCoding Oct 11, 2024
9875c3a
fixed bug
MarijusCoding Oct 11, 2024
00b6fb0
reusability
MarijusCoding Oct 11, 2024
7cb7d7e
fix
MarijusCoding Oct 11, 2024
9d91a0b
fix
MarijusCoding Oct 11, 2024
baa923b
fix
MarijusCoding Oct 11, 2024
b18be44
comment
MarijusCoding Oct 11, 2024
c33ad04
fix upgrade
MarijusCoding Oct 11, 2024
3e128fc
fix installer
MarijusCoding Oct 11, 2024
fe9981a
sql
MarijusCoding Oct 11, 2024
ac84ca9
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 11, 2024
fadaeec
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 11, 2024
375b0cc
removed hosted on wechatpay
MarijusCoding Oct 11, 2024
504cad3
fix
MarijusCoding Oct 12, 2024
05c55fe
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 12, 2024
adb3b2c
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 12, 2024
582da6f
license
MarijusCoding Oct 13, 2024
ed9256c
fix
MarijusCoding Oct 13, 2024
59cc882
fix
MarijusCoding Oct 13, 2024
d5b2d42
fix
MarijusCoding Oct 14, 2024
ff26d2e
fix
MarijusCoding Oct 14, 2024
0425e66
fix var
MarijusCoding Oct 14, 2024
c4eb3be
fix
MarijusCoding Oct 14, 2024
9bd99a6
fix
MarijusCoding Oct 14, 2024
d8a70d0
fix
MarijusCoding Oct 14, 2024
7bb5557
fix
MarijusCoding Oct 14, 2024
13292ae
fix
MarijusCoding Oct 14, 2024
3683d20
fix
MarijusCoding Oct 14, 2024
1af6c97
fix css
MarijusCoding Oct 14, 2024
264a526
fix
MarijusCoding Oct 14, 2024
8f8724b
Merge branch 'SV-28/thecheckout' of github.com:Invertus/saferpayoffic…
MarijusCoding Oct 14, 2024
fff2742
fi
MarijusCoding Oct 14, 2024
c7af27e
fix
MarijusCoding Oct 14, 2024
90699c3
fix
MarijusCoding Oct 14, 2024
355d7ab
FIX (unstable commit)
MarijusCoding Oct 15, 2024
6d07fe2
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 15, 2024
72ef707
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 15, 2024
48bd536
fix
MarijusCoding Oct 15, 2024
096f5dc
fix
MarijusCoding Oct 15, 2024
f0a2260
update
MarijusCoding Oct 15, 2024
9449f0a
comments
MarijusCoding Oct 15, 2024
6a66534
fix
MarijusCoding Oct 15, 2024
e794d9e
fix multiple statuses
MarijusCoding Oct 15, 2024
72c1eee
fix response logs
MarijusCoding Oct 15, 2024
0dcba24
fix response logs
MarijusCoding Oct 15, 2024
9392a98
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 15, 2024
e3732db
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 15, 2024
587280a
unused use statement
MarijusCoding Oct 16, 2024
ab2a4b8
added if to work only in checkout
MarijusCoding Oct 16, 2024
0759cc4
updated js selector
MarijusCoding Oct 16, 2024
3b99709
fix
MarijusCoding Oct 16, 2024
05155a3
add log
MarijusCoding Oct 16, 2024
90d3730
updated logs
MarijusCoding Oct 16, 2024
bde884e
added more logs
MarijusCoding Oct 16, 2024
d0e20a5
fix
MarijusCoding Oct 16, 2024
d1c5129
fix
MarijusCoding Oct 16, 2024
1362c51
add log on exception
MarijusCoding Oct 16, 2024
c0c2c96
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 17, 2024
04c7ca9
removed zip
MarijusCoding Oct 17, 2024
16031cd
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 17, 2024
3e6440b
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 17, 2024
7ad57f3
fix conf
MarijusCoding Oct 17, 2024
092ff2d
added compatibility opcps
MarijusCoding Oct 17, 2024
38db797
compatibility
MarijusCoding Oct 17, 2024
e3bbf9c
revert
MarijusCoding Oct 17, 2024
e310a39
revert
MarijusCoding Oct 17, 2024
f5b367a
revert
MarijusCoding Oct 17, 2024
857ba82
revert
MarijusCoding Oct 17, 2024
0b7ffd7
Revert "revert"
MarijusCoding Oct 17, 2024
71bc3c1
Revert "revert"
MarijusCoding Oct 17, 2024
8401319
Revert "revert"
MarijusCoding Oct 17, 2024
65cec16
Revert "revert"
MarijusCoding Oct 17, 2024
17f465b
[SL-261] init
MarijusCoding Oct 18, 2024
9596cbe
[SL-261] fix service
MarijusCoding Oct 18, 2024
22096d2
fix
MarijusCoding Oct 18, 2024
3cebebc
[SL-261] Added more context to exception
MarijusCoding Oct 18, 2024
825283e
[SL-261] Removed hard-code
MarijusCoding Oct 18, 2024
c0e68c5
[SL-261] fix minor
MarijusCoding Oct 18, 2024
b9c2021
[SL-261] whitespace
MarijusCoding Oct 18, 2024
6c8197b
[SL-261] fix
MarijusCoding Oct 18, 2024
59f23de
typo
MarijusCoding Oct 18, 2024
01caad0
fix
MarijusCoding Oct 18, 2024
b4f8f8d
fix
MarijusCoding Oct 18, 2024
c0a7dca
reverse
MarijusCoding Oct 18, 2024
dd2a277
fix
MarijusCoding Oct 18, 2024
7991127
fix
MarijusCoding Oct 18, 2024
3ad9df9
removed config
MarijusCoding Oct 18, 2024
b5d5944
fix
MarijusCoding Oct 18, 2024
a6f6d63
Merge branch 'SV-28/thecheckout' of github.com:Invertus/saferpayoffic…
MarijusCoding Oct 18, 2024
ab141d7
fix
MarijusCoding Oct 18, 2024
ed53990
fix
MarijusCoding Oct 18, 2024
8fca556
update sql
MarijusCoding Oct 20, 2024
ff483c5
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 20, 2024
ede7712
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 20, 2024
e02ee72
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 20, 2024
72a944c
Fixed SQL
MarijusCoding Oct 20, 2024
234adc2
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 20, 2024
54528d8
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 20, 2024
066d638
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 20, 2024
187972c
[SL-261] added check
MarijusCoding Oct 20, 2024
d69dcd2
replaced
MarijusCoding Oct 20, 2024
cea0519
fix
MarijusCoding Oct 20, 2024
f55748d
whitespace
MarijusCoding Oct 20, 2024
fad0c01
added more redirect payment to prevent double statuses
MarijusCoding Oct 21, 2024
3ce7e63
update
MarijusCoding Oct 22, 2024
a53468a
fixed google apple status
MarijusCoding Oct 22, 2024
69222de
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 22, 2024
c2b0d5c
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 22, 2024
3962abe
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 22, 2024
f34b434
Merge pull request #209 from Invertus/SV-29/checkoutps
MarijusCoding Oct 22, 2024
642d17c
Merge pull request #208 from Invertus/SV-28/thecheckout
MarijusCoding Oct 22, 2024
7722f20
Update src/Validation/CustomerCreditCardValidation.php
MarijusCoding Oct 22, 2024
8e3a843
Merge pull request #211 from Invertus/SL-261/security-issue
MarijusCoding Oct 22, 2024
87e4052
added paypal double statuses
MarijusCoding Oct 22, 2024
74fa522
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 22, 2024
3b329c1
added check when not saved card used
MarijusCoding Oct 22, 2024
3891498
fixed typo
MarijusCoding Oct 22, 2024
df9132e
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 22, 2024
24de2ef
fixed error
MarijusCoding Oct 22, 2024
482eb58
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 22, 2024
57db8a2
Merge branch 'RC/rc-1.2.4' into SL-221/cssurl-removal
MarijusCoding Oct 22, 2024
9045724
Merge pull request #158 from Invertus/SL-221/cssurl-removal
MarijusCoding Oct 22, 2024
d83f822
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 22, 2024
974e8fa
added log
MarijusCoding Oct 22, 2024
237af0e
fail controller function
MarijusCoding Oct 23, 2024
2a6987a
renamed annotation
MarijusCoding Oct 23, 2024
a4d3799
Merge pull request #213 from Invertus/SL-219/iframe-fail-redirect
MarijusCoding Oct 23, 2024
4fa2e88
Merge branch 'RC/rc-1.2.4' of github.com:Invertus/saferpayofficial in…
MarijusCoding Oct 23, 2024
92a4b58
Merge pull request #212 from Invertus/SV-26/opc-compatibility
MarijusCoding Oct 23, 2024
845fe53
added log
MarijusCoding Oct 23, 2024
89ba3be
init
MarijusCoding Oct 23, 2024
4b068c7
Merge pull request #214 from Invertus/iframe-fail-redirect
MarijusCoding Oct 23, 2024
f035583
removed useless hook
MarijusCoding Oct 23, 2024
4c716a8
delete cart on fail
MarijusCoding Oct 23, 2024
3f58cca
[SV-34] init
MarijusCoding Oct 24, 2024
e48bdca
[SV-34] init
MarijusCoding Oct 24, 2024
a5fc3a4
[SL-262] init
MarijusCoding Oct 24, 2024
5d877e4
Merge pull request #216 from Invertus/SL-262/ps16-css-images
MarijusCoding Oct 25, 2024
d190722
Merge pull request #215 from Invertus/SV-43/logs-context-error
MarijusCoding Oct 25, 2024
bcefe71
[SL-264] init
MarijusCoding Oct 25, 2024
989195d
[SL-264] disable saved cards
MarijusCoding Oct 26, 2024
6cec2d9
[SL-264] wrong annotation variable name
MarijusCoding Oct 28, 2024
252590f
[SL-264] fixed iframe redirect
MarijusCoding Oct 28, 2024
7658893
[SL-264] deleted code
MarijusCoding Oct 28, 2024
2ed85c6
[SL-264] added comment
MarijusCoding Oct 28, 2024
756c95d
[SL-265] init
MarijusCoding Oct 28, 2024
dd26090
Merge pull request #218 from Invertus/SL-265/payment-currencies-detec…
MarijusCoding Oct 28, 2024
c23c9b3
Merge pull request #217 from Invertus/SL-264/ps16-problems
MarijusCoding Oct 28, 2024
891230a
added http status to logs
MarijusCoding Oct 29, 2024
707a11a
fixed search problem
MarijusCoding Oct 30, 2024
5dbbf80
updated upgrade
MarijusCoding Oct 30, 2024
94bb769
fix object
MarijusCoding Oct 30, 2024
12af95b
Merge pull request #219 from Invertus/SL/logs-search-error
MarijusCoding Oct 30, 2024
6794e86
fixed double logs
MarijusCoding Oct 31, 2024
7c40fab
update
MarijusCoding Nov 4, 2024
c02de32
changelog
MarijusCoding Nov 5, 2024
23c830a
Merge pull request #206 from Invertus/RC/rc-1.2.4
MarijusCoding Nov 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[SL-219] add card saving
  • Loading branch information
MarijusCoding committed Oct 4, 2024
commit 37a17bd2ed181b4a6b2b4b0296c4be5c840b7524
9 changes: 8 additions & 1 deletion src/DTO/Request/Assert/AssertRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,16 @@ class AssertRequest
* @var string
*/
private $token;
private $saveCard;

public function __construct(
RequestHeader $requestHeader,
$token
$token,
$saveCard
) {
$this->requestHeader = $requestHeader;
$this->token = $token;
$this->saveCard = $saveCard;
}

public function getAsArray()
Expand All @@ -65,6 +68,10 @@ public function getAsArray()
'Token' => $this->token,
];

if ($this->saveCard) {
$return['RegisterAlias'] = [ 'IdGenerator' => 'RANDOM_UNIQUE'];
}

return $return;
}
}
4 changes: 2 additions & 2 deletions src/Service/Request/AssertRequestObjectCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ public function __construct(
*
* @return AssertRequest
*/
public function create($token)
public function create($token, $saveCard)
{
$requestHeader = $this->requestObjectCreator->createRequestHeader();

return new AssertRequest($requestHeader, $token);
return new AssertRequest($requestHeader, $token, $saveCard);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function assert($cartId, $saveCard, $selectedCard, $update = true)
$saferPayOrder->update();
}

$assertRequest = $this->assertRequestCreator->create($saferPayOrder->token);
$assertRequest = $this->assertRequestCreator->create($saferPayOrder->token, $saveCard);
$assertResponse = $this->assertionService->assert($assertRequest, $saferPayOrder->id);

if (empty($assertResponse)) {
Expand Down