-
Notifications
You must be signed in to change notification settings - Fork 0
/
sop-payment-form-example-with-card.html
66 lines (59 loc) · 3.32 KB
/
sop-payment-form-example-with-card.html
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
<form action="https://gateway-sandbox.ipsi.com.au/v2/purchases/direct/lfs-12345678" method="post">
<input type="hidden" name="reference" value="905784" />
<input type="hidden" name="metadata[interest_free][items_count]" value="1" />
<input type="hidden" name="currency" value="AUD" />
<input type="hidden" name="amount" value="10000" />
<input type="hidden" name="merchant_id" value="lfs-12345678" />
<input type="hidden" name="return_path" value="http://merchantwebsite.com/lfs/sop/return" />
<input type="hidden" name="metadata[interest_free][items][0][product_code]" value="1300" />
<input type="hidden" name="metadata[interest_free][items][0][description]" value="Testing" />
<input type="hidden" name="metadata[interest_free][items][0][total]" value="10000" />
<input type="hidden" name="metadata[interest_free][promo_code]" value="1024" />
<input type="hidden" name="metadata[interest_free][promo_description]" value="12 Months Interest Free With Repayments" />
<input type="hidden" name="metadata[interest_free][eapps_hopData]" value="pBBXUpSxPTZyONQiebZNBaHgR4o1RIfSdf3aKB/ChZ8m4S29kaA MLIDAWLsmy2EQc5Bo9cv3FJ1F4Y 7mTeaa4kkC6qaQh/1/0w4pLVmEsaBWNBf/Y96WIRcRefsQDk4ZzUcRyvVsVGJoErsppQCy3/56q7zGlhy/GtwnNwNdwe5Lc58F4GyzVv8UKnY eZb7fS3ejBuuaNru F1R3Q9W4LNvYD1lyR3ASD4SO4Z0M=" />
<input type="hidden" name="verification" value="7cd5f316ba5c3a11f0a883f8d6ccd6e6" />
<label for="promo_code">Terms of payment</label>
<select name="metadata[interest_free][promo_code]" id="promo_code">
<option value="">Select</option>
<option value="1024" selected>24 Months 0% Interest – without repayments</option>
<option value="2012">12 months Interest Free - with repayments</option>
<option value="2006">6 months Interest Free - with repayments</option>
</select>
<label for="card_number">Card number</label>
<input type="text" id="card_number" name="card_number" value="4242424242424242">
<label for="cvv">CVC/CVV</label>
<input type="text" id="cvv" name="cvv" value="123">
<label for="card_holder">Name on card</label>
<input type="text" id="card_holder" name="card_holder" value="Max Smith">
<label for="expiry_month">Card expiry date</label>
<select id="expiry_month" name="expiry_month">
<option value="">MM</option>
<option value="01">01 January</option>
<option value="02" selected>02 February</option>
<option value="03">03 March</option>
<option value="04">04 April</option>
<option value="05">05 May</option>
<option value="06">06 June</option>
<option value="07">07 July</option>
<option value="08">08 August</option>
<option value="09">09 September</option>
<option value="10">10 October</option>
<option value="11">11 November</option>
<option value="12">12 December</option>
</select>
<select id="expiry_year" name="expiry_year">
<option value="">YYYY</option>
<option value="14">2014</option>
<option value="15">2015</option>
<option value="16">2016</option>
<option value="17">2017</option>
<option value="18">2018</option>
<option value="19">2019</option>
<option value="20">2020</option>
<option value="21">2021</option>
<option value="22">2022</option>
<option value="23" selected>2023</option>
<option value="24">2024</option>
</select>
<input type="submit" value="Checkout with Interest Free" />
</form>