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

Request CreatePayerAsync error ClientLicenseType #185

Open
SpikeAndrea opened this issue Apr 3, 2023 · 0 comments
Open

Request CreatePayerAsync error ClientLicenseType #185

SpikeAndrea opened this issue Apr 3, 2023 · 0 comments

Comments

@SpikeAndrea
Copy link

Hi,

I have a problem through SANDBOX (https://api.sandbox.mangopay.com/) when create a request through SDK NET CORE CreatePayerAsync . I receive this error message: Message:  MangoPay.SDK.Core.ResponseException : {"Message":"One or several required parameters are missing or incorrect. An incorrect resource ID also raises this kind of error.","Type":"param_error","Id":"ce1e2c3f-31c5-4698-ace9-7a8118f9158b#1679080977","Date":1679080978.0,"errors":{"ClientLicenceType":"Your configuration can't accept users payer."}}

This is a payload

var request = new UserNaturalPayerPostDTO { Email = [email protected], FirstName = my_first_name, LastName = my_last_name, UserCategory = MangoPay.SDK.Core.Enumerations.UserCategory.PAYER, TermsAndConditionsAccepted = true };

Thanks

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

1 participant