44 < meta charset ="UTF-8 ">
55 < title > Recommend a Payment App when User Has No Apps</ title >
66 <!--
7- If you select to pay with BobPay on this merchant page, it tries to call
7+ If you select to pay with BobBucks on this merchant page, it tries to call
88 `PaymentRequest.show()`, while intercepting the NOT_SUPPORTED_ERR exception. If this
9- payment method is not supported, it redirects to the download page for BobPay.
9+ payment method is not supported, it redirects to the download page for BobBucks
1010 -->
1111 < meta name ="viewport " content ="width=device-width ">
1212 < style >
@@ -22,10 +22,10 @@ <h1>Recommend a Payment App when User Has No Apps</h1>
2222
2323 < div id ="intro ">
2424 < p >
25- In this example, if you select to pay with BobPay on this merchant page, it tries to
25+ In this example, if you select to pay with BobBucks on this merchant page, it tries to
2626 call < code > PaymentRequest.show()</ code > , while intercepting the
2727 < code > NOT_SUPPORTED_ERR exception</ code > . If this payment method is not supported,
28- it redirects to the download page for BobPay.
28+ it redirects to the download page for BobBucks
2929 </ p >
3030 < p >
3131 For the purposes of the demo, imagine you have chosen an item and
@@ -78,13 +78,13 @@ <h1>Recommend a Payment App when User Has No Apps</h1>
7878
7979 if ( error . code == DOMException . NOT_SUPPORTED_ERR ) {
8080
81- // BobPay not currently supported. Usually we might now wish to redirect
81+ // BobBucks not currently supported. Usually we might now wish to redirect
8282 // to a signup page and we could pass our current URL so it could redirect
8383 // (or link) back to this page afterwards. For this demo, we are just
84- // redirecting to the BobPay download page.
84+ // redirecting to the BobBucks download page.
8585
8686 window . location . href =
87- 'https://bobpay.xyz /#download' ;
87+ 'https://bobbucks.dev /#download' ;
8888
8989 } else {
9090 // Other kinds of errors; cancelled or failed payment. For demo purposes:
@@ -106,7 +106,7 @@ <h1>Recommend a Payment App when User Has No Apps</h1>
106106
107107 function buildSupportedPaymentMethodData ( ) {
108108 return [ {
109- supportedMethods : 'https://emerald-eon.appspot.com/bobpay '
109+ supportedMethods : 'https://bobbucks.dev '
110110 } ] ;
111111 }
112112
@@ -128,4 +128,4 @@ <h1>Recommend a Payment App when User Has No Apps</h1>
128128 }
129129 </ script >
130130</ body >
131- </ html >
131+ </ html >
0 commit comments