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

node_orders-payments: bad request to /checkout/add-loyalty-account #267

Open
mckhames opened this issue Jul 23, 2021 · 1 comment
Open
Labels

Comments

@mckhames
Copy link

I have setup the loyalty program within my Square Sandbox Dashboard, but receive a 400 error when attempting to add a phone number to loyalty program. My server is console logging a 500 error when attempting POST /order-confirmation-add-loyalty-point AND POST /checkout/add-loyalty-account

Response status code was not ok: 400. [ { "code": "BAD_REQUEST", "detail": "Must provide phone_number in the mapping field", "category": "INVALID_REQUEST_ERROR" } ]

Anyone else having the same problem? Any assistance would be much appreciated.

@mglombicki-square
Copy link
Contributor

Would you be able to share either the body of your request or a code snippet?

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