Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Glench committed Jan 6, 2022
1 parent 60a3533 commit 3993ed4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3993ed4

Please sign in to comment.