Anybody have xp with the shipping webhook?
Finally got a lambda handing business logic to return
{
"statusCode": 200,
"headers": {
"Content-Type": "application/json"
},
"body": {
"rates": [
{
"cost": "3.99",
"description": "Flat Rate (Estimated delivery: Oct 4– 6) "
}
]
}
}
when the shipping webhook is called but continually get
code: "snipcart.errors.shipping.no_rates_found"
message: "No shipping method available for your order."
reason: "no-rates-found"
as a response on snipcarts side. Have been bashing my head against this all day.