generated from spatie/package-skeleton-laravel
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pay.blade.php
84 lines (70 loc) · 1.65 KB
/
pay.blade.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!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>Laravel Multipay Test-drive Page 🏎️</title>
<style>
form {
color: #808080
}
img {
height: 200px;
margin: 5px;
border-radius: 2px;
}
input {
border-radius: 2px;
padding: 5px;
border: 1px solid gray;
}
</style>
</head>
<body>
<form method="post" action="{{ route('payment.show_transaction_details_for_user_confirmation') }}">
@csrf
<div>
<!-- Any of the handlers listed in the Supported Payment Handlers section of this README -->
Payment handler (Good UX tip 👍: this should be a hidden field)
<div>
<select name="payment_processor">
@foreach ($providers as $provider)
<option>{{$provider}}</option>
@endforeach
</select>
</div>
</div>
<br>
<div>
Amount
<div>
<input type="text" name="amount" value="123" />
</div>
</div>
<br>
<div>
Currency (ISO-4217 format. Ensure to check that the payment handler you specified above supports this currency)
<div>
<input type="text" name="currency" value="NGN" />
</div>
</div>
<br>
<div>
<input type="hidden" name="user_id" value="{{$userId}}" />
</div>
<br>
<div>
Description
<div>
<div>
<img src="https://upload.wikimedia.org/wikipedia/commons/a/a1/Tesla_Model_Y_in_San_Ramon.jpg">
</div>
<input type="text" name="transaction_description" value="Tesla Model Y picture" />
</div>
</div>
<br>
<button type="submit">Proceed to Payment</button>
</form>
</body>
</html>