Skip to content

Commit

Permalink
add example files
Browse files Browse the repository at this point in the history
  • Loading branch information
aliworkshop committed Aug 4, 2020
1 parent c672d94 commit 57993ec
Show file tree
Hide file tree
Showing 4 changed files with 182 additions and 0 deletions.
25 changes: 25 additions & 0 deletions example/connect.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>اتصال به بانک سامان</title>
<link rel="stylesheet" href="{{.base_url}}/css/bootstrap/bootstrap-rtl.min.css">
</head>
<style>
p, div {
direction: rtl;
margin-top: 10px;
}
</style>

<body>
<script language="javascript" type="text/javascript">setTimeout(function () {
document.getElementById('payment_step_one').submit();
}, 100);</script>
<form method="post" action="https://sep.shaparak.ir/OnlinePG/OnlinePG" id="payment_step_one">
<input type="hidden" name="Token" value="{{.token}}">
</form>
<p class="col-sm-4 alert alert-success text-center">در حال اتصال به بانک</p>
</body>
</html>
3 changes: 3 additions & 0 deletions example/css/bootstrap/bootstrap-rtl.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 57993ec

Please sign in to comment.