{ "error": { "type": "request_error", "code": "transaction_discount_not_eligible", "detail": "Discount is not eligible for the provided items", "documentation_url": "https://developer.paddle.com/errors/transactions/transaction_discount_not_eligible" }, "meta": { "request_id": "00000000-0000-0000-0000-000000000000" }}Details
- Status code
- 400
- Error code
transaction_discount_not_eligible- Error message
- Discount is not eligible for the provided items
Common causes
- The discount has
restricted_toset to one or moreprice_idorproduct_idvalues, and none of them are on the transaction.
Troubleshooting
- Verify the transaction includes items that match one of the prices or products in the discount's
restricted_tolist. - Apply a different discount that isn't restricted to specific prices or products.
- Add matching items to the transaction.