Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Revert ups.rb back to 6b5cfd5 #2

Merged
merged 1 commit into from
Aug 21, 2018
Merged

Revert ups.rb back to 6b5cfd5 #2

merged 1 commit into from
Aug 21, 2018

Conversation

emmercm
Copy link

@emmercm emmercm commented Aug 21, 2018

Required for https://github.com/stockx/freighter/pull/122.

The issue with submitting prepay = false right now is we're guaranteed to be taking on the duties and taxes as the sender (DDP). There is a terms_of_shipment = 'DDP' flag that when set adds a duplicate ShipmentCharge and causes a validation fail on UPS' end. The default here should be DDU (receiver will pay duties and taxes), the ShipmentCharge should only be added with terms_of_shipment = 'DDP' flag.

@emmercm emmercm merged commit ffe9428 into master Aug 21, 2018
@emmercm emmercm deleted the emmercm/ddp branch August 21, 2018 15:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants