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

flutter : invalid_request_error #10

Open
utrodus opened this issue Oct 10, 2022 · 7 comments
Open

flutter : invalid_request_error #10

utrodus opened this issue Oct 10, 2022 · 7 comments

Comments

@utrodus
Copy link

utrodus commented Oct 10, 2022

What did these messages mean?
flutter: invalid_request_error

@mohammeddawida
Copy link
Owner

@utrodus Show the message that appears with the type of error
example:
{
"type" : "invalid_request_error",
"message" : "Validation Failed",
"errors" :
{
"amount" : ["must be an integer"]
}
}

@AhmedLSayed9
Copy link

@utrodus If you got empty 'error', it's most likely you provided wrong card info.
i.e: cardNumber length is not correct or expYear is less than 23

@noufolaiyan9
Copy link

i have an error in the creditCard method in : (
cvv: 'cvv',
expiryManth: 'expiryDate_manth',
expiryYear: 'expiryDate_yar',
)

thats a string cannot be assigned to int how can i fix it ?

@mohammeddawida
Copy link
Owner

@noufolaiyan9
I will fix it and upload it

@noufolaiyan9
Copy link

@noufolaiyan9 I will fix it and upload it

thank you.

@mohammeddawida
Copy link
Owner

@noufolaiyan9
Are you passing the values as string or a int ? For confirmation purposes only

@noufolaiyan9
Copy link

i don't know i just copy the code and found the error

@noufolaiyan9 Are you passing the values as string or a int ? For confirmation purposes only

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

No branches or pull requests

4 participants