active_shipping
active_shipping copied to clipboard
Add Discounts to Rate Output
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
Any chance you can create a PR for it?
will do