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

Missing Required Parameters: #2220

Closed
wants to merge 2 commits into from

Conversation

omkarkulkarni2704
Copy link

@omkarkulkarni2704 omkarkulkarni2704 commented Oct 31, 2024

Problem: The required parameter currency is missing.

  • In the exampleFunction, you are missing the required currency parameter. This will result in an InvalidRequestError.
  • Line No: 104 - You added Currency: 'usd', but in Line No: 123 - You didn't add Currency: 'usd', the currency parameter.

Missing Required Parameters:
In the exampleFunction, you are missing a required currency parameter. This will result in an InvalidRequestError. 
Line 123: currency: 'usd',  is missing.
# Missing Required Parameter:
* In exampleFunction, you are missing the required currency parameter. This will result in an InvalidRequestError. 
* Line No: 123 - You need to add "currency: 'usd', " currency parameter.
@omkarkulkarni2704 omkarkulkarni2704 requested a review from a team as a code owner October 31, 2024 04:14
@omkarkulkarni2704 omkarkulkarni2704 requested review from xavdid-stripe and removed request for a team October 31, 2024 04:14
@ramya-stripe
Copy link
Contributor

ramya-stripe commented Nov 8, 2024

Hey @omkarkulkarni2704

It is intentional that we are not passing the currency there. We want to test that when we do that StripeInvalidRequestError gets thrown

@omkarkulkarni2704
Copy link
Author

Ok

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

Successfully merging this pull request may close these issues.

2 participants