Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
commerce_ups
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
commerce_ups
Commits
8decbca1
Commit
8decbca1
authored
May 21, 2024
by
Dmytrii Kaiun
Committed by
Jonathan Sacksick
May 21, 2024
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3448319
: Update form keys for error.
parent
a14579be
No related branches found
No related tags found
1 merge request
!13
Issue #3448319: Update form keys for error
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Plugin/Commerce/ShippingMethod/UPS.php
+3
-3
3 additions, 3 deletions
src/Plugin/Commerce/ShippingMethod/UPS.php
with
3 additions
and
3 deletions
src/Plugin/Commerce/ShippingMethod/UPS.php
+
3
−
3
View file @
8decbca1
...
@@ -232,9 +232,9 @@ class UPS extends ShippingMethodBase implements SupportsTrackingInterface {
...
@@ -232,9 +232,9 @@ class UPS extends ShippingMethodBase implements SupportsTrackingInterface {
}
}
catch
(
\Exception
$e
)
{
catch
(
\Exception
$e
)
{
$this
->
messenger
()
$this
->
messenger
()
->
addError
(
$this
->
t
(
'Invalid
client_id or secret
specified.'
));
->
addError
(
$this
->
t
(
'Invalid
<em>Client ID</em> or <em>Client Secret</em>
specified.'
));
$form_state
->
setError
(
$form
[
'
credentials
'
][
'client_id'
]);
$form_state
->
setError
(
$form
[
'
api_information
'
][
'client_id'
]);
$form_state
->
setError
(
$form
[
'
credentials
'
][
'secret'
]);
$form_state
->
setError
(
$form
[
'
api_information
'
][
'secret'
]);
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Tom Ashe
@TomTech
mentioned in commit
e27b46ba
·
Jun 8, 2024
mentioned in commit
e27b46ba
mentioned in commit e27b46ba815d898820c4e029a042e9282d030c26
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment