Skip to content

Unable to refresh subscription plans #409

@bhashkar007

Description

@bhashkar007

While I am trying to refresh the plans from Craft Dashboard => Stripe => Settings => Subscription Plans, getting error No plans were found in stripe. Check your Stripe Keys.

Also, I am not able to add subscrition plans for any "Payment Form". It's not showing blocks to me. Please see screenshot below:

Image

If I change "Subscription Type" to "Set single plan" then it's all showing fine. Even subscription plans are showing after pressing refresh button. Please see screenshot -

Image

But here my requirement is to add subscription plans so that customer can choose. I checked log and found this error:

2025-02-12 06:18:49 [web.ERROR] [enupal\stripe\controllers\SettingsController::actionUpdatePlans] Call to a member function getEntryTypes() on null {"memory":8230552} 

Please help to resolve this issue.

Craft CMS v5.6.6
Stripe Payment v6.0.3
PHP v8.2.18

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions