500 errors on create customer
Hi,
I'm getting this return when I attempt to create a customer after a successful validation. Please let me know what additional information you require.
Thanks
Cheddar response:
{
"error": {
"@id": "",
"@code": "500",
"@auxCode": "1002",
"#text": "An unexpected error occured. Please try again later."
}
}
Discussions are closed to public comments.
If you need help with Cheddar please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Meghan Turner on 29 Apr, 2019 09:17 PM
Hi Drew,
Are you sending in a value for the
subscription[ccCountry]
parameter with the create customer request? When you use CheddarPay, that parameter is required.Meghan
2 Posted by Drew Krumel on 29 Apr, 2019 09:25 PM
Hi Meghan,
We are using the ccCountry field. Below is an example payload
Support Staff 3 Posted by Meghan Turner on 29 Apr, 2019 09:42 PM
Thanks for that! Just to check, are you using the ISO 3166-1 alpha-3 country code (e.g.
MEX
instead ofMexico
)?I've looked up the most recent transaction attempts from your product account in our logs and the request that's going to the CheddarPay gateway looks like this:
If you're not using the correct format it might explain why the country is listed as
null
, but let me know if that's not the case and I'll keep digging!Meghan
4 Posted by Drew Krumel on 29 Apr, 2019 10:18 PM
Hi Meghan,
Thanks that fixed the issue.
One last question is there a way to re-enable developer mode?
Drew
Support Staff 5 Posted by Meghan Turner on 29 Apr, 2019 10:45 PM
You can downgrade back to dev by logging in and visiting this page, but if you have any customer data in your product account, I'd suggest leaving it in production mode as downgrading back to dev will automatically delete it. If you'd like to have a product account for testing, just create a new product here.
To keep the new account in free dev mode, just don't add a credit card at the Go Live step of the Quick Setup and click on the cheese in the upper left corner to navigate to the Dashboard instead.
Let me know if you have any other questions!
Meghan
6 Posted by Drew Krumel on 30 Apr, 2019 04:26 AM
Hi Meghan,
Thank you for your help. Everything is resolved.
Best,
Drew
Meghan Turner closed this discussion on 02 May, 2019 08:51 PM.