Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/embed-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sidebar_label: Embed SDK
Firstly make sure to load the embed code on your page.

```html
<script src="https://payhere.co/embed/embed.js"></script>
<script src="https://app.payhere.co/embed/embed.js"></script>
```

Alternatively install via npm.
Expand Down
2 changes: 1 addition & 1 deletion docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Our simple embed is the next level up, but it still only requires two lines of c

```html
<button data-payhere-embed="https://app.payhere.co/altlabs/coffee">Payhere</button>
<script src="https://payhere.co/embed/embed.js"></script>
<script src="https://app.payhere.co/embed/embed.js"></script>
```

## Using with React
Expand Down
6 changes: 3 additions & 3 deletions docs/payment-button-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This code is very straightforward:

```html
<button data-payhere-embed="https://app.payhere.co/altlabs/coffee">Payhere</button>
<script src="https://payhere.co/embed/embed.js"></script>
<script src="https://app.payhere.co/embed/embed.js"></script>
```

### Additional parameters available
Expand All @@ -35,7 +35,7 @@ A complete example:
>
Buy me a coffee
</button>
<script src="https://payhere.co/embed/embed.js"></script>
<script src="https://app.payhere.co/embed/embed.js"></script>
```

### Multiple plans per page
Expand All @@ -46,5 +46,5 @@ One other thing to bear in mind, you can have multiple plans on your page, for t
<button data-payhere-embed="https://app.payhere.co/altlabs/coffee">Buy me an americano</button>
<button data-payhere-embed="https://app.payhere.co/altlabs/coffee-flat-white">Buy me a flat white</button>
<button data-payhere-embed="https://app.payhere.co/altlabs/coffee-late">Buy me a latte</button>
<script src="https://payhere.co/embed/embed.js"></script>
<script src="https://app.payhere.co/embed/embed.js"></script>
```
12 changes: 6 additions & 6 deletions website/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4045,9 +4045,9 @@ query-string@^5.0.1:
object-assign "^4.1.0"
strict-uri-encode "^1.0.0"

querystringify@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.1.0.tgz#7ded8dfbf7879dcc60d0a644ac6754b283ad17ef"
querystringify@^2.1.1:
version "2.2.0"
resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.2.0.tgz#3345941b4153cb9d082d8eee4cda2016a9aef7f6"

randomatic@^3.0.0:
version "3.1.1"
Expand Down Expand Up @@ -5052,10 +5052,10 @@ url-parse-lax@^3.0.0:
prepend-http "^2.0.0"

url-parse@^1.1.8, url-parse@^1.4.3:
version "1.4.4"
resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.4.4.tgz#cac1556e95faa0303691fec5cf9d5a1bc34648f8"
version "1.5.10"
resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.10.tgz#9d3c2f736c1d75dd3bd2be507dcc111f1e2ea9c1"
dependencies:
querystringify "^2.0.0"
querystringify "^2.1.1"
requires-port "^1.0.0"

url-to-options@^1.0.1:
Expand Down