ManagedQA PartnersSee plans

Category 4 of 10

Payments and entitlements

Money and plan state change only through verified events and server-side rules.

v1.0 · verified on 2026-09-21

Money and plan state change only through verified events and server-side rules. Every test here runs in the payment provider's test mode.

PY-01

Webhook signatures are verified against the raw body

automated Send an unsigned event, an event with an altered body, and an event signed with the wrong secret to the webhook endpoint.

Pass when

All three are rejected with a 4xx status and no state change.

critical
starter, growth, scale
PY-02

Duplicate and out-of-order events are handled once

automated Deliver the same event id twice and deliver invoice.paid before customer.subscription.created.

Pass when

Exactly one state change per event id; the out-of-order pair ends in the correct final state.

high
starter, growth, scale
PY-03

Plan and entitlement are enforced on the server

automated Call a gated feature with the client-side plan flag edited to a higher tier and with an expired subscription.

Pass when

The server refuses the gated feature in both cases.

critical
starter, growth, scale
PY-04

Amounts, prices and quantities originate on the server

automated Alter the amount, currency, price id or quantity in the checkout request.

Pass when

The altered request is rejected or the server recomputes the amount from its own price table.

critical
starter, growth, scale
PY-05

Cancellation, downgrade and refund paths update entitlements

manual Trigger cancel, downgrade, failed renewal and refund events in the payment provider's test mode and check the account state.

Pass when

Each event leaves the account with the entitlement the written rules specify, within one webhook delivery.

high
starter, growth, scale

Dots: Starter, Growth, Scale. Compare plan limits.

Failure patterns these items catch

Ask which plan runs these items

Email with your team size, cadence and stacks. We reply within 24 hours on business days.

Other categories