Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such plan error Subscriptions #79

Open
pixsolution opened this issue Jun 22, 2022 · 0 comments
Open

No such plan error Subscriptions #79

pixsolution opened this issue Jun 22, 2022 · 0 comments
Labels

Comments

@pixsolution
Copy link

Your Environment

  • OS and Version: W10
  • PHP Version: 7.2.5
  • cartalyst/stripe-laravel: "^12.0"
  • Laravel Version: 7.0

Expected behaviour

Create subscription

Actual behaviour

#errorCode: "resource_missing"
#errorType: "invalid_request_error"
#missingParameter: "plan"
#rawOutput: array:1 [▶]
#message: "No such plan: 'Bronce Mensual'"
#code: 400
#file: "C:\xampp\htdocs\web-site\vendor\cartalyst\stripe\src\Exception\Handler.php"
#line: 125

it give me the same error if I passed the name of the product/plan (the same name that it is in stripe) as you indicate on your doc https://cartalyst.com/manual/stripe/2.0#create-a-subscription and also if I passed the unique stripe product id 'prod_123'. So it doesn't create the subscription

What can be?

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant