Skip to content
Snippets Groups Projects
Commit 5c034a59 authored by Andy Fowlston's avatar Andy Fowlston
Browse files

Issue #3263942 by AndyF: The payment remote ID is not a string until saving

parent 255c78a2
Branches
Tags
1 merge request!9Issue #3263942: The payment remote ID isn't a string until saving
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment