Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
commerce_elavon
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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
commerce_elavon
Commits
5c034a59
Commit
5c034a59
authored
3 years ago
by
Andy Fowlston
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3263942
by AndyF: The payment remote ID is not a string until saving
parent
255c78a2
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!9
Issue #3263942: The payment remote ID isn't a string until saving
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Plugin/Commerce/PaymentGateway/Onsite.php
+1
-1
1 addition, 1 deletion
src/Plugin/Commerce/PaymentGateway/Onsite.php
with
1 addition
and
1 deletion
src/Plugin/Commerce/PaymentGateway/Onsite.php
+
1
−
1
View file @
5c034a59
...
...
@@ -151,7 +151,7 @@ class Onsite extends OnsitePaymentGatewayBase implements OnsiteInterface {
// The remote ID returned by the request.
$next_state
=
$capture
?
'completed'
:
'authorization'
;
$payment
->
setState
(
$next_state
);
$payment
->
setRemoteId
(
$responseXml
->
ssl_txn_id
);
$payment
->
setRemoteId
(
(
string
)
$responseXml
->
ssl_txn_id
);
$payment
->
save
();
}
else
{
...
...
This diff is collapsed.
Click to expand it.
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
register
or
sign in
to comment