Contents
Chapter 14. Troubleshooting
Start from what you see going wrong, find the likely cause, and fix it.
Problems and Solutions
1. Purchases | |
A customer paid, but has no access, and nothing is listed under Access Subscriptions. | |
Follow the purchase from Paddle to your site:
| |
The log says No local product found or No local price found for a completed transaction. | |
The customer bought a product or price your site doesn't know, usually one created in Paddle's dashboard and never opened in PaddleSubs. Open the Products page so PaddleSubs picks it up, give the product a category and groups, then click beside the purchase on the Needs Attention page. Replaying the event from Paddle doesn't help, because PaddleSubs skips events it has already processed. If the price is custom, such as one Paddle made for an invoice or a transaction created in its dashboard with an amount typed in, the Products page doesn't pick it up, since Paddle leaves custom prices out of its lists. Click beside the purchase instead: it adds the price, and its product if needed, and tries the purchase again. | |
The Purchase Complete page keeps saying We are processing your Access Subscription. | |
The page shows what your site knows at the moment it opens. Access appears once the webhooks have been processed, usually within a minute if Joomla's scheduler runs from CRON, and at the next visit to your site if it doesn't. Set up CRON as in the section called “Run the Scheduler From Your Server”. Also check that the customer is logged in as the account the purchase went to: the page only shows a logged-in customer's own purchase. | |
Clicking does nothing, or the checkout shows an error. | |
| |
Prices say Loading price... or Price
unavailable, or a | |
Prices are filled in by Paddle in the visitor's browser, so the same causes as above
apply: the client-side token, blocked scripts, or a second Paddle.js. A tag that shows
nothing at all names a product or price that doesn't exist, or a product with no price of
that kind: | |
Paddle's checkout has no field to enter a discount code. | |
Turn on Allow buyers to add a discount code in → → ; until it is on, Paddle hides the field whatever your site asks for. Also check that Discount codes at checkout is on in PaddleSubs' options. A code is only accepted if its discount is active, has that code and is enabled for checkout in Paddle. | |
A customer who already has an account got a second one, or their purchase went to the wrong account. | |
PaddleSubs connects a purchase to the account with the checkout's email address. If the customer bought while logged out, with another address, a new account was created for that address. Ask customers to log in first; the product page then fills in their account's address. To fix a purchase that went to the wrong account, see the section called “How Paddle Customers Become Joomla Users”. | |
A new customer can't log in. | |
Accounts PaddleSubs creates have a random password. The customer was signed in on the Purchase Complete page right after paying, and the welcome email links to a page to choose a password, once and within a week. After that they use Forgot your password?. Until they choose a password, the session they were signed in to after paying lasts a day and can't open Joomla's profile pages; see the section called “Purchase Complete”. These accounts are active whatever New User Account Activation says. If the account is blocked, someone blocked it in → . | |
2. Webhooks | |
Every PaddleSubs page says Webhooks are not working. | |
PaddleSubs has an API key for the environment in use but no webhook secret key, so your site refuses every webhook Paddle sends and purchases give no access. In Paddle, open → , click beside your destination, then , and copy the secret key. Paste it into the options as described in Procedure 2.5, “Enter the secret key in PaddleSubs”. The keys are kept for each environment: after switching Environment, enter that environment's secret key too. Webhooks refused meanwhile are retried by Paddle for a few days; replay older ones from the destination's log. | |
Paddle's notification log shows your site answered 403 or 500. | |
403 Forbidden means the request didn't come from an IP address in Webhook addresses (Sandbox webhook addresses in the sandbox) on the Webhooks tab of the options. If your site is behind a proxy or a service such as Cloudflare, PaddleSubs sees the proxy's address rather than Paddle's: enter the proxy's addresses in Trusted proxies. If Paddle has announced new addresses, add them, or empty the field to use the ones PaddleSubs knows. The log says why each webhook was refused, with the address it came from (see the section called “Reading the Logs”). For a 403 it also names the address the connection came from: if that is your proxy's rather than Paddle's, add it to Trusted proxies. Anyone can send your site a request, so each kind of refusal from one address is logged once every 15 minutes. 500 means the webhook couldn't be checked against the destination's secret key, or something went wrong saving it. The log says which: no webhook secret key is set (enter it, see Procedure 2.5, “Enter the secret key in PaddleSubs”), its signature does not match (the key doesn't match the destination's: copy it again, check that Environment matches the Paddle account that sent it, and check that the server's clock is right, since a signature more than 60 seconds old is refused), or could not be queued with the database's error. Paddle delivers a refused webhook again later, so once the cause is fixed the webhooks it refused still arrive; replay them from the destination's log if you don't want to wait. | |
Every PaddleSubs page says webhooks from Paddle could not be handled. | |
Your site accepted these webhooks, but handling them failed, or kept failing until PaddleSubs gave up on them, so the purchases, renewals or refunds they carry haven't reached your site. Click Review them on the Diagnostics page. Each one shows its error. Fix the cause (often a product or price PaddleSubs doesn't know, a database error, or Paddle being unreachable for a while), then click . If the error doesn't say enough, download the support bundle and ask for help (the section called “Getting Support”). | |
Every PaddleSubs page says Some of PaddleSubs' work can't run on this site. | |
A job PaddleSubs needs doesn't run, or a plugin it needs is disabled. The message lists each one, with what doesn't happen until it is fixed and a link to fix it:
The jobs checked are PaddleSubs - Process webhooks, PaddleSubs - Access subscription lifecycle and PaddleSubs - Expiry reminders, whether they run as scheduled tasks or from CRON (see the section called “Run Each Job From Its Own CRON Job”). The message goes away on the next page once each has run. | |
Every PaddleSubs page says This site isn't activated on a PaddleSubs license, or asks for the Download Key. | |
The site doesn't get PaddleSubs updates or support until it is activated; everything else works. Enter the Download Key and click , as in the section called “Updates and Your License”, which also lists why an activation can be refused. If an update fails to download although the site is activated, check that the Installer - PaddleSubs plugin is enabled. | |
Webhooks arrive, but nothing happens. | |
They are waiting in the queue for the PaddleSubs - Process webhooks task. Check that the Task - PaddleSubs plugin is enabled, that the task exists and is enabled, and when it last ran; or, if a CRON job runs paddlesubs:webhooks, run that command by hand and read what it says. If it fails, its reason is in the PaddleSubs log. The task leaves the queue alone while PaddleSubs is offline (Offline Enabled on, or no API key for the current environment), and says so in the log. | |
3. Access and user groups | |
A customer's access ended, but they are still in the product's group. | |
Groups are only taken away if they are in Remove From User Groups (or a level's Remove groups). Add the group there, then run Resync user groups with Also remove groups no purchase grants on. A group is also kept while another of the customer's active Access Subscriptions grants it, which is intended. | |
A customer has an active Access Subscription but isn't in the group. | |
The group may have been added to the product or level after they bought, or the access was imported. Run PaddleSubs - Resync user groups(task). If the Access Subscription is listed but not published, the lifecycle task hasn't started it yet: check that it runs. | |
Access doesn't end on time, or a renewal doesn't start. | |
The PaddleSubs - Access subscription lifecycle task does both. Check that it exists, runs often, and succeeds. It needs Paddle for purchases made through Paddle: if Paddle can't be reached, it fails for them, and only imported and granted access is started and ended. | |
I unpublished an Access Subscription, and it was published again. | |
The lifecycle task never publishes an Access Subscription that is Unpublished or Trashed; it publishes only Pending ones, when their window opens. So the one that came back was pending when the task ran: saved as Published in its editor before its Starts, or published from the list before then, which makes it pending. Unpublish it from the list, with its status icon or . To end access at a certain time, change Ends instead; see the section called “Extend, Shorten or End Someone's Access”. | |
Content between | |
Tags that show as typed mean the Content - PaddleSubs
Restricted plugin is disabled. If the content shows to the wrong people, check
the product slugs in the tag, and remember that | |
4. Emails | |
Customers don't receive PaddleSubs' emails. | |
Check that Joomla can send email at all, with in → → , and that Send Mail is on. Failed sends are logged in the PaddleSubs log. Expiry reminders are only sent for one-time purchases, and only by the PaddleSubs - Expiry reminders task. | |
Links in emails lead to | |
Links in emails are built from the Site Address option, or from
While neither is set, an email sent from CRON
uses Joomla's placeholder, | |
5. Licenses | |
Software can't activate a site. | |
The API answers with a reason. the section called “Refusal Codes” lists each, with what the
customer can do. Most often the customer has used all their seats
( | |
The API answers 403. | |
The token's user doesn't have the permission the request needs, or isn't allowed to use API tokens. See the section called “Tokens, Service Users and Permissions”. | |
6. Permissions | |
A member of staff who isn't a Super User gets You don't have permission to access this., or doesn't see a page, button or the dashboard's sales figures. | |
PaddleSubs' own permissions (Grant access, View sales, Charge customers, Issue refunds, Manage customers, Manage licenses, Assign user groups, Import from another system) are held only by Super Users until you grant them to a group. Set the one the page needs in , Permissions tab; see the section called “Control Who Can Do What”. For a product, also check its category's Permissions tab. | |
7. Importing | |
The import page says Importing needs PaddleSubs to be online. | |
Turn off Offline Enabled, and enter the API key for the current environment, in the options. | |
An import step says The server did not answer this step. | |
The server ran out of time or memory. Nothing is lost: find the import under Previous imports and click . A dump too large to upload can be copied to the server instead; see the section called “Step 1: Choose Where the Data Comes From”. | |
Creating products during an import is refused by Paddle. | |
Usually the tax category isn't approved in your Paddle account. Choose Standard digital goods, or have Paddle approve the category first. | |
8. The dashboard | |
The dashboard's revenue doesn't match Paddle's dashboard. | |
PaddleSubs shows earnings (after Paddle's fee, tax and refunds) in your payout currency, only for transactions that created access on your site, and dated when Paddle billed them. Paddle's own dashboard can show gross sales, other dates, or every transaction. Figures are also kept for up to six hours; refreshes them. | |