You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UPS carrier doesn't allow an empty company name in the from_address object which is the stock_location object serialized.
This happens because the gem uses the same serializer for the shipment and the stock location.
Problem
UPS carrier doesn't allow an empty company name in the
from_address
object which is thestock_location
object serialized.This happens because the gem uses the same serializer for the shipment and the stock location.
solidus_easypost/app/decorators/models/solidus_easypost/spree/address_decorator.rb
Line 16 in 3afa657
The stock location hasn't the company attribute and it isn't sent to Easypost.
How to replicate
Try to ship a shipment with a UPS shipping method.
Possible solution
Use different
easypost_address
method for the stock location using the name as the company.Screenshot
The text was updated successfully, but these errors were encountered: