Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
404 commits
Select commit Hold shift + click to select a range
6afcd3e
SQNETS-42: merge SQNETS-45 into SQNETS-42
bartoszkaluzny-solteq Jul 9, 2025
7c6c9b7
SQNETS-42: fix errors
bartoszkaluzny-solteq Jul 9, 2025
46cc9f8
SQNETS-42: fix code after merge
bartoszkaluzny-solteq Jul 9, 2025
d26c939
SQNETS-42: change names to subscription
bartoszkaluzny-solteq Jul 9, 2025
2f926ea
SQNETS-42: change names
bartoszkaluzny-solteq Jul 9, 2025
bd488eb
SQNETS-42: add carbon to requires
bartoszkaluzny-solteq Jul 9, 2025
576ea56
SQNETS-42: renames
bartoszkaluzny-solteq Jul 9, 2025
0b61e38
SQNETS-42: update setup version
bartoszkaluzny-solteq Jul 9, 2025
67c07f1
SQNETS-42: update names
bartoszkaluzny-solteq Jul 9, 2025
2392dd7
SQNETS-42: improve code
bartoszkaluzny-solteq Jul 9, 2025
fba234f
SQNETS-42: improve code
bartoszkaluzny-solteq Jul 9, 2025
10404f7
SQNETS-42: fix subscription profiles grid
bartoszkaluzny-solteq Jul 10, 2025
32a16f5
SQNETS-42: fix profiles editing
bartoszkaluzny-solteq Jul 10, 2025
57a8ea7
SQNETS-42: fix subscriptions grid
bartoszkaluzny-solteq Jul 10, 2025
89a0d40
SQNETS-34: Add check for existing authorization in PaymentReservation…
konrad-konieczny Jul 10, 2025
8e77559
SQNETS-34: Add Comment dependency to PaymentReservationCreated and lo…
konrad-konieczny Jul 10, 2025
cdf54d3
SQNETS-34: Add NotFound exception import to PaymentCreated webhook
konrad-konieczny Jul 10, 2025
6bf5709
SQNETS-34: Log Charge ID in PaymentChargeCreated webhook and refine t…
konrad-konieczny Jul 10, 2025
b52c062
SQNETS-34: Relocate order status check in PaymentChargeCreated webhoo…
konrad-konieczny Jul 10, 2025
65afe51
SQNETS-34: Add Comment dependency and log webhook receipt details fo…
konrad-konieczny Jul 11, 2025
01bef22
SQNETS-34: Fix typo in PaymentRefundCompleted webhook comment: "wit" …
konrad-konieczny Jul 11, 2025
62fb35f
SQNETS-34: Add transaction to payment for refunds, fix variable namin…
konrad-konieczny Jul 11, 2025
b79e832
SQNETS-112: Skip items with price = 0
adriansolteq Jul 11, 2025
429bf2b
SQNETS-34: Remove unused NotFound exception import and related annota…
konrad-konieczny Jul 14, 2025
020c620
SQNETS-34: Update COMPOSER_AUTH_JSON to COMPOSER_AUTH in code-validat…
konrad-konieczny Jul 14, 2025
f2623d1
SQNETS-34: Add COMPOSER_AUTH to composer validate and install steps i…
konrad-konieczny Jul 14, 2025
8ac2ee8
SQNETS-34: Add Comment dependency to webhooks and log Charge ID in Pa…
konrad-konieczny Jul 14, 2025
f400c39
SQNETS-34: Add refundId to PaymentRefundCompletedTest webhook data st…
konrad-konieczny Jul 14, 2025
bcbef20
SQNETS-42: change const name
bartoszkaluzny-solteq Jul 14, 2025
ad35e35
SQNETS-42: fix subscription_schedule attribute
bartoszkaluzny-solteq Jul 14, 2025
4cb748b
SQNETS-34: Apply consistent spacing in mock creation, enhance variabl…
konrad-konieczny Jul 14, 2025
d38dac6
SQNETS-34: Remove redundant test methods and unused imports in Paymen…
konrad-konieczny Jul 14, 2025
2bcada5
Merge pull request #44 from Solteq/SQNETS-34
konrad-konieczny Jul 14, 2025
378f77c
SQNETS-34: Refactor PaymentChargeCreated for multiline comment format…
konrad-konieczny Jul 14, 2025
4fea3bf
Merge pull request #46 from Solteq/SQNETS-34
konrad-konieczny Jul 14, 2025
5c83d6f
SQNETS-42: add subscription creation
bartoszkaluzny-solteq Jul 14, 2025
37fcb69
SQNETS-42: fix admin subscription view
bartoszkaluzny-solteq Jul 14, 2025
7712cea
SQNETS-42: fix some comments
bartoszkaluzny-solteq Jul 14, 2025
d5818df
SQNETS-42: add code-validation
bartoszkaluzny-solteq Jul 14, 2025
99402e7
Merge pull request #45 from Solteq/SQNETS-112
adriansolteq Jul 14, 2025
00c6cbe
SQNETS-107 - Fix amounts when discount is applied
adriansolteq Jul 15, 2025
ba85623
SQNETS-42: fix some comments
bartoszkaluzny-solteq Jul 15, 2025
b1e3b19
SQNETS-42: fix file formatting
bartoszkaluzny-solteq Jul 15, 2025
479f40b
Merge branch 'develop-2.0.0' into SQNETS-42
bartoszkaluzny-solteq Jul 15, 2025
d411ee1
SQNETS-42: fix comment
bartoszkaluzny-solteq Jul 15, 2025
d4dc91c
SQNETS-42: fix copilot comments
bartoszkaluzny-solteq Jul 15, 2025
97ba156
SQNETS-103: Add `connect-src` policy with dibspayment host to CSP whi…
konrad-konieczny Jul 15, 2025
df8613c
Merge pull request #50 from Solteq/SQNETS-103
konrad-konieczny Jul 16, 2025
8beeb03
SQNETS-103: Remove unused theme configuration in Nexi Checkout embedd…
konrad-konieczny Jul 16, 2025
63c24ec
Merge pull request #51 from Solteq/SQNETS-103
konrad-konieczny Jul 16, 2025
c3da6a9
SQNETS-104: add locale to embedded checkout
konrad-konieczny Jul 16, 2025
7ee9af6
Revert change to set order state as payment_review when payment id is…
adriansolteq Jul 17, 2025
3397fa4
SQNETS-42: remove selected_token
bartoszkaluzny-solteq Jul 18, 2025
8930db6
develop-2.0.0-solteq: Add strict types declarations across Nexi Check…
konrad-konieczny Jul 18, 2025
ce34ae3
SQNETS-42: create subscription command
bartoszkaluzny-solteq Jul 18, 2025
1bd8d6b
SQNETS-42: fix notify command
bartoszkaluzny-solteq Jul 18, 2025
7941b04
SQNETS-42: improve order biller
bartoszkaluzny-solteq Jul 21, 2025
14bc30b
SQNETS-102: Add Void command to cancel payment
adriansolteq Jul 21, 2025
acd8d97
SQNETS-102: Add plugin to prevent voiding of captured orders
adriansolteq Jul 21, 2025
4f13351
SQNETS-55: change nexi logo
bartoszkaluzny-solteq Jul 21, 2025
4671dde
SQNETS-102: Set authorized amount on payment
adriansolteq Jul 21, 2025
104f971
SQNETS-102: Specify missing type
adriansolteq Jul 21, 2025
47872b1
SQNETS-102: Update unit test
adriansolteq Jul 21, 2025
0aa3a21
Merge pull request #52 from Solteq/SQNETS-104
konrad-konieczny Jul 22, 2025
b1be30f
SQNETS-36: Add amount details to PaymentRefundCompleted comments and …
konrad-konieczny Jul 22, 2025
21d5fda
SQNETS-36: Handle zero shipping amount in SalesDocumentItemsBuilder a…
konrad-konieczny Jul 23, 2025
ff1f99a
SQNETS-36: Simplify full refund condition in PaymentRefundCompleted
konrad-konieczny Jul 23, 2025
b02281b
SQNETS-36: Remove unused mock expectations and ensure `canCreditmemo`…
konrad-konieczny Jul 23, 2025
4d68cde
Merge pull request #55 from Solteq/SQNETS-102
adriansolteq Jul 23, 2025
9a0b5ad
Merge pull request #53 from Solteq/SQNETS-80
adriansolteq Jul 23, 2025
3e43dc2
Merge pull request #47 from Solteq/SQNETS-107
adriansolteq Jul 23, 2025
1712226
SQNETS-102 - add cancel command
adriansolteq Jul 23, 2025
d348408
Merge pull request #56 from Solteq/SQNETS-36
konrad-konieczny Jul 23, 2025
52af809
SQNETS-42: improve code
bartoszkaluzny-solteq Jul 24, 2025
2d68b6b
SQNETS-42: improve code
bartoszkaluzny-solteq Jul 24, 2025
ba9a89d
Merge remote-tracking branch 'origin/develop-2.0.0' into SQNETS-42
bartoszkaluzny-solteq Jul 24, 2025
10d036f
SQNETS-42: charge subscription
bartoszkaluzny-solteq Jul 24, 2025
fef919b
SQNETS-42: remove subscription creation
bartoszkaluzny-solteq Jul 24, 2025
1d97e7e
SQNETS-42: update SubscriptionLinkRepository
bartoszkaluzny-solteq Jul 24, 2025
bf028b0
SQNETS-42: sync initialize.php
bartoszkaluzny-solteq Jul 24, 2025
5585764
SQNETS-108: Replace CartRevokeObserver with ReactivateQuoteObserver, …
konrad-konieczny Jul 24, 2025
199fee7
SQNETS-108: Replace CartRevokeObserver with ReactivateQuoteObserver a…
konrad-konieczny Jul 24, 2025
83e63f4
Merge remote-tracking branch 'origin-solteq/develop-2.0.0' into SQNET…
konrad-konieczny Jul 24, 2025
61bbd98
SQNETS-108: Add missing `getPayment` mock expectation in PaymentReser…
konrad-konieczny Jul 24, 2025
9a05d29
SQNETS-42: add subscription_id to nexi_subscriptions table
bartoszkaluzny-solteq Jul 25, 2025
db4a4fc
SQNETS-108: Refactor CheckoutSession to use OrderFactory, introduce c…
konrad-konieczny Jul 25, 2025
d7104a5
SQNETS-108: Make `NEXI_LAST_ORDER_ID` constant public in ReactivateQu…
konrad-konieczny Jul 25, 2025
de6075b
Update etc/di.xml
konrad-konieczny Jul 25, 2025
b47db76
Update Plugin/CheckoutSession.php
konrad-konieczny Jul 25, 2025
1c8bc26
SQNETS-141: Refactor webhook classes to enhance comment clarity, remo…
konrad-konieczny Jul 25, 2025
8aaa296
SQNETS-108: Add strict types declaration to CheckoutSession plugin
konrad-konieczny Jul 25, 2025
71b8f5b
SQNETS-108: Update code validation workflow to support PHP 8.4 and bu…
konrad-konieczny Jul 25, 2025
b5a09f7
Merge pull request #58 from Solteq/SQNETS-108
konrad-konieczny Jul 25, 2025
4b02d86
Merge branch 'refs/heads/origin-solteq_develop-2.0.0' into SQNETS-141
konrad-konieczny Jul 25, 2025
fee2d04
SQNETS-141: Remove redundant payment mock expectations in webhook uni…
konrad-konieczny Jul 25, 2025
6715861
Update Model/Webhook/PaymentChargeCreated.php
konrad-konieczny Jul 25, 2025
9941915
SQNETS-104: Refactor locale handling by introducing `Language` model …
konrad-konieczny Jul 25, 2025
8e3330e
Merge branch 'refs/heads/origin-solteq_develop-2.0.0' into SQNETS-104
konrad-konieczny Jul 25, 2025
34dd3e6
SQNETS-104: Add 'en-GB' locale support and remove unused logger depen…
konrad-konieczny Jul 28, 2025
2442009
Merge pull request #59 from Solteq/SQNETS-141
konrad-konieczny Jul 28, 2025
cf84054
Merge pull request #57 from Solteq/SQNETS-102
adriansolteq Jul 28, 2025
c9ad63c
SQNETS-144: Refactor PaymentRefundCompleted to improve transaction ha…
konrad-konieczny Jul 28, 2025
1304c56
SQNETS-144: Refactor PaymentRefundCompleted to rename methods for cla…
konrad-konieczny Jul 28, 2025
a31bc7d
SQNETS-144: Adjust refund validation logic in PaymentRefundCompleted …
konrad-konieczny Jul 28, 2025
dd722bb
SQNETS-129 - add source without -- Please Select -- option
adriansolteq Jul 29, 2025
6641b43
Merge pull request #61 from Solteq/SQNETS-144
konrad-konieczny Jul 29, 2025
6f8135d
Merge pull request #60 from Solteq/SQNETS-104
konrad-konieczny Jul 29, 2025
cc278f2
SQNETS-42: add nexi_subcription_id to nexi_subscriptions table
bartoszkaluzny-solteq Jul 29, 2025
036e893
SQNETS-42: validate cloned order
bartoszkaluzny-solteq Jul 29, 2025
a8719e3
SQNETS-42: improve code
bartoszkaluzny-solteq Jul 29, 2025
3318465
SQNETS-42: comment code
bartoszkaluzny-solteq Jul 29, 2025
ff0d5ca
SQNETS-140: standarize webhook comments
konrad-konieczny Jul 29, 2025
2f2f783
SQNETS-140: Update PaymentChargeCreated to refine webhook comments fo…
konrad-konieczny Jul 29, 2025
46e4cf9
SQNETS-140: Rename `currencyCode` to `currency` in PaymentChargeCreat…
konrad-konieczny Jul 29, 2025
811575f
SQNETS-81: Disable Nexi payment method for admin-placed orders
adriansolteq Jul 29, 2025
e4a0c60
SQNETS-140: SQNETS-140: Include amount and currency in webhook commen…
konrad-konieczny Jul 29, 2025
6b4cd0c
Update Model/Webhook/PaymentRefundCompleted.php
konrad-konieczny Jul 29, 2025
49330c6
Update Model/Webhook/PaymentCreated.php
konrad-konieczny Jul 29, 2025
4644fa4
Merge branch 'develop-2.0.0' into SQNETS-42
bartoszkaluzny-solteq Jul 29, 2025
3a88f0f
SQNETS-42: fix My Subscriptions view
bartoszkaluzny-solteq Jul 29, 2025
e5199e0
SQNETS-108: Remove redundant quote restoration logic in PaymentValida…
konrad-konieczny Jul 29, 2025
eae5f4f
SQNETS-42: remove Token from ShowSubscriptionDataProvider
bartoszkaluzny-solteq Jul 29, 2025
0367282
SQNETS-140: Fix order of amount and currency in webhook comments for …
konrad-konieczny Jul 29, 2025
74e73e2
SQNETS-42: fix typo in workflows
bartoszkaluzny-solteq Jul 29, 2025
802dea0
SQNETS-42: fix tests
bartoszkaluzny-solteq Jul 29, 2025
4eb4ae3
SQNETS-42: remove credit cards integration and vault
bartoszkaluzny-solteq Jul 29, 2025
d3f7302
SQNETS-42: remove token reference
bartoszkaluzny-solteq Jul 29, 2025
53865cd
SQNETS-42: add declare strict_types
bartoszkaluzny-solteq Jul 29, 2025
4ea55ae
SQNETS-42: remove unnecessary files
bartoszkaluzny-solteq Jul 29, 2025
30c5dda
SQNETS-42: fix code-validation comments
bartoszkaluzny-solteq Jul 29, 2025
50d5495
SQNETS-42: fix admin profiles view
bartoszkaluzny-solteq Jul 29, 2025
9904e9b
SQNETS-42: remove reset button from profiles
bartoszkaluzny-solteq Jul 29, 2025
a36be78
SQNETS-42: fix admin subscription view
bartoszkaluzny-solteq Jul 29, 2025
7499756
SQNETS-42: fix My Subscriptions customer view
bartoszkaluzny-solteq Jul 29, 2025
0f251ee
SQNETS-42: fix order view from My Subscriptions
bartoszkaluzny-solteq Jul 29, 2025
87e8a9e
Merge pull request #64 from Solteq/SQNETS-81
adriansolteq Jul 30, 2025
199374e
Merge pull request #63 from Solteq/SQNETS-140
konrad-konieczny Jul 30, 2025
ae0b59f
SQNETS-42: remove NexiLogger
bartoszkaluzny-solteq Jul 30, 2025
babde5d
SQNETS-42: fix some review comments
bartoszkaluzny-solteq Jul 30, 2025
a661957
SQNETS-42: refactor builder
bartoszkaluzny-solteq Jul 30, 2025
d89105a
SQNETS-42: fix some review comments
bartoszkaluzny-solteq Jul 30, 2025
3027451
SQNETS-42: improve code
bartoszkaluzny-solteq Jul 30, 2025
c384b0d
SQNETS-42: remove unnecessary Receipt classes
bartoszkaluzny-solteq Jul 30, 2025
5e27d6c
SQNETS-42: fix some review comments
bartoszkaluzny-solteq Jul 30, 2025
981ab6c
SQNETS-42: fix some review comments
bartoszkaluzny-solteq Jul 30, 2025
2d80d91
SQNETS-42: add empty lines before return statement
bartoszkaluzny-solteq Jul 30, 2025
4de2b10
SQNETS-42: add empty lines and change block to escaper
bartoszkaluzny-solteq Jul 30, 2025
c2d4720
SQNETS-42: remove unnecessary return statement
bartoszkaluzny-solteq Jul 30, 2025
6fa48f1
Merge branch 'develop-2.0.0' into SQNETS-42
bartoszkaluzny-solteq Jul 30, 2025
8e0541d
SQNETS-42: resolve conflicts
bartoszkaluzny-solteq Jul 30, 2025
d2f09c0
SQNETS-42: remove unnecessary classes
bartoszkaluzny-solteq Jul 30, 2025
d3d6574
SQNETS-42: remove unnecessary class
bartoszkaluzny-solteq Jul 30, 2025
41b1ade
SQNETS-129: add comment
adriansolteq Jul 31, 2025
fa27c7a
SQNETS-42: fix subscription interval for Nexi
bartoszkaluzny-solteq Jul 31, 2025
add8adb
Merge pull request #34 from Solteq/SQNETS-42
bartoszkaluzny-solteq Jul 31, 2025
da23753
SQNETS-135: Add payType splitting option and enhance payment method s…
konrad-konieczny Aug 1, 2025
5400cf2
Merge remote-tracking branch 'origin-solteq/develop-2.0.0' into SQNET…
konrad-konieczny Aug 1, 2025
9a53c76
SQNTES-42: fix subscription interval
bartoszkaluzny-solteq Aug 1, 2025
3347037
SQNETS-42: force int for Carbon methods
bartoszkaluzny-solteq Aug 1, 2025
8866f61
SQNETS-135: Implement pay type splitting and extend payment data hand…
konrad-konieczny Aug 1, 2025
c0f3800
SQNETS-42: fix code-validation comments
bartoszkaluzny-solteq Aug 4, 2025
ac8a9c5
SQNETS-107: Fix amounts calculation when discount is applied
adriansolteq Aug 4, 2025
273fd30
SQNETS-107: Add missing comments in the class
adriansolteq Aug 4, 2025
8f04cfc
Merge pull request #66 from Solteq/SQNETS-42
bartoszkaluzny-solteq Aug 4, 2025
8e3077e
SQNETS-42: fix delete action
bartoszkaluzny-solteq Aug 5, 2025
1db1388
SQNETS-42: fix stop schedule action
bartoszkaluzny-solteq Aug 5, 2025
2f88049
SQNETS-42: add validation for undefined value
bartoszkaluzny-solteq Aug 5, 2025
7a43511
Merge pull request #62 from Solteq/SQNETS-129
adriansolteq Aug 5, 2025
36f7d7d
SQNETS-145: cancel order on cancel payment
bartoszkaluzny-solteq Aug 5, 2025
f4810be
SQNETS-42: fix code-validation comments
bartoszkaluzny-solteq Aug 5, 2025
7eef6a3
SQNETS-145: improve code
bartoszkaluzny-solteq Aug 5, 2025
6c481ce
SQNETS-145: add orderManagementInferfaceMock to test
bartoszkaluzny-solteq Aug 5, 2025
b62fc16
SQNETS-145: fix code-validation comments
bartoszkaluzny-solteq Aug 5, 2025
86c4eea
Merge pull request #68 from Solteq/SQNETS-42
bartoszkaluzny-solteq Aug 6, 2025
d09f2f9
Merge pull request #69 from Solteq/SQNETS-145
bartoszkaluzny-solteq Aug 6, 2025
a92de1a
SQNETS-135: Implement pay type splitting and extend payment data hand…
konrad-konieczny Aug 6, 2025
e2b3dd3
SQNETS-148: Simplify webhook logging by reducing logged parameters
konrad-konieczny Aug 6, 2025
4c8b076
SQNETS-148: Refactor webhook handlers to extract comment logic into r…
konrad-konieczny Aug 6, 2025
49d6ed3
Merge branch 'develop-2.0.0' into SQNETS-55
bartoszkaluzny-solteq Aug 6, 2025
691e97e
SQNETS-148: Refactor WebhookDataLoader exception handling, streamline…
konrad-konieczny Aug 6, 2025
43378bc
SQNETS-148: Remove unnecessary null coalescing operator for paymentId…
konrad-konieczny Aug 6, 2025
89f9cb5
SQNETS-155: Add `Config` dependency to `Initialize` and enhance embed…
konrad-konieczny Aug 6, 2025
d812594
Update Model/Webhook/PaymentReservationCreated.php
konrad-konieczny Aug 6, 2025
c444c58
Merge pull request #70 from Solteq/SQNETS-148
konrad-konieczny Aug 6, 2025
c897749
Merge remote-tracking branch 'origin-solteq/develop-2.0.0' into SQNET…
konrad-konieczny Aug 6, 2025
fe12318
SQNETS-155: Extend `InitializeTest` to include `Config` mock for impr…
konrad-konieczny Aug 6, 2025
e011883
SQNETS-55: improve payment details on admin order view
bartoszkaluzny-solteq Aug 6, 2025
597e5d4
SQNETS-55: remove unnecessary change
bartoszkaluzny-solteq Aug 6, 2025
86fbe27
SQNETS-55: remove commented code
bartoszkaluzny-solteq Aug 6, 2025
244ba2b
Merge branch 'develop-2.0.0' into SQNETS-55
bartoszkaluzny-solteq Aug 6, 2025
433f717
SQNETS-55: fix code-validation comments
bartoszkaluzny-solteq Aug 6, 2025
be273ca
SQNETS-55: fix formatting
bartoszkaluzny-solteq Aug 6, 2025
5d0428c
Merge pull request #54 from Solteq/SQNETS-55
bartoszkaluzny-solteq Aug 6, 2025
d89fe7c
SQNETS-56: improve payment details for customer order view
bartoszkaluzny-solteq Aug 6, 2025
8af2a07
SQNETS-56: fix code-validation comments
bartoszkaluzny-solteq Aug 6, 2025
8924199
Merge pull request #71 from Solteq/SQNETS-155
konrad-konieczny Aug 6, 2025
e7b3d9d
Merge pull request #65 from Solteq/SQNETS-108
konrad-konieczny Aug 6, 2025
48b9106
Merge pull request #67 from Solteq/SQNETS-107
adriansolteq Aug 7, 2025
7f673b9
SQNETS-135: add pay type options filtering for subscriptions
konrad-konieczny Aug 7, 2025
7dd643a
Merge pull request #72 from Solteq/SQNETS-56
bartoszkaluzny-solteq Aug 7, 2025
66f2a4c
SQNETS-56: improve code
bartoszkaluzny-solteq Aug 7, 2025
41fcd7a
Merge pull request #73 from Solteq/SQNETS-56
bartoszkaluzny-solteq Aug 7, 2025
ce00829
SQNETS-135: Enhance payment method handling: add new credit card type…
konrad-konieczny Aug 7, 2025
ffc99e3
SQNETS-135: Simplify credit card types, update payment method icons, …
konrad-konieczny Aug 8, 2025
c86e318
SQNETS-135: Add Nexi Checkout cleanup method, refine payment method s…
konrad-konieczny Aug 8, 2025
2db84c0
SQNETS-135: add check to skip rendering iframe if not active
konrad-konieczny Aug 8, 2025
69bb1f0
Merge remote-tracking branch 'origin-solteq/develop-2.0.0' into SQNET…
konrad-konieczny Aug 8, 2025
95bd150
Merge remote-tracking branch 'refs/remotes/origin-solteq/develop-2.0.…
konrad-konieczny Aug 8, 2025
e35c015
Update view/frontend/web/js/view/payment/method-renderer/nexi-method.js
konrad-konieczny Aug 8, 2025
f30420c
develop-2.0.0-sq: Add strict types declarations across Nexi Checkout …
konrad-konieczny Aug 8, 2025
2bdfc20
develop-2.0.0-sq: Remove redundant blank line in Retrieve handler class
konrad-konieczny Aug 8, 2025
587252d
develop-2.0.0-sq: Add `void` return type declaration to `createPaymen…
konrad-konieczny Aug 8, 2025
081eea8
develop-2.0.0-sq: Change methods `getProductsData` and `createItemBas…
konrad-konieczny Aug 8, 2025
ce9895a
develop-2.0.0-sq: Remove unused imports and refactor `initialize` met…
konrad-konieczny Aug 8, 2025
b97ee8e
develop-2.0.0-sq: Refactor `initialize` method to enforce `PaymentInt…
konrad-konieczny Aug 8, 2025
b357300
develop-2.0.0-sq: Update comment in `PaymentChargeCreated` to reflect…
konrad-konieczny Aug 8, 2025
bf63ef6
develop-2.0.0-sq: Change `calculateTaxRate` and `calculateShippingTax…
konrad-konieczny Aug 8, 2025
ff313b6
develop-2.0.0-sq: Refactor `PaymentValidate` class: remove unused `Pa…
konrad-konieczny Aug 8, 2025
ba48248
develop-2.0.0-sq: Refactor webhook methods: remove unused exception d…
konrad-konieczny Aug 8, 2025
967ae00
Merge remote-tracking branch 'origin/develop-2.0.0-sq' into origin-so…
konrad-konieczny Aug 11, 2025
ea031b8
origin-solteq_develop-2.0.0: Remove redundant expectations for order …
konrad-konieczny Aug 11, 2025
68d6db4
Merge branch 'origin-solteq_develop-2.0.0' into SQNETS-135
konrad-konieczny Aug 11, 2025
5fffe03
SQNETS-135: Refactor GlobalRequestBuilder: change public methods to p…
konrad-konieczny Aug 11, 2025
9bee93c
SQNETS-135: Enhance code quality: add strict types, improve method si…
konrad-konieczny Aug 11, 2025
77e0f4d
SQNETS-135: Refactor payment interfaces and update initialization log…
konrad-konieczny Aug 11, 2025
cbd1e2f
SQNETS-135: Update PaymentValidateInterface: add paymentId parameter …
konrad-konieczny Aug 11, 2025
f2bde2c
SQNETS-135: remove debug ngrok url
konrad-konieczny Aug 12, 2025
becd2f9
Merge pull request #74 from Solteq/SQNETS-135
konrad-konieczny Aug 12, 2025
c4fee3d
SQNETS-159: Refactor payment initialization: rename parameter for cla…
konrad-konieczny Aug 12, 2025
1853e49
SQNETS-159: Update error message in payment validation: clarify excep…
konrad-konieczny Aug 12, 2025
47dfd87
SQNETS-153: enable subscriptions configuration for website scope
bartoszkaluzny-solteq Aug 14, 2025
4ddb93b
Merge pull request #76 from Solteq/SQNETS-153
bartoszkaluzny-solteq Aug 14, 2025
fd053df
SQNETS-56: add payment info into customer invoice print
bartoszkaluzny-solteq Aug 14, 2025
bc8130c
SQNETS-56: fix code-validation comment
bartoszkaluzny-solteq Aug 14, 2025
b86bae2
develop-2.0.0-sq: Remove redundant expectations for order increment I…
konrad-konieczny Aug 14, 2025
ab6bf5a
Merge pull request #75 from Solteq/SQNETS-159
konrad-konieczny Aug 18, 2025
d0ce0a0
SQNETS-167: Add `frame-src` CSP policy for *.dibspayment.eu in `csp_w…
konrad-konieczny Aug 18, 2025
3e4072f
Merge pull request #78 from Solteq/SQNETS-167
konrad-konieczny Aug 18, 2025
9197dee
Merge pull request #77 from Solteq/SQNETS-56
bartoszkaluzny-solteq Aug 18, 2025
133a2b5
SQNETS-168: fix stop subscription by customer
bartoszkaluzny-solteq Aug 18, 2025
95d04a6
Merge pull request #79 from Solteq/SQNETS-168
bartoszkaluzny-solteq Aug 18, 2025
6854906
SQNETS-162: Refactor webhooks to use `WebhookInterface` for improved …
konrad-konieczny Aug 18, 2025
c5dffd0
SQNETS-162: Refactor webhooks to utilize strongly typed data models, …
konrad-konieczny Aug 18, 2025
f360203
SQNETS-162: Minor refactor to improve code formatting for consistency…
konrad-konieczny Aug 18, 2025
8963d29
SQNETS-162: Fix minor formatting issue in PaymentCreated webhook for …
konrad-konieczny Aug 18, 2025
c420937
SQNETS-162: Update PaymentChargeCreated webhook to include detailed p…
konrad-konieczny Aug 18, 2025
cdd6f4d
SQNETS-162: Simplify test expectations in PaymentChargeCreated unit t…
konrad-konieczny Aug 18, 2025
2543e3c
Merge branch 'SQNETS-162' into develop-2.0.0-sq
konrad-konieczny Aug 19, 2025
2ae51db
Merge remote-tracking branch 'origin-solteq/develop-2.0.0' into devel…
konrad-konieczny Aug 20, 2025
d043ec1
origin-solteq_develop-2.0.0: Update `composer.json` to require `php-p…
konrad-konieczny Aug 20, 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
24 changes: 22 additions & 2 deletions .github/workflows/code-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
matrix:
node-version:
- 20
php-version: ["8.1", "8.2", "8.3"]
php-version: ["8.1", "8.2", "8.3", "8.4"]
dependencies:
- "highest"
composer-options:
Expand All @@ -59,7 +59,7 @@ jobs:
ini-file: development
tools: composer:2.2, cs2pr
env:
COMPOSER_AUTH_JSON: |
COMPOSER_AUTH: |
{
"http-basic": {
"repo.magento.com": {
Expand All @@ -70,11 +70,31 @@ jobs:
}
- name: Validate Composer Files
run: composer validate
env:
COMPOSER_AUTH: |
{
"http-basic": {
"repo.magento.com": {
"username": "${{ secrets.REPO_MAGENTO_USER }}",
"password": "${{ secrets.REPO_MAGENTO_PASSWORD }}"
}
}
}
- name: Run Composer install
uses: "ramsey/composer-install@v1"
with:
dependency-versions: "${{ matrix.dependencies }}"
composer-options: "${{ matrix.composer-options }}"
env:
COMPOSER_AUTH: |
{
"http-basic": {
"repo.magento.com": {
"username": "${{ secrets.REPO_MAGENTO_USER }}",
"password": "${{ secrets.REPO_MAGENTO_PASSWORD }}"
}
}
}
- name: Detect PhpCs violations
run: |
vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/,../../phpcompatibility/php-compatibility,../../magento/php-compatibility-fork
Expand Down
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

# Playwright
node_modules/
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
auth.json
.github
.idea
172 changes: 172 additions & 0 deletions Api/Data/SubscriptionInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
<?php
declare(strict_types=1);

namespace Nexi\Checkout\Api\Data;

interface SubscriptionInterface
{
public const FIELD_ENTITY_ID = 'entity_id';
public const FIELD_CUSTOMER_ID = 'customer_id';
public const FIELD_STATUS = 'status';
public const FIELD_NEXT_ORDER_DATE = 'next_order_date';
public const FIELD_RECURRING_PROFILE_ID = 'recurring_profile_id';
public const FIELD_UPDATED_AT = 'updated_at';
public const FIELD_END_DATE = 'end_date';
public const FIELD_REPEAT_COUNT_LEFT = 'repeat_count_left';
public const FIELD_RETRY_COUNT = 'retry_count';
public const FIELD_NEXI_SUBSCRIPTION_ID = 'nexi_subscription_id';
public const STATUS_PENDING_PAYMENT = 'pending_payment';
public const STATUS_ACTIVE = 'active';
public const STATUS_CLOSED = 'closed';
public const STATUS_FAILED = 'failed';
public const STATUS_RESCHEDULED = 'rescheduled';

public const CLONEABLE_STATUSES = [
self::STATUS_ACTIVE,
self::STATUS_RESCHEDULED,
];

/**
* Get ID.
*
* @return int
*/
public function getId();

/**
* Get customer ID.
*
* @return int
*/
public function getCustomerId();

/**
* Get status.
*
* @return string
*/
public function getStatus(): string;

/**
* Get next order date.
*
* @return string
*/
public function getNextOrderDate(): string;

/**
* Get recurring profile ID.
*
* @return int
*/
public function getRecurringProfileId(): int;

/**
* Get updated at value.
*
* @return string
*/
public function getUpdatedAt(): string;

/**
* Get repeat count left value.
*
* @return int
*/
public function getRepeatCountLeft(): int;

/**
* Get retry count value.
*
* @return int
*/
public function getRetryCount(): int;

/**
* Get nexi subscription ID.
*
* @return string
*/
public function getNexiSubscriptionId(): string;

/**
* Set ID.
*
* @param int $entityId
*
* @return $this
*/
public function setId(int $entityId): self;

/**
* Set customer ID.
*
* @param int $customerId
*
* @return $this
*/
public function setCustomerId(int $customerId): self;

/**
* Set status.
*
* @param string $status
*
* @return $this
*/
public function setStatus(string $status): self;

/**
* Set next order date.
*
* @param string $date
*
* @return $this
*/
public function setNextOrderDate(string $date): self;

/**
* Set recurring profile ID.
*
* @param int $profileId
*
* @return $this
*/
public function setRecurringProfileId(int $profileId): self;

/**
* Set updated at value.
*
* @param string $updatedAt
*
* @return $this
*/
public function setUpdatedAt(string $updatedAt): self;

/**
* Set repeat count left value. How many times payment will be processed before it ends.
*
* @param int $count
*
* @return $this
*/
public function setRepeatCountLeft(int $count): self;

/**
* Set retry count value. How many times a failed payment has been retried.
*
* @param int $count
*
* @return $this
*/
public function setRetryCount(int $count): self;

/**
* Set nexi subscription ID.
*
* @param string $subscriptionId
*
* @return self
*/
public function setNexiSubscriptionId(string $subscriptionId): self;
}
56 changes: 56 additions & 0 deletions Api/Data/SubscriptionLinkInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?php
declare(strict_types=1);

namespace Nexi\Checkout\Api\Data;

interface SubscriptionLinkInterface
{
public const FIELD_LINK_ID = 'link_id';
public const FIELD_ORDER_ID = 'order_id';
public const FIELD_SUBSCRIPTION_ID = 'subscription_id';

/**
* Get ID.
*
* @return int
*/
public function getId();

/**
* Get order ID.
*
* @return string
*/
public function getOrderId();

/**
* Get subscription ID.
*
* @return string
*/
public function getSubscriptionId();

/**
* Set ID.
*
* @param string $linkId
* @return $this
*/
public function setId($linkId): self;

/**
* Set order ID.
*
* @param string $orderId
* @return $this
*/
public function setOrderId($orderId): self;

/**
* Set subscription ID.
*
* @param string $subscriptionId
* @return $this
*/
public function setSubscriptionId($subscriptionId): self;
}
22 changes: 22 additions & 0 deletions Api/Data/SubscriptionLinkSearchResultInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php
declare(strict_types=1);

namespace Nexi\Checkout\Api\Data;

interface SubscriptionLinkSearchResultInterface extends \Magento\Framework\Api\SearchResultsInterface
{
/**
* Get items.
*
* @return \Nexi\Checkout\Api\Data\SubscriptionLinkInterface[] Array of collection items.
*/
public function getItems();

/**
* Set items.
*
* @param \Nexi\Checkout\Api\Data\SubscriptionLinkInterface[] $items
* @return $this
*/
public function setItems(array $items = null);
}
72 changes: 72 additions & 0 deletions Api/Data/SubscriptionProfileInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?php
declare(strict_types=1);

namespace Nexi\Checkout\Api\Data;

interface SubscriptionProfileInterface
{
public const FIELD_PROFILE_ID = 'profile_id';
public const FIELD_NAME = 'name';
public const FIELD_DESCRIPTION = 'description';
public const FIELD_SCHEDULE = 'schedule';

/**
* Get ID.
*
* @return int
*/
public function getId();

/**
* Get name.
*
* @return string
*/
public function getName();

/**
* Get description.
*
* @return string
*/
public function getDescription();

/**
* Get schedule.
*
* @return string
*/
public function getSchedule();

/**
* Set ID.
*
* @param int $profileId
* @return $this
*/
public function setId($profileId): self;

/**
* Set name.
*
* @param string $name
* @return $this
*/
public function setName($name): self;

/**
* Set description.
*
* @param string $description
* @return $this
*/
public function setDescription($description): self;

/**
* Set schedule.
*
* @param string $schedule
* @return $this
*/
public function setSchedule($schedule): self;
}
Loading
Loading