Suddenly our custom shipping via webhook integration is no longer supported. Our rate request and response works correctly and the user can select custom rates via our API, but after they put in card information the payment fails with the following error code:
{
"kind": "cart-confirmation",
"reason": "shipping-validation-failed",
"technicalReason": {
"title": null,
"description": "Selected shipping method doesn't match any shipping method configured inside the account. Review configuration in <a href=\"https://app.snipcart.com/dashboard/carriers\">Store Configuration > Shipping</a>. See developer console for more details."
},
"data": {
"valid": false,
"message": "Selected shipping method doesn't match any shipping method configured inside the account.",
"carrierErrors": null
},
"code": "snipcart.errors.order_validation.shipping_validation",
"message": "Shipping method couldn't be validated."
}
This is new, we have not seen this before. We have no shipping methods or carriers set up on the snipcart administration. UserDefinedId has been historically getting passed through to the order.completion webhook successfully.
Is anyone else running shipping via webhooks that can advise on what needs done here? Not ideal, this is effecting production. Ideally we don’t need to create shipping methods because they can change depending on the location of our customer and the usage of our shipping provider aggregation service.
