Errors

Could not create PayPal order — check credentials and sandbox/live mode

paypal-checkout create-order API failed — credentials or mode mismatch.

Could not create PayPal order — check credentials and sandbox/live mode

paypal-checkout could not create an order with PayPal’s API. Product points at credentials and sandbox/live mode.

Why this happens

Wrong client ID/secret, sandbox keys used against live (or reverse), disabled app, or PayPal API error. Distinct from Authorize.net PayPal is not enabled (different integration).

Diagnose and fix

1. Admin → Settings → Payment → PayPal — paste matching Client ID/Secret for the selected mode.

2. Align sandbox vs live with the PayPal developer app.

3. Check app logs for PayPal’s error detail; retry checkout.

4. See PayPal and Common payment failures.

Related