Hello,
We have been working with William and Kyle to set up a sandbox /Custom Integration account to allow some internal simulation Testing.
We have been following the procedures provided in this doc: https://github.com/ordoro/api-examples/wiki/Building-a-custom-e-commerce-integration
Below is a copy of an email I just sent to William with the specifics.
Essentially, we are having an issue creating Orders via the API for this custom cart.
Thanks for any help or insight you can provide.
Paul.
Hello William,
I have a question about using the API with the custom cart as indicated below.
Things don’t seem to be operating quite as expected.
Who would be the best person to ask about this?
- Essentially, I have created a custom cart (name is “Sim Test Cart1”, cart ID “105246”), this worked.
- I then tried creating an order in the custom cart. This told me that it was successful, but when I log into Ordoro it is not found.
- Also If I try to create the same order a 2nd time, I get an error stating that the order already exists, but this time it has a “1-” prepended to the order number.
Not sure where to go from here?
I have copied the order details below:
{
"order_id": “4116”,
"cart": “105246”,
“order_date”: “2020-08-14 22:25:10”,
“shipping_address”: {
“name”: “Stephen Franklin”,
“street1”: “1916 N Verdugo Road”,
“street2”: “6”,
“city”: “Glendale”,
“state”: “CA”,
“zip”: “91208-2662”,
“country”: “US”,
“email”: “sef4pres@aol.com”,
“phone”: “8186067720”
},
“billing_address”: {
“name”: “Stephen Franklin”,
“street1”: “1916 N Verdugo Road”,
“street2”: “6”,
“city”: “Glendale”,
“state”: “CA”,
“zip”: “91208-2662”,
“country”: “US”,
“email”: “sef4pres@aol.com”,
“phone”: “8186067720”
},
“tags”: [
{
“text”: “POLY - Small”,
“color”: “#0000FF”
},
{
“text”: “Single Item Order”,
“color”: “#0000FF”
},
{
“text”: “Single Tee”,
“color”: “#0000FF”
}
],
“product_amount”: “30”,
“tax_amount”: “0”,
“grand_total”: “34.1”
}
The error received after trying this again is:
Http Code: 400
{
"error_message": “An order with id ‘1-4116’ already exists”,
“param”: null
}
Logging into the Sandbox account, no orders are found.
Thanks for your assistance,
Paul