Tutor LMS PayPal Payment Not Working
Fix PayPal in Tutor LMS native eCommerce: environment and credentials, the webhook URL and webhook ID, orders stuck unpaid, currency issues and testing in the PayPal sandbox.
Checked against the plugin source: Tutor LMS 4.1.3, Tutor LMS Pro 4.1.3

PayPal is built into Tutor LMS's native eCommerce engine. When it fails, the cause is almost always one of the settings below. Based on Tutor LMS 4.1.3; setup steps are in the PayPal setup guide.
The settings that must match
Under Tutor LMS > Settings > Monetization > Payment Methods > PayPal you set:
- Environment: test (sandbox) or live.
- Merchant email.
- Client id and Secret id: from a PayPal REST app.
- Webhook id: from the webhook you create in the same PayPal app.
- Webhook url: shown by Tutor LMS; copy it into PayPal.
All of these must come from the same PayPal app and the same mode. Sandbox credentials with the Live environment, or the reverse, is the most common failure.
Symptom: checkout errors before PayPal opens
- Client id or secret wrong, or from the other mode.
- The REST app is disabled or not approved for live payments.
- Your store currency is not supported by PayPal for your account.
Symptom: payment completes in PayPal, order stays unpaid
Tutor LMS learns about the payment from PayPal's webhook. The webhook URL has the form /wp-json/tutor/v1/ecommerce-webhook?payment_method=paypal.
- In PayPal, open the app's webhooks and check the URL matches exactly, including
https. - Check the Webhook id in Tutor LMS is that webhook's ID.
- Check PayPal's webhook event log for failed deliveries and the response code.
- Make sure no firewall, CDN rule or security plugin blocks POST requests to
/wp-json/.
For students already affected, confirm the payment in PayPal and use Mark as paid on the order.
Symptom: works in sandbox, fails in live
Create a separate live webhook in the live app and enter the live client ID, secret and webhook ID with the environment set to live.
Testing
- Use PayPal sandbox buyer and seller accounts.
- Buy a course as a test student and confirm the order becomes paid and the enrollment active.
- Refund in PayPal and check the order updates.
Payments still failing? Our payment gateway team can fix it.
Save this practical guide
Add us as a preferred Google source, or ask an AI assistant to summarize this page and link back to the original guide when it is useful.
