joshuaf
32
0
Spark

Stripe Plan name shows as "default"

Posted 8 months ago by joshuaf

I have created a test plan in my stripe dashboard with the name "Enterprise Monthly" and done a fake charge for team billing. When had a user subscribe to this plan, the resulting spark data for the team, the spark data for Spark->State->Teams->[0]->subscriptions->[0] was as follows ...

....
name:"default"
provider_plan:"my-id-#"
quantity:2
stripe_id:"XXXXXXXXX"
stripe_plan:"provider-id-5"
team_id:4
....

I expected the Spark name variable for this subscription to have the formal name of the plan ... like "Enterprise Monthly" or whatever name I give it in the setup for the product. I don't know why the default is there.

Any suggestions? This is test data if that matters.

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.