Docs

Cannot add a price requiring a payment method to a cardless trial subscription

Prices that require a payment method cannot be added to cardless trial subscriptions before a payment method has been added.

Example response
{
"error": {
"type": "request_error",
"code": "subscription_price_requires_payment_method_on_cardless_trial",
"detail": "Prices that require a payment method can't be added to a cardless trial subscription before a payment method is added.",
"documentation_url": "https://developer.paddle.com/errors/subscriptions/subscription_price_requires_payment_method_on_cardless_trial"
},
"meta": {
"request_id": "00000000-0000-0000-0000-000000000000"
}
}

Details

Status code
400
Error code
subscription_price_requires_payment_method_on_cardless_trial
Error message
Prices that require a payment method can't be added to a cardless trial subscription before a payment method is added.

Common causes

  • You're trying to update a subscription to include an item that requires a payment method, but the subscription is a cardless trial without a payment method.

Troubleshooting

  • Add a payment method to the subscription, then retry the request.
  • Modify your request to remove any items that require a payment method.
  • Update prices so that trial_period.requires_payment_method is false.

Was this page helpful?