self.addEventListener('canmnakepayment', (evt) => {
  evt.respondWith(true);
});

self.addEventListener('paymentrequest', (evt) => {
    evt.respondWith({
        methodName: 'https://emerald-eon.appspot.com/bobpay',
        details: {
            token: '1234567890',
        },
    });
});

self.addEventListener('canmnakepayment', (evt) => {
  evt.respondWith(true);
});

self.addEventListener('paymentrequest', (evt) => {
    evt.respondWith({
        methodName: 'https://bobpay.xyz/pay',
        details: {
            token: '1234567890',
        },
    });
});

Use bobpay.xyz instead of emerald-eon.
Use bobpay.xyz instead of emerald-eon.