Fix subscription checkout shipping calculation
This commit is contained in:
parent
f65169ebbc
commit
e52c763234
@ -62,9 +62,9 @@ def get_shipping_cost(total_weight, postal_code):
|
||||
else:
|
||||
container = "large_flat_rate_box"
|
||||
|
||||
shipping_cost = get_quote(postal_code, total_weight, container)
|
||||
shipping_cost = get_quote(postal_code, str(total_weight.lb), container)
|
||||
|
||||
return shipping_cost
|
||||
return Decimal(shipping_cost)
|
||||
|
||||
|
||||
def build_usps_rate_request(weight, container, zip_destination):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user