Want to discuss about issue i faced and suggestions on it.
quote_shipping_rate table's column
code's allowed length is 255 but in
quote_address table's column
shipping_method's length is 40 only.
So when setting carrier and method in shipping method it combines both and saving in table
So here if combined code length exceeds 40 character then loosing characters from index 41.
With this configuration i can reach checkout payment page. But after that i am getting
"An error occurred on the server. Please try to place the order again"
- List item
- Magento Version : 2.1.6 (community-edition)
- PHP : 7.0.24
- MySQL : 5.7.19
Steps to reproduce
- Add new shipping method Reference for Creating New Shipping Method
- Try checkout by selecting this shipping method
- At Payment checkout step error will be triggered
- It should place order successfully
shipping_method's length from 40 to 255 (It should be same as
code's length 255)
- The error is not catchable so i am suggesting this update.
Original bug on github.