1. The script is on the page once
- In the console, run
Paysum.version. It prints the version, for example3.2.5. If it prints an error, the script did not load: check the URL and your Content Security Policy. - Load
embed.jsonly once. A second copy does nothing. - Do not load the older
paysum.min.json the same page. It also uses thePaysumname.
2. The button has a product and a store
data-product(ordata-bundlefor a bundle) anddata-storeare both required. The console shows[Paysum] A valid product ID and store are requiredwhen one is missing.- IDs and the store slug can only contain letters, numbers,
-and_. Copy them from the product’s Embed checkout option in the dashboard. - Disabled buttons (
disabledoraria-disabled="true") do not open checkout.
3. The checkout frame is allowed
If your site sends aContent-Security-Policy header, allow:
A blocked frame shows as a CSP error in the console. If your policy does not permit the embed’s inline styles, use Checkout Elements or hosted checkout instead.
4. The custom domain is valid
data-store-url must be an https:// address, for example https://shop.example.com. Other values are ignored and checkout does not open. Leave it out to use your Paysum store address.
5. Checkout loads but shows an error
The embed waits 15 seconds for checkout to load and tries again twice. After that it shows Unable to load checkout with Try again.- Check that the store and product exist and the product is Active.
- Check that the product has stock and at least one payment method that is on.
- Open the checkout address from the Network tab in a new tab to see the error page.