Skip to content

Commit 098ad75

Browse files
authored
Update details.html
1 parent 2ab305b commit 098ad75

File tree

1 file changed

+8
-48
lines changed

1 file changed

+8
-48
lines changed

payment_integration/details.html

Lines changed: 8 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -11,60 +11,20 @@ <h2>FILL THE DETAILS</h2>
1111
</div>
1212
<div id="smart-button-container">
1313
<div style="text-align: center">
14-
<label for="description">Pay to </label
15-
><input
16-
type="text"
17-
name="descriptionInput"
18-
id="description"
19-
maxlength="127"
20-
value=""
21-
/>
14+
<label for="description">Pay to </label><input type="text" name="descriptionInput" id="description" maxlength="127" value="" />
2215
</div>
23-
<p
24-
id="descriptionError"
25-
style="visibility: hidden; color:red; text-align: center;"
26-
>
27-
Please enter a description
28-
</p>
16+
<p id="descriptionError" style="visibility: hidden; color:red; text-align: center;"> Please enter a description </p>
2917
<div style="text-align: center">
30-
<label for="amount">Amount </label
31-
><input name="amountInput" type="number" id="amount" value="" /><span>
32-
USD</span
33-
>
18+
<label for="amount">Amount </label><input name="amountInput" type="number" id="amount" value="" /><span> USD</span>
3419
</div>
35-
<p
36-
id="priceLabelError"
37-
style="visibility: hidden; color:red; text-align: center;"
38-
>
39-
Please enter a price
40-
</p>
20+
<p id="priceLabelError" style="visibility: hidden; color:red; text-align: center;"> Please enter a price </p>
4121
<div id="invoiceidDiv" style="text-align: center; display: none;">
42-
<label for="invoiceid"> </label
43-
><input
44-
name="invoiceid"
45-
maxlength="127"
46-
type="text"
47-
id="invoiceid"
48-
value=""
49-
/>
22+
<label for="invoiceid"> </label><input name="invoiceid" maxlength="127" type="text" id="invoiceid" value="" />
5023
</div>
51-
<p
52-
id="invoiceidError"
53-
style="visibility: hidden; color:red; text-align: center;"
54-
>
55-
Please enter an Invoice ID
56-
</p>
57-
<div
58-
style="text-align: center; margin-top: 0.625rem;"
59-
id="paypal-button-container"
60-
></div>
24+
<p id="invoiceidError" style="visibility: hidden; color:red; text-align: center;"> Please enter an Invoice ID </p>
25+
<div style="text-align: center; margin-top: 0.625rem;" id="paypal-button-container"></div>
6126
</div>
62-
63-
<script
64-
src="https://www.paypal.com/sdk/js?client-id=AZL8xbEw0LMzsy0E9tBt3LIfYcL3y-1v35KBvvLcKexPocsuRElvdeTYRLJJCzDS02Vor0fx_3TjsMQD&currency=USD"
65-
data-sdk-integration-source="button-factory"
66-
></script>
27+
<script src="https://www.paypal.com/sdk/js?client-id=AZL8xbEw0LMzsy0E9tBt3LIfYcL3y-1v35KBvvLcKexPocsuRElvdeTYRLJJCzDS02Vor0fx_3TjsMQD&currency=USD" data-sdk-integration-source="button-factory"></script>
6728
<script src="payment.js"></script>
6829
</body>
6930
</html>
70-

0 commit comments

Comments
 (0)