From 3993ed429b34085b3c812da9572e650f5a303ce9 Mon Sep 17 00:00:00 2001 From: Glen Chiacchieri Date: Thu, 6 Jan 2022 14:47:41 -0500 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b7548d2..2bebf0e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,8 @@ The JavaScript library for [ExtensionPay.com](https://extensionpay.com), a servi ```js // Example code // your-extension/background.js -const extpay = ExtPay('your-extension') +const extpay = ExtPay('your-extension-id'); +extpay.startBackground(); extpay.getUser().then(user => { if (user.paid) {