Skip to content

Commit

Permalink
Add necessary files to deploy spec using template
Browse files Browse the repository at this point in the history
  • Loading branch information
ynyhxfo committed Dec 19, 2024
1 parent 0b54eb3 commit a8d667c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,16 @@ A user agent must not <a href="https://html.spec.whatwg.org/multipage/syntax.htm

The URL [=url/scheme=] of the <{link/href}> attribute indicates supported payment methods. The URL may contain additional information specific to the payment method.

<div class="example" heading="UPI">
<p><code class="html">&lt;link rel="payment" href="upi://pay?pa=merchant@bank&pn=Test&am=100&cu=INR"&gt;</code></p>
<div class="example" id="example-upi" heading="UPI">
<p><code class="html">&lt;link rel="payment" href="upi://pay?pa=merchant@bank&amp;pn=Test&amp;am=100&amp;cu=INR"&gt;</code></p>
</div>

<div class="example" heading="Bitcoin">
<p><code class="html">&lt;link rel="payment" href="bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?amount=20.3&label=Donation"&gt;</code></p>
<div class="example" id="example-bitcoin" heading="Bitcoin">
<p><code class="html">&lt;link rel="payment" href="bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?amount=20.3&amp;label=Donation"&gt;</code></p>
</div>

<div class="example" heading="PayPal">
<p><code class="html">&lt;link rel="payment" href="paypal://paypal.com?payee-address=175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W&currency=USD&amount=20.3&payee-name=Walmart"&gt;</code></p>
<div class="example" id="example-paypal" heading="PayPal">
<p><code class="html">&lt;link rel="payment" href="paypal://paypal.com?payee-address=175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W&amp;currency=USD&amp;amount=20.3&amp;payee-name=Walmart"&gt;</code></p>
</div>

The appropriate times to <a spec="HTML">fetch and process the linked resource</a> for such a link are:
Expand Down

0 comments on commit a8d667c

Please sign in to comment.