-
Notifications
You must be signed in to change notification settings - Fork 2
SL-355: add Capture option to 3D Secure failure behavior setting #317
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
Merged
justelis22
merged 37 commits into
SL-353/fields-settings-licence
from
SL-355/payment-capture-3ds
Jul 9, 2026
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
b5adaaa
feat: add Capture option to 3D Secure failure behavior setting
6b92b9f
remove upgrade
4e7eb47
feat: add Order reference on payment page toggle to control Descripti…
64baef3
feat: add ConfigSet field validation, move hosted field style to gene…
a766c17
feat: add accessibility improvements for EAA compliance
54c05a0
fix(a11y): add aria-label to mobile switches and tab triggers
04934a5
fix(a11y): improve color contrast for WCAG 2.1 AA compliance
2da0b7d
fix(a11y): add aria-label to hosted field style combobox
baca7a3
fix(a11y): add focus trap to log details modal
3456d45
fix(a11y): improve contrast on SaferpayOfficial admin order buttons
a78459d
fix(a11y): add scope=col to saved cards table headers
ce8d69f
fix(a11y): improve Remove link contrast on saved cards table
634beca
revert(a11y): drop PS theme contrast overrides
3476949
fix: prevent silent save with empty or invalid API credentials
07ba05d
fix: hide Saferpay Fields section per active environment license
65152b6
fix: log license fetch failures and surface honest warning toast on save
efbf236
Merge pull request #322 from Invertus/BUGFIX/disable-save-empty-crede…
TLabutis 0fd7498
Merge pull request #323 from Invertus/BUGFIX/saferpay-fields-env-lice…
TLabutis 1c91872
Merge pull request #324 from Invertus/INTERNAL/license-fetch-warning-…
TLabutis 5338eea
fix: break out of SaferPay iframe on payment status redirect
b558f03
fix: use location.replace and guard window.top access
b94589a
BUGFIX: payment methods default to all countries/currencies and dropd…
216b7a0
Merge pull request #326 from Invertus/BUGFIX/payment-methods-all-rest…
TLabutis e0570d9
Merge pull request #325 from Invertus/BUGFIX/iframe-redirect-top-window
TLabutis 20263c3
BUGFIX: redirect customer to cart instead of order history after Safe…
bb3e081
BUGFIX: clarify Hosted field style info banner to mention Custom form…
9147de8
Merge branch 'SL-346/accessibility-eaa-compliance' into BUGFIX/abort-…
TLabutis 1319947
Merge pull request #327 from Invertus/BUGFIX/abort-redirect-secure-key
TLabutis bfab294
Merge pull request #328 from Invertus/BUGFIX/clarify-hosted-field-sty…
TLabutis 7743a2d
BUGFIX: validate Merchant Emails field on save
1c5f676
Merge pull request #329 from Invertus/BUGFIX/merchant-emails-validation
TLabutis 15841de
BUGFIX: ensure 3DS-fail behavior overrides default payment behavior
60d1e5a
BUGFIX: de-duplicate ApiRequest error logs
e1959fd
Merge remote-tracking branch 'origin/SL-358/payment-field' into SL-34…
a6e3e4d
Merge pull request #320 from Invertus/SL-346/accessibility-eaa-compli…
justelis22 2001b75
Merge pull request #319 from Invertus/SL-358/payment-field
justelis22 87bcdd1
Merge pull request #318 from Invertus/SL-356/configurable-payment-des…
justelis22 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90 changes: 0 additions & 90 deletions
90
controllers/admin/AdminSaferPayOfficialFieldsController.php
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This block of logic for handling failed liability shift is nearly identical to the code in
controllers/front/return.phpon lines 334-350. This code duplication can lead to maintenance issues, where a change in one place might be forgotten in the other.To improve maintainability, I recommend extracting this logic into a shared method. Since both
SaferPayOfficialNotifyModuleFrontControllerandSaferPayOfficialReturnModuleFrontControllerextendAbstractSaferPayController, you could add a protected method to the base class to encapsulate this shared logic.This refactoring would also be a good opportunity to improve the readability of the long
elseifcondition by breaking it down into smaller, well-named boolean variables.