# Cannot have a mix of trial prices requiring payment method

You're trying to create a transaction where some items require a payment method in trial and others don't.

---

## Example

```json
{
  "error": {
    "type": "request_error",
    "code": "transaction_invalid_combination_of_requires_payment_method_prices",
    "detail": "This transaction contains trialing prices with different `requires_payment_method` values. They must all have the same value.",
    "documentation_url": "https://developer.paddle.com/errors/transactions/transaction_invalid_combination_of_requires_payment_method_prices"
  },
  "meta": {
    "request_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

## Details

| Attribute | Value |
| --- | --- |
| Status code | 400 |
| Error code | `transaction_invalid_combination_of_requires_payment_method_prices` |
| Error message | This transaction contains trialing prices with different `requires_payment_method` values. They must all have the same value. |

## Common causes

- You're trying to create a transaction for prices with conflicting values for `trial_period.requires_payment_method`.

## Common solutions

- Modify your request so that all line items on the transaction have the same value for `trial_period.requires_payment_method`.
- Update prices so that they have the same value for `trial_period.requires_payment_method`, then try your request again.
