PayPal checkout is not enabled — add PayPal REST credentials
paypal-checkout assert failed. Product: add PayPal REST credentials in Admin → Settings → Payment Settings and turn on PayPal checkout.
Why this happens
Enable flag false or credentials missing before creating a PayPal order. Distinct from “not configured” short/long forms that fire earlier on some routes.
Diagnose and fix
1. Paste REST credentials; enable PayPal checkout; save.
2. Retry; if enabled but order fails, see Could not create PayPal order — check credentials and sandbox/live mode.
3. Configure webhooks/return URLs per PayPal Help.
4. Offer Stripe/etc. if PayPal is not intentional.