You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The confirmOrderReference function expects an 'authorization_amount' parameter.
You're setting this index for the authorize function in $authorizeParameters, but the confirmOrderReference will always return a Draft status without that parameter. If the status is "Draft", the authorize() function is never called, because of the condition in line 1428 if ($oroStatus['State'] === 'Open') {
I added this @ line 1368 and it worked fine:
$confirmParameters['authorization_amount'] = $requestParameters['charge_amount'];
Let me know if you need any more explanation.
The text was updated successfully, but these errors were encountered:
The confirmOrderReference function expects an 'authorization_amount' parameter.
You're setting this index for the authorize function in $authorizeParameters, but the confirmOrderReference will always return a Draft status without that parameter. If the status is "Draft", the authorize() function is never called, because of the condition in line 1428
if ($oroStatus['State'] === 'Open') {
I added this @ line 1368 and it worked fine:
$confirmParameters['authorization_amount'] = $requestParameters['charge_amount'];
Let me know if you need any more explanation.
The text was updated successfully, but these errors were encountered: