Skip to content

Commit

Permalink
Merge pull request #1 from arturasfio/master
Browse files Browse the repository at this point in the history
  • Loading branch information
eivydas authored Sep 3, 2018
2 parents e816da1 + 671c892 commit 2a24af3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.idea/
.vscode/
/modules/gateways/cardinity/vendor
/modules/gateways/cardinity/composer.lock

1 change: 1 addition & 0 deletions modules/gateways/callback/cardinity.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
$invoiceId,
$transactionId,
$result->getAmount(),
0, // Payment Fee
$gatewayModuleName
);
}
Expand Down
2 changes: 1 addition & 1 deletion modules/gateways/cardinity.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ function cardinity_capture($params)
$htmlOutput .= '<input type="hidden" name="PaReq" value="' . $pareq . '" />';
$htmlOutput .= '<input type="hidden" name="TermUrl" value="' . $termurl . '"/>';
$htmlOutput .= '<input type="hidden" name="MD" value="' . $md . '"/>';
$htmlOutput .= '<input type="submit" value="Submit" />';
$htmlOutput .= '<input type="submit" value="Submit" style="visibility:hidden;"/>';
$htmlOutput .= '</form>';
$htmlOutput .= '<script type="text/javascript">document.getElementById("3dsecureform").submit();</script>';

Expand Down

0 comments on commit 2a24af3

Please sign in to comment.