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/v6.4.1 #563

Open
wants to merge 268 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
268 commits
Select commit Hold shift + click to select a range
356d208
CHECMAG2003-195: change cc error messages on single form
antoine-fontaine Dec 8, 2023
7263f2d
CHECMAG2003-195: remove unused func
antoine-fontaine Dec 8, 2023
9be3271
CHECMAG2003-193: init ABC on catching exception in refund
DnD-Behou Dec 11, 2023
acbfeac
CHECMAG2003-193: remove useless use
DnD-Behou Dec 11, 2023
d9f8819
Merge branch 'feature/CHECMAG2003-193' into 'develop'
DnD-Behou Dec 11, 2023
a86a8c7
CHECMAG2003-193: handle config load by store
DnD-Behou Dec 11, 2023
93711b7
Merge branch 'feature/CHECMAG2003-193' into 'develop'
DnD-Behou Dec 11, 2023
05ea974
CHECMAG2003-193: handle config load by store with store of the order …
DnD-Behou Dec 11, 2023
f547c54
Merge branch 'feature/CHECMAG2003-193' into 'develop'
DnD-Behou Dec 11, 2023
534899a
CHECMAG2003-193: handle API call with correct version of sdk
DnD-Behou Dec 11, 2023
bd2a6f2
Merge branch 'feature/CHECMAG2003-193' into 'develop'
DnD-Behou Dec 11, 2023
82f96d8
CHECMAG2003-193: remove useless key and add debug
DnD-Behou Dec 12, 2023
7216b2f
Merge branch 'feature/CHECMAG2003-193' into 'develop'
DnD-Behou Dec 12, 2023
646bf27
CHECMAG2003-193: add ABC refund fallback on all payment methods
DnD-Behou Dec 12, 2023
666568f
Merge branch 'feature/CHECMAG2003-193' into 'develop'
DnD-Behou Dec 12, 2023
2a9b2be
CHECMAG2003-193: add ABC refund fallback on Card method
DnD-Behou Dec 12, 2023
0f9b340
Merge branch 'feature/CHECMAG2003-193' into 'develop'
DnD-Behou Dec 12, 2023
0ab2366
CHECMAG2003-193: fix scope config
DnD-Behou Dec 12, 2023
8f28d63
Merge branch 'feature/CHECMAG2003-193' into 'develop'
DnD-Behou Dec 12, 2023
27293e8
CHECMAG2003-193: add backend model for abc refund key in config
DnD-Behou Dec 12, 2023
2737b42
Merge branch 'feature/CHECMAG2003-193' into 'develop'
DnD-Behou Dec 12, 2023
1d081d8
CHECMAG2003-193: add refund fallback on ABC when API exception happen…
DnD-Behou Dec 13, 2023
4f72610
Merge branch 'feature/CHECMAG2003-193' into 'develop'
DnD-Behou Dec 13, 2023
8d2664e
Bump composer.json version
DnD-Behou Dec 15, 2023
f8ac69d
Merge branch 'release/v5.7.0' into 'develop'
DnD-Behou Dec 15, 2023
71ac680
CHECMAG2003-198: Add labels configurations
Dec 15, 2023
73ff7a9
Merge branch 'release/v5.7.0' into 'master'
JuliosDnd Dec 18, 2023
bf6fe8c
CHECMAG2003-198: add credit card label & placeholder configurations t…
antoine-fontaine Dec 20, 2023
82d7dc2
Merge branch 'feature/CHECMAG2003-198' into 'develop'
DnD-Behou Jan 2, 2024
02009c8
Merge branch 'feature/CHECMAG2003-195' into 'develop'
DnD-Behou Jan 2, 2024
0562848
CHECMAG2003-200: add disabled btn state change in else condition (onl…
antoine-fontaine Jan 8, 2024
2f325fd
Merge branch 'feature/CHECMAG2003-200' into 'develop'
DnD-Behou Jan 9, 2024
21b2cd5
CHECMAG2003-204: Fix authorization check on placing order
DnD-Behou Jan 19, 2024
7b95914
Merge branch 'feature/CHECMAG2003-204' into 'develop'
DnD-Behou Jan 19, 2024
4927f08
CHECMAG2003-200: add timer around submit card promise for testing
antoine-fontaine Jan 24, 2024
1b35b5e
CHECMAG2003-199: check applepay supported version before initialize it
antoine-fontaine Jan 24, 2024
23496d0
Merge branch 'feature/CHECMAG2003-199' into 'develop'
DnD-Behou Jan 26, 2024
8cc23bd
CHECMAG2003-205: Update documentation under frame.js customization field
DnD-Behou Jan 29, 2024
60ab51e
Merge branch 'feature/CHECMAG2003-205' into 'develop'
DnD-Behou Jan 29, 2024
c1f1bc6
CHECMAG2003-204: fix response code when it is not defined
DnD-Behou Jan 30, 2024
764cfad
Merge branch 'feature/CHECMAG2003-204' into 'develop'
DnD-Behou Jan 30, 2024
81da630
CHECMAG2003-207: change applepay behavior on checkout
antoine-fontaine Jan 31, 2024
8fe4d68
Merge remote-tracking branch 'origin/develop' into feature/CHECMAG200…
antoine-fontaine Jan 31, 2024
3cb76ac
CHECMAG2003-200: launch submit card promise after place order button …
antoine-fontaine Jan 31, 2024
527a402
Merge branch 'feature/CHECMAG2003-207' into 'develop'
DnD-Behou Feb 6, 2024
d7ab794
Merge branch 'feature/CHECMAG2003-200' into 'develop'
DnD-Behou Feb 9, 2024
4575a41
CHECMAG2003-207: use self instead of this on sessions functions
antoine-fontaine Feb 14, 2024
2983e94
CHECMAG2003-207: remove useless self var
antoine-fontaine Feb 14, 2024
773127e
Merge branch 'feature/CHECMAG2003-207' into 'develop'
DnD-Behou Feb 14, 2024
4eb892c
bump composer.json version
DnD-Behou Feb 16, 2024
22a0281
Merge branch 'release/v5.8.0' into 'develop'
DnD-Behou Feb 16, 2024
19546f9
Merge branch 'release/v5.8.0' into 'master'
DnD-Behou Feb 16, 2024
717657d
CHECMAG2003-210: fixed preferred scheme value
DnD-Behou Feb 19, 2024
7afdadd
CHECMAG2003-212: manage error case on payment ajax request
antoine-fontaine Feb 20, 2024
64b9693
CHECMAG2003-210: fix check back on preferred scheme
DnD-Behou Feb 20, 2024
7ec05ab
Merge branch 'feature/CHECMAG2003-210' into 'develop'
DnD-Behou Feb 20, 2024
6e84f4f
Merge branch 'feature/CHECMAG2003-212' into 'develop'
DnD-Behou Feb 20, 2024
c6eabe3
CHECMAG2003-210: fix syntax error
DnD-Behou Feb 20, 2024
e3c7578
Merge branch 'feature/CHECMAG2003-210' into 'develop'
DnD-Behou Feb 20, 2024
dd42962
bump composer.json version
DnD-Behou Feb 20, 2024
21fbba4
Merge branch 'release/v5.8.1' into 'develop'
DnD-Behou Feb 20, 2024
23c4493
Merge branch 'release/v5.8.1' into 'master'
DnD-Behou Feb 20, 2024
c08377d
CHECMAG2003-206 - First step of paypal method
Feb 27, 2024
796d3eb
CHECMAG2003-206 - First Working Paypal Process
Feb 28, 2024
8075e71
CHECMAG2003-206 - Allow non capture mode in paypal widget
Feb 28, 2024
6e38289
CHECMAG2003-206 - Add express buttons
Feb 28, 2024
d5c18c8
CHECMAG2003-206 - Introducing paypal express review
Feb 29, 2024
c68b885
CHECMAG2003-206 - Managing address edit + display items on review page
Mar 1, 2024
ada442b
CHECMAG2003-206 - Manage Discount amount
Mar 1, 2024
2f90e43
CHECMAG2003-206 - Better way to calculate discount when requesting pa…
Mar 1, 2024
4799c30
CHECMAG2003-206 - Code cleaning
Mar 1, 2024
ea5e8a1
CHECMAG2003-206 - Manage Capture mode on express
Mar 1, 2024
8f39b2d
CHECMAG2003-206 - Remove not used file
Mar 1, 2024
6e8939a
CHECMAG2003-206: fix minicart behaviour with configurable products
antoine-fontaine Mar 4, 2024
4d4736d
CHECMAG2003-206 - Fix issue with price to 0 products
Mar 4, 2024
5ccadfd
CHECMAG2003-214: change payment first option processing to keep uniqu…
DnD-Behou Mar 4, 2024
2200c81
Merge branch 'hotfix/CHECMAG2003-214' into 'develop'
DnD-Behou Mar 4, 2024
edbde7e
CHECMAG2003-214: handle delete of order if payment first with 3DS
DnD-Behou Mar 5, 2024
dcfcee2
Merge branch 'hotfix/CHECMAG2003-214' into 'develop'
DnD-Behou Mar 5, 2024
ca6ad95
Bump composer.json version
DnD-Behou Mar 7, 2024
358a0bd
Merge branch 'release/v5.8.2' into 'develop'
DnD-Behou Mar 7, 2024
1dbe34b
CHECMAG2003-206: manage paypal express component on minicart and cart
antoine-fontaine Mar 7, 2024
1769065
Merge remote-tracking branch 'origin/feature/CHECMAG2003-206' into fe…
antoine-fontaine Mar 7, 2024
41f71b7
CHECMAG2003-206 - Code cleaning
Mar 7, 2024
b04a29e
CHECMAG2003-206 - Code cleaning
Mar 7, 2024
19b47cc
CHECMAG2003-206 - Code cleaning
Mar 7, 2024
f28f6f2
Merge branch 'release/v5.8.2' into 'master'
DnD-Behou Mar 7, 2024
42bb2e3
CHECMAG2003-206: paypal checkout payment method implementation and re…
antoine-fontaine Mar 7, 2024
c76965c
Merge remote-tracking branch 'origin/feature/CHECMAG2003-206' into fe…
antoine-fontaine Mar 7, 2024
fd7a064
CHECMAG2003-206 - Log technical message and display generic messages
Mar 7, 2024
f607967
Merge branch 'feature/CHECMAG2003-206' of gitlab.com:agence-dnd/marke…
Mar 7, 2024
810fd83
CHECMAG2003-206: remove Utilities use on express paypal method
antoine-fontaine Mar 7, 2024
f2633a9
CHECMAG2003-206: paypal express review page integration
antoine-fontaine Mar 7, 2024
11741db
CHECMAG2003-206: remove old javascript file
antoine-fontaine Mar 8, 2024
26f0f33
CHECMAG2003-215 Modify giropay nas and abc
Dnd-Arsav Mar 8, 2024
8630fde
CHECMAG2003-206: add error message logger on checkout
antoine-fontaine Mar 11, 2024
76a6547
CHECMAG2003-206 - Do not send free shipping on payment request
Mar 11, 2024
6a7aa80
Merge branch 'feature/CHECMAG2003-206' of gitlab.com:agence-dnd/marke…
Mar 11, 2024
3770fa9
CHECMAG2003-206: sort CSV lines
antoine-fontaine Mar 11, 2024
114e6d9
CHECMAG2003-218: fix bad merge on checkout
antoine-fontaine Mar 11, 2024
e404340
Merge remote-tracking branch 'origin/develop' into feature/CHECMAG200…
antoine-fontaine Mar 11, 2024
b12d789
CHECMAG2003-206: process review return
antoine-fontaine Mar 11, 2024
3151898
Merge branch 'hotfix/CHECMAG2003-218' into 'develop'
DnD-Behou Mar 11, 2024
ae30cb4
composer.json
DnD-Behou Mar 11, 2024
e1dbce7
Merge branch 'release/v5.8.3' into 'develop'
DnD-Behou Mar 11, 2024
0c8cf9c
Merge branch 'release/v5.8.3' into 'master'
DnD-Behou Mar 12, 2024
29030c0
CHECMAG2003-206: add paypal or apple pay context for loading checkout…
DnD-Behou Mar 12, 2024
223a285
Merge branch 'feature/CHECMAG2003-206' into 'develop'
DnD-Behou Mar 12, 2024
c7c2f45
CHECMAG2003-206: fix DI
DnD-Behou Mar 12, 2024
71a0fdd
Merge branch 'feature/CHECMAG2003-206' into 'develop'
DnD-Behou Mar 12, 2024
83d53e0
CHECMAG2003-206: fix DI
DnD-Behou Mar 12, 2024
dbf3f2c
Merge branch 'feature/CHECMAG2003-206' into 'develop'
DnD-Behou Mar 12, 2024
26f6173
CHECMAG2003-206 - Add missing reference to payment request
Mar 12, 2024
0147d43
Merge branch 'feature/CHECMAG2003-206' into 'develop'
DnD-Behou Mar 12, 2024
af4e1f2
CHECMAG2003-206 - Add Paypal allowed methods to checkout config
Mar 12, 2024
4a24ba1
ORAPMAG2007-732 - Fix callback issue
Mar 13, 2024
72e098b
CHECMAG2003-206 - Add paypal allowed currencies to checkout config
Mar 13, 2024
b799da2
CHECMAG2003-206 - Fix undefined index issue on checkout webhook callback
Mar 13, 2024
9b79068
Merge branch 'feature/CHECMAG2003-206-2' into 'develop'
DnD-Behou Mar 13, 2024
0b1c3ff
CHECMAG2003-206 - Better log if webhook issue
Mar 13, 2024
ded5b26
Merge commit '9b790684ed37fc4796952510fc6c8a7f0320077c' into feature/…
Mar 13, 2024
a72d2e6
Merge branch 'feature/CHECMAG2003-206-2' into 'develop'
DnD-Behou Mar 13, 2024
2ef1604
Merge branch 'develop' into feature/CHECMAG2003-206
Mar 14, 2024
3567ba9
CHECMAG2003-206: check if current currency is allowed on paypal optio…
antoine-fontaine Mar 14, 2024
17c5be2
CHECMAG2003-206: move script constant initialization
antoine-fontaine Mar 14, 2024
e18feec
CHECMAG2003-206 - Add missing elements to paypal payment request
Mar 14, 2024
6237d27
Merge branch 'feature/CHECMAG2003-206' into 'develop'
DnD-Behou Mar 14, 2024
1f35bb2
CHECMAG2003-206 - Add currency code when calling paypal script
Mar 15, 2024
111ca2a
Merge branch 'feature/CHECMAG2003-206' into 'develop'
DnD-Behou Mar 15, 2024
9ac4ced
CHECMAG2003-206: require PHP 7.4 due to multiple typed classe properties
DnD-Behou Mar 20, 2024
5fe572e
Merge branch 'releasefix/CHECMAG2003-206' into 'develop'
DnD-Behou Mar 20, 2024
ea953e3
CHECMAG2003-206: add shippinbg fees into context request and mark con…
DnD-Behou Mar 21, 2024
32b5bf5
CHECMAG2003-206: mark configuration fields as mandatory
DnD-Behou Mar 21, 2024
d2963b7
Merge branch 'releasefix/CHECMAG2003-206' into 'develop'
DnD-Behou Mar 21, 2024
146bb5e
CHECMAG2003-206: fix shipping fees application on context
DnD-Behou Mar 21, 2024
690816d
Merge branch 'releasefix/CHECMAG2003-206' into 'develop'
DnD-Behou Mar 21, 2024
b68285a
CHECMAG2003-206: fix amount differences on Paypal Express method
DnD-Behou Mar 21, 2024
3d621a4
Merge branch 'releasefix/CHECMAG2003-206' into 'develop'
DnD-Behou Mar 21, 2024
d31b470
CHECMAG2003-221: check if current quote exists before calling the ses…
DnD-Behou Mar 25, 2024
8722487
CHECMAG2003-206: remove unused configuration and update comment for m…
DnD-Behou Mar 26, 2024
fc1f96b
Merge branch 'releasefix/CHECMAG2003-206' into 'develop'
DnD-Behou Mar 26, 2024
5adc727
CHECMAG2003-206: check data exists before apply to the quote and add …
DnD-Behou Mar 27, 2024
9375bf3
Merge branch 'releasefix/CHECMAG2003-206' into 'develop'
DnD-Behou Mar 27, 2024
532b6dd
CHECMAG2003-206: add shipping information on context request
DnD-Behou Mar 27, 2024
0790c85
Merge branch 'releasefix/CHECMAG2003-206' into 'develop'
DnD-Behou Mar 27, 2024
f3fb02f
Bump composer.json version
DnD-Behou Mar 29, 2024
4436c2f
Merge branch 'release/v6.0.0' into 'develop'
DnD-Behou Mar 29, 2024
d0ae2d8
Merge branch 'release/v6.0.0' into 'master'
DnD-Behou Apr 2, 2024
79b4793
Merge branch 'feature/CHECMAG2003-215' into 'develop'
DnD-Behou Apr 9, 2024
fd4d825
Merge branch 'feature/CHECMAG2003-221' into 'develop'
DnD-Behou Apr 9, 2024
2492cd5
CHECMAG2003-222: fix unexpected display of apple pay button on minicart
antoine-fontaine Apr 15, 2024
6b05d27
CHECMAG2003-215 Not display BIC for NAS service
Dnd-Arsav Apr 15, 2024
118a0a5
Merge branch 'feature/CHECMAG2003-222' into 'develop'
DnD-Behou Apr 15, 2024
c0a8d28
Merge branch 'feature/CHECMAG2003-215' into 'develop'
DnD-Behou Apr 15, 2024
2b5d3f6
CHECMAG2003-222: create new css file for paypal express
antoine-fontaine Apr 18, 2024
344645f
CHECMAG2003-222: remove useless CSS declaration
antoine-fontaine Apr 18, 2024
ef24732
Merge branch 'feature/CHECMAG2003-222' into 'develop'
DnD-Behou Apr 18, 2024
bee2984
CHECMAG2003-215: remove source token from paypal payment request
DnD-Behou Apr 19, 2024
3d7c6f9
Merge branch 'feature/CHECMAG2003-215' into 'develop'
DnD-Behou Apr 19, 2024
b6df9b1
Bump composer.json version
DnD-Behou Apr 22, 2024
536a629
Merge branch 'release/v6.1.0' into 'develop'
DnD-Behou Apr 22, 2024
d68e7be
Merge branch 'release/v6.1.0' into 'master'
DnD-Behou Apr 22, 2024
72342f6
CHECMAG2003-231: update cardholder name on billing address update
antoine-fontaine May 13, 2024
bf513d5
CHECMAG2003-231: CR feedback about formatting
antoine-fontaine May 14, 2024
78306e3
Merge branch 'feature/CHECMAG2003-231' into 'develop'
DnD-Behou May 14, 2024
493d4e8
Bump composer.json version
DnD-Behou May 16, 2024
2846270
Merge branch 'release/v6.1.1' into 'develop'
DnD-Behou May 16, 2024
be4c7c0
Merge branch 'release/v6.1.1' into 'master'
DnD-Behou May 16, 2024
68981b8
CHECMAG2003-232 Update Ideal code for new SDK
Dnd-Arsav May 21, 2024
678f3d1
CHECMAG2003-233: set current user email before placing order
antoine-fontaine May 23, 2024
f0c036a
Merge branch 'feature/CHECMAG2003-232' into 'develop'
DnD-Behou May 23, 2024
320550d
Merge branch 'feature/CHECMAG2003-233' into 'develop'
DnD-Behou May 23, 2024
1983e7d
CHECMAG2003-233: use step navigator on payemnt step in order to know …
antoine-fontaine May 23, 2024
5ac442a
Merge branch 'feature/CHECMAG2003-233' into 'develop'
DnD-Behou May 23, 2024
0520cf3
CHECMAG2003-233: create checkout utilities file in order use checkout…
antoine-fontaine May 27, 2024
e92f97c
Merge branch 'feature/CHECMAG2003-233' into 'develop'
DnD-Behou May 27, 2024
7f2ee0a
Bump composer version
DnD-Behou Jun 5, 2024
b224aee
Merge branch 'release/v6.2.0' into 'develop'
DnD-Behou Jun 5, 2024
58d6db9
Merge branch 'release/v6.2.0' into 'master'
DnD-Behou Jun 12, 2024
e2cca84
CHECMAG2003-236 - Introducing Klarna
Jun 19, 2024
06e3532
CHECMAG2003-236 - Introducing Klarna
Jun 19, 2024
fa6c980
CHECMAG2003-236 - Introducing Klarna Process
Jun 20, 2024
dd94c1a
CHECMAG2003-236 - Finalize Klarna process
Jun 24, 2024
fcbccb0
CHECMAG2003-236 - Code cleanup
Jun 24, 2024
f388dd9
CHECMAG2003-236 - Code cleanup
Jun 24, 2024
55e8fbf
CHECMAG2003-236 - Code cleanup
Jun 24, 2024
b012ca6
CHECMAG2003-236 - Code cleanup
Jun 26, 2024
0c83428
CHECMAG2003-238 - Remove Giropay from APM
Jun 26, 2024
86ecdb2
Merge branch 'feature/CHECMAG2003-238' into 'develop'
DnD-Behou Jul 2, 2024
380d515
Bump composer version
DnD-Behou Jul 9, 2024
230a0c6
Merge branch 'release/v6.2.1' into 'develop'
DnD-Behou Jul 9, 2024
7c364d3
Merge branch 'release/v6.2.1' into 'master'
DnD-Behou Jul 9, 2024
d97d307
CHECMAG2003-236: Reformat file before working on functions
Jul 10, 2024
afb4d65
CHECMAG2003-236: Remove console.log
Jul 10, 2024
9714297
Move api call in javascript file with promise instead of phtml
Jul 11, 2024
b02aeac
CHECMAG2003-241 Remove properties not existing in SDK
Dnd-Arsav Jul 18, 2024
7b3a542
Merge branch 'feature/CHECMAG2003-241' into 'develop'
DnD-Behou Jul 19, 2024
b3779b2
Bump composer version
DnD-Behou Jul 22, 2024
39474c9
Merge branch 'release/v6.2.2' into 'develop'
DnD-Behou Jul 23, 2024
14f235f
Merge branch 'feature/CHECMAG2003-236' into 'develop'
DnD-Behou Jul 23, 2024
fc03532
CHECMAG2003-242 Get config method from SCOPE STORE
Dnd-Arsav Jul 24, 2024
636957c
CHECMAG2003-243 Store code is a string remove int type hint and repla…
Dnd-Arsav Jul 25, 2024
b7ca9c7
CHECMAG2003-243 Remove unused variable
Dnd-Arsav Jul 26, 2024
9807bbe
CHECMAG2003-236 - Add currencies and country options
Jul 26, 2024
914508f
Merge branch 'release/v6.2.2' into 'master'
JuliosDnd Jul 29, 2024
3f4b857
CHECMAG2003-236 - Manage country change - let api say us if context i…
Jul 30, 2024
80443a6
CHECMAG2003-236 - Keep klarna method visible only disallow ordering a…
Jul 30, 2024
dcc1582
Merge branch 'feature/CHECMAG2003-236-2' into 'develop'
JuliosDnd Jul 31, 2024
9371ad7
Bump composer version
DnD-Behou Aug 6, 2024
b2f94b7
Merge branch 'release/v6.3.0' into 'develop'
DnD-Behou Aug 6, 2024
3c8d781
Merge branch 'release/v6.3.0' into 'master'
DnD-Behou Aug 8, 2024
978d23d
Merge branch 'feature/CHECMAG2003-242' into 'develop'
DnD-Behou Aug 12, 2024
afecc25
Merge branch 'feature/CHECMAG2003-243' into 'develop'
DnD-Behou Aug 12, 2024
6fee32c
Bump composer.json version
DnD-Behou Aug 14, 2024
f342a74
Merge branch 'release/v6.3.1' into 'develop'
DnD-Behou Aug 14, 2024
e6575e2
Merge branch 'release/v6.3.1' into 'master'
DnD-Behou Aug 14, 2024
4349f39
CHECMAG2003-246: remove KNET mandate info message
DnD-Behou Aug 28, 2024
9e21815
Merge branch 'feature/CHECMAG2003-246' into 'develop'
DnD-Behou Aug 28, 2024
af86956
CHECMAG2003-249: adjust cps whitelist
DnD-Behou Aug 30, 2024
a205a45
Merge branch 'feature/CHECMAG2003-249' into 'develop'
DnD-Behou Aug 30, 2024
216c995
Fix credit cards inputs Frame loading
BenoitAlixAgenceDnD Sep 3, 2024
58be6a5
Merge branch 'feature/CHECMAG2003-249' into 'develop'
DnD-Behou Sep 13, 2024
5817bfe
CHECMAG2003-252: Add support of multi-region support for api call
Sep 30, 2024
f126d48
CHECMAG2003-249: fix canceled request
Oct 9, 2024
6b519a1
CHECMAG2003-256: fix success result on REST API
DnD-Behou Oct 10, 2024
eac9ff7
Merge branch 'feature/CHECMAG2003-249' into 'develop'
DnD-Behou Oct 10, 2024
42e8347
Bump composer.json version
DnD-Behou Oct 11, 2024
954321a
Merge branch 'release/v6.3.2' into 'develop'
DnD-Behou Oct 11, 2024
5ad8150
Bump composer.json version
DnD-Behou Oct 11, 2024
09e456b
Merge branch 'release/v6.3.2' into 'develop'
DnD-Behou Oct 11, 2024
36368a1
Merge branch 'release/v6.3.2' into 'master'
DnD-Behou Oct 14, 2024
cbd04cd
Merge branch 'feature/CHECMAG2003-256' into 'develop'
DnD-Behou Oct 17, 2024
0a5e83c
Merge branch 'develop' into feature/CHECMAG2003-252
DnD-Behou Oct 17, 2024
96bdcc4
Merge branch 'feature/CHECMAG2003-252' into 'develop'
DnD-Behou Oct 17, 2024
b577785
CHECMAG2003-252: fix missing source model
DnD-Behou Oct 18, 2024
cf48011
Merge branch 'releasefix/CHECMAG2003-252' into 'develop'
DnD-Behou Oct 18, 2024
e9f4577
CHECMAG2003-252: fix global region config value
DnD-Behou Oct 21, 2024
2798821
Merge branch 'releasefix/CHECMAG2003-252' into 'develop'
DnD-Behou Oct 21, 2024
3271b45
CHECMAG2003-252: add region default configuration
DnD-Behou Oct 21, 2024
5c825ed
Merge branch 'releasefix/CHECMAG2003-252' into 'develop'
DnD-Behou Oct 21, 2024
44d6957
CHECMAG2003-252: Add region configuration field translation
DnD-Behou Oct 22, 2024
7d3bfbb
Merge branch 'releasefix/CHECMAG2003-252' into 'develop'
DnD-Behou Oct 22, 2024
ce1fa3c
Bump composer.json version
DnD-Behou Oct 22, 2024
8c2604b
CHECMAG2003-260: fix preferred scheme for payment cards
DnD-Behou Nov 14, 2024
a6b78ac
Merge branch 'release/v6.4.0' into 'develop'
DnD-Behou Nov 28, 2024
1fe0e3e
Merge branch 'release/v6.4.0' into 'master'
DnD-Behou Nov 28, 2024
6d3cd9b
Merge branch 'feature/CHECMAG2003-260' into 'develop'
DnD-Behou Nov 28, 2024
3c714e6
Bump composer.json version
Dec 31, 2024
88cdbf9
Merge branch 'release/v6.4.1' into 'master'
JuliosDnd Jan 13, 2025
334559d
Merge branch 'master' into release/v6.4.1
Jan 13, 2025
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
10 changes: 9 additions & 1 deletion Block/Cart/ApplePay.php → Block/Cart/CheckoutConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@
use Magento\Framework\Serialize\SerializerInterface;
use Magento\Framework\View\Element\Template\Context;

class ApplePay extends Onepage
class CheckoutConfig extends Onepage
{
private Cart $cart;
private ConfigProvider $checkoutComConfigProvider;
private SerializerInterface $serializer;
private Config $checkoutComConfig;

public function __construct(
Cart $cart,
Expand All @@ -62,6 +63,7 @@ public function __construct(
);
$this->cart = $cart;
$this->checkoutComConfigProvider = $checkoutComConfigProvider;
$this->checkoutComConfig = $checkoutComConfig;
$this->serializer = $serializerInterface ?: ObjectManager::getInstance()
->get(JsonHexTag::class);
}
Expand All @@ -86,4 +88,10 @@ public function getSerializedCheckoutComConfig(): string

return $this->serializer->serialize($config);
}

public function isPaypalOrApplePayEnabled(): bool
{
return $this->checkoutComConfig->getValue('active', 'checkoutcom_apple_pay')
|| $this->checkoutComConfig->getValue('active', 'checkoutcom_paypal');
}
}
51 changes: 51 additions & 0 deletions Block/Paypal/Review/PaymentMethod.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?php

declare(strict_types=1);

/**
* Checkout.com
* Authorized and regulated as an electronic money institution
* by the UK Financial Conduct Authority (FCA) under number 900816.
*
* PHP version 7
*
* @category Magento2
* @package Checkout.com
* @author Platforms Development Team <[email protected]>
* @copyright 2010-present Checkout.com
* @license https://opensource.org/licenses/mit-license.html MIT License
* @link https://docs.checkout.com/
*/
namespace CheckoutCom\Magento2\Block\Paypal\Review;

use CheckoutCom\Magento2\Model\Methods\PaypalMethod;
use Magento\Checkout\Model\Session;
use Magento\Framework\View\Element\Template;
use \Magento\Framework\View\Element\Template\Context as TemplateContext;

class PaymentMethod extends Template
{
protected Session $checkoutSession;
protected PaypalMethod $paypalMethod;

public function __construct(
TemplateContext $context,
Session $checkoutSession,
PaypalMethod $paypalMethod,
array $data = []
) {
parent::__construct($context, $data);
$this->checkoutSession = $checkoutSession;
$this->paypalMethod = $paypalMethod;
}

public function getEmail(): string
{
return (string)$this->checkoutSession->getQuote()->getCustomerEmail();
}

public function getPaymentMethod(): string
{
return (string)$this->paypalMethod->getTitle();
}
}
66 changes: 66 additions & 0 deletions Block/Paypal/Review/PlaceOrderButton.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<?php

declare(strict_types=1);

/**
* Checkout.com
* Authorized and regulated as an electronic money institution
* by the UK Financial Conduct Authority (FCA) under number 900816.
*
* PHP version 7
*
* @category Magento2
* @package Checkout.com
* @author Platforms Development Team <[email protected]>
* @copyright 2010-present Checkout.com
* @license https://opensource.org/licenses/mit-license.html MIT License
* @link https://docs.checkout.com/
*/
namespace CheckoutCom\Magento2\Block\Paypal\Review;

use CheckoutCom\Magento2\Controller\Paypal\Review;
use CheckoutCom\Magento2\Model\Methods\PaypalMethod;
use Magento\Checkout\Model\Session;
use Magento\Framework\App\RequestInterface;
use Magento\Framework\View\Element\Template;
use \Magento\Framework\View\Element\Template\Context as TemplateContext;

class PlaceOrderButton extends Template
{
protected Session $checkoutSession;
protected RequestInterface $request;
protected PaypalMethod $paypalMethod;

public function __construct(
TemplateContext $context,
Session $checkoutSession,
RequestInterface $request,
PaypalMethod $paypalMethod,
array $data = []
) {
parent::__construct($context, $data);
$this->checkoutSession = $checkoutSession;
$this->request = $request;
$this->paypalMethod = $paypalMethod;
}

public function getEmail(): string
{
return (string)$this->checkoutSession->getQuote()->getCustomerEmail();
}

public function canPlaceOrder(): bool
{
return (bool)$this->checkoutSession->getQuote()->getShippingAddress()->getShippingMethod();
}

public function getPaymentMethod(): string
{
return (string)$this->paypalMethod->getCode();
}

public function getContextId(): string
{
return (string)$this->request->getParam(Review::PAYMENT_CONTEXT_ID_PARAMETER);
}
}
163 changes: 163 additions & 0 deletions Block/Paypal/Review/ShippingAddress.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
<?php

declare(strict_types=1);

/**
* Checkout.com
* Authorized and regulated as an electronic money institution
* by the UK Financial Conduct Authority (FCA) under number 900816.
*
* PHP version 7
*
* @category Magento2
* @package Checkout.com
* @author Platforms Development Team <[email protected]>
* @copyright 2010-present Checkout.com
* @license https://opensource.org/licenses/mit-license.html MIT License
* @link https://docs.checkout.com/
*/

namespace CheckoutCom\Magento2\Block\Paypal\Review;

use CheckoutCom\Magento2\Controller\Paypal\Review;
use Magento\Checkout\Model\Session as CheckoutSession;
use Magento\Customer\Api\AddressMetadataInterface;
use Magento\Customer\Api\AddressRepositoryInterface;
use Magento\Customer\Api\Data\AddressInterfaceFactory;
use Magento\Customer\Api\Data\CustomerInterface;
use Magento\Customer\Api\Data\CustomerInterfaceFactory;
use Magento\Customer\Block\Address\Edit as CustomerAddressEdit;
use Magento\Customer\Helper\Address;
use Magento\Customer\Helper\Session\CurrentCustomer;
use Magento\Customer\Model\Address\Config as AddressConfig;
use Magento\Customer\Model\Session;
use Magento\Directory\Helper\Data;
use Magento\Directory\Model\ResourceModel\Country\CollectionFactory as CountryCollectionFactory;
use Magento\Directory\Model\ResourceModel\Region\CollectionFactory;
use Magento\Framework\Api\DataObjectHelper;
use Magento\Framework\App\Cache\Type\Config;
use Magento\Framework\App\RequestInterface;
use Magento\Framework\Exception\LocalizedException;
use Magento\Framework\Exception\NoSuchEntityException;
use Magento\Framework\Json\EncoderInterface;
use Magento\Framework\Phrase;
use Magento\Framework\UrlInterface;
use Magento\Framework\View\Element\Template\Context;
use Magento\Quote\Model\Quote\Address as QuoteAddress;

class ShippingAddress extends CustomerAddressEdit
{
protected CheckoutSession $checkoutSession;
protected AddressConfig $addressConfig;
protected CustomerInterfaceFactory $customerInterfaceFactory;
protected UrlInterface $url;
protected RequestInterface $request;

public function __construct(
Context $context,
Data $directoryHelper,
EncoderInterface $jsonEncoder,
Config $configCacheType,
CollectionFactory $regionCollectionFactory,
CountryCollectionFactory $countryCollectionFactory,
Session $customerSession,
AddressRepositoryInterface $addressRepository,
AddressInterfaceFactory $addressDataFactory,
CurrentCustomer $currentCustomer,
DataObjectHelper $dataObjectHelper,
CheckoutSession $checkoutSession,
AddressConfig $addressConfig,
CustomerInterfaceFactory $customerInterfaceFactory,
UrlInterface $url,
RequestInterface $request,
array $data = [],
AddressMetadataInterface $addressMetadata = null,
Address $addressHelper = null
) {
parent::__construct(
$context,
$directoryHelper,
$jsonEncoder,
$configCacheType,
$regionCollectionFactory,
$countryCollectionFactory,
$customerSession,
$addressRepository,
$addressDataFactory,
$currentCustomer,
$dataObjectHelper,
$data,
$addressMetadata,
$addressHelper
);

$this->addressConfig = $addressConfig;
$this->checkoutSession = $checkoutSession;
$this->customerInterfaceFactory = $customerInterfaceFactory;
$this->url = $url;
$this->request = $request;

$this->_address = $this->checkoutSession->getQuote()->getShippingAddress();
}

/**
* @throws LocalizedException
* @throws NoSuchEntityException
*/
public function getAddress(): ?QuoteAddress
{
return $this->checkoutSession->getQuote()->getShippingAddress();
}

public function getCustomer(): CustomerInterface
{
return $this->customerInterfaceFactory->create();
}

public function isDefaultBilling(): bool
{
return false;
}

public function isDefaultShipping(): bool
{
return false;
}

public function canSetAsDefaultBilling(): bool
{
return false;
}

public function canSetAsDefaultShipping(): bool
{
return false;
}

public function getCustomerAddressCount(): int
{
return 1;
}

public function getRegion(): string
{
return (string)$this->getAddress()->getRegion();
}

public function getRegionId()
{
return $this->getAddress()->getRegionId() ?? 0;
}

public function getTitle(): Phrase
{
return __('Review Order');
}

public function getSaveUrl(): string
{
return $this->url->getUrl('checkoutcom/paypal/saveExpressShippingAddress', [
Review::PAYMENT_CONTEXT_ID_PARAMETER => $this->request->getParam(Review::PAYMENT_CONTEXT_ID_PARAMETER)
]);
}
}
Loading