-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path001_wavemoney.php
24 lines (24 loc) · 1.35 KB
/
001_wavemoney.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Wave Merchant Integration</title>
</head>
<body>
<form action="https://wavepay-payment-gateway.com/payment" method="POST">
<input type="hidden" name="timeToLiveSeconds" value="<?php echo $data['timeToLiveSeconds']; ?>">
<input type="hidden" name="order_id" value="<?php echo $data['order_id']; ?>">
<input type="hidden" name="merchant_reference_id" value="<?php echo $data['merchant_reference_id']; ?>">
<input type="hidden" name="frontend_result_url" value="<?php echo $data['frontend_result_url']; ?>">
<input type="hidden" name="backend_result_url" value="<?php echo $data['backend_result_url']; ?>">
<input type="hidden" name="amount" value="<?php echo $data['amount']; ?>">
<input type="hidden" name="payment_description" value="<?php echo $data['payment_description']; ?>">
<input type="hidden" name="merchant_name" value="<?php echo $data['name']; ?>">
<input type="hidden" name="items" value="<?php echo json_encode($items); ?>">
<input type="hidden" name="hash" value="<?php echo $hash; ?>">
<button class="btn btn-primary">Pay with Wave</button>
</form>
</body>
</html>