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 params to create a purchase? #778

Open
manuelmdn opened this issue Jul 20, 2023 · 1 comment
Open

Missing params to create a purchase? #778

manuelmdn opened this issue Jul 20, 2023 · 1 comment
Labels

Comments

@manuelmdn
Copy link

I'm trying to create a purchase but I receive the following error

Account billing info: Country is not a valid 2 letter iso 3166 country code

image

but if I add the billing country info shows this error

No other billing_info attributes are allowed when a token_id is provided.

image

Is there something I'm missing?

I'm using
PHP 7.4.33
Recurly: recurly/recurly-client": "^4.37"

I'm following the next guides
https://recurly.com/developers/guides/purchases.html
https://recurly.com/developers/api/v2021-02-25/index.html#operation/create_purchase

@douglasmiller
Copy link
Contributor

@manuelmdn, it is accurate that you cannot submit additional billing info properties while submitting a billing info token that was created with recurly.js. Are you specifying the country code in the form that you are using to create your recurly.js token?

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

2 participants