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 ed6fd31 commit 296944d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ 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" 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>
<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" 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>
<p><code class="html">&lt;link rel="payment" href="bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?amount=20.3&amp;label=Donation"&gt;</code></p>
</div>

<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>
<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 296944d

Please sign in to comment.