Skip to content


Add Discounts to Rate Output #152

rdaniels opened this Issue · 2 comments

2 participants


Love the gem, nice work!
I'm getting a discount from FedEx and I'd like to split it with my customers. There is a TotalFreightDiscount field in the FedEx return. Any chance you could add this to Rates and Rate_Estimates? I'm using my own gem to call ActiveShipping, so I can't add my own github fork to my .gemspec file

fedex.rb, line 370

:total_discount => rated_shipment.get_text('RatedShipmentDetails/ShipmentRateDetail/TotalFreightDiscounts/Amount').to_s.to_f

Shopify member

Any chance you can create a PR for it?


will do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.