Docs

When previewing a transaction with multiple adjustments all the transaction need to belong to the same subscription.

You are attempting to preview a transaction with several adjustments, but the transactions associated to them have different subscription IDs

Example response
{
"error": {
"type": "request_error",
"code": "transaction_preview_adjustment_subscription_conflict",
"detail": "One or more transactions provided belong to different subscriptions. Transaction txn_01h02h84fgvspha259phx0yrkz belongs to subscription sub_01h02h885fb6pmmenrjpfc04k9, but transaction txn_01h02h8jk7mjext42pj709ywv5 belongs to subscription sub_01h02h8p7rfkt251efdwpkwy9a",
"documentation_url": "https://developer.paddle.com/errors/transactions/transaction_preview_adjustment_subscription_conflict"
},
"meta": {
"request_id": "00000000-0000-0000-0000-000000000000"
}
}

Details

Status code
400
Error code
transaction_preview_adjustment_subscription_conflict
Error message
One or more transactions provided belong to different subscriptions. Transaction %s belongs to subscription %s, but transaction %s belongs to subscription %s

Common causes

  • There are multiple adjustments for different transactions being previewed but some of them don't belong to the same subscription.

Troubleshooting

  • Check that all the transactions in the list of adjustments have the same subscription ID and remove the ones that don't match.

Was this page helpful?