Module Does Not Properly Handle Ship To Addressee Info

Create issue
Issue #1218 resolved
Tom Clancy created an issue

Instead of providing the ship to addressee, the module reuses in get_standard_charge_data(). I've hacked together a work-around, but I'm sure there's a better way of doing this:

{{{ #!python

ship_names = order.ship_addressee.split() first_name = ship_names[0] if len(ship_names) > 1: last_name = ' '.join(ship_names[1:]) }}}

and then using those in the post data.

Comments (2)

  1. Tom Clancy reporter

    And of course I left a big old bug in there. Third line should be, last_name = '', then figure out if there is a last name available.

  2. Log in to comment