Skip to content

Commit

Permalink
Fix demo typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Bailey committed Feb 4, 2016
1 parent 8988c38 commit bda6dbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions demos/paymentDirect/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@

</head>
<body style="margin: 10px;">
<a href="index.php?mode=JS">Using JavaSctipt Kit</a> &nbsp;&nbsp;&nbsp;
<a href="index.php?mode=nonJS">Without JavaSctipt</a>
<a href="index.php?mode=JS">Using JavaScript Kit</a> &nbsp;&nbsp;&nbsp;
<a href="index.php?mode=nonJS">Without JavaScript</a>
<br />

<?php
Expand Down
2 changes: 1 addition & 1 deletion demos/paymentDirect/payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
$updatedCardRegister = $mangoPayApi->CardRegistrations->Update($cardRegister);

if ($updatedCardRegister->Status != 'VALIDATED' || !isset($updatedCardRegister->CardId))
die('<div style="color:red;">Cannot create virtual card. Payment has not been created.<div>');
die('<div style="color:red;">Cannot create card. Payment has not been created.<div>');

// get created virtual card object
$card = $mangoPayApi->Cards->Get($updatedCardRegister->CardId);
Expand Down

0 comments on commit bda6dbb

Please sign in to comment.