Skip to content

Commit

Permalink
doc: fix cdn link
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolay Poluhin committed Jun 13, 2024
1 parent 52f7ecc commit cdc5447
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Features:

#### Linking to Xsolla CDN

Script is located on our CDN and is available here: [https://cdn.xsolla.net/payments-bucket-prod/embed/1.4.0/widget.min.js](https://cdn.xsolla.net/embed/paystation/1.2.9/widget.min.js). Use this URL to integrate script on your website.
Script is located on our CDN and is available here: [https://cdn.xsolla.net/payments-bucket-prod/embed/1.3.2/widget.min.js](https://cdn.xsolla.net/payments-bucket-prod/embed/1.3.2/widget.min.js). Use this URL to integrate script on your website.

### Script Loading

Expand All @@ -30,7 +30,7 @@ Script is located on our CDN and is available here: [https://cdn.xsolla.net/pay
const s = document.createElement('script');
s.type = "text/javascript";
s.async = true;
s.src = "https://cdn.xsolla.net/payments-bucket-prod/embed/1.4.0/widget.min.js";
s.src = "https://cdn.xsolla.net/payments-bucket-prod/embed/1.3.2/widget.min.js";

s.addEventListener('load', function (e) {
XPayStationWidget.init(options);
Expand All @@ -44,7 +44,7 @@ Script is located on our CDN and is available here: [https://cdn.xsolla.net/pay
#### Synchronous loading (blocks content)

``` javascript
<script src="https://cdn.xsolla.net/payments-bucket-prod/embed/1.4.0/widget.min.js"></script>
<script src="https://cdn.xsolla.net/payments-bucket-prod/embed/1.3.2/widget.min.js"></script>
<script>
XPayStationWidget.init({
access_token: 'abcdef1234567890abcdef1234567890'
Expand Down

0 comments on commit cdc5447

Please sign in to comment.