Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

merceloki's avatar

Spark: Can't subscribe to a plan

I persisted all my plans on the database and i load them on the all() method of the controller.

When i try to subscribe to a plan it returns "The selected plan is invalid."

Payload:


address: null
address_line_2: null
busy: true
city: null
country: "US"
coupon: null
errors: {errors: {}}
plan: 55
state: null
successful: false
use_existing_payment_method: "1"
vat_id: null
zip: null

There is a plan with an app id of 55 on stripe. Really scratching my head with this one

0 likes
2 replies

Please or to participate in this conversation.