Viewing 3 replies - 1 through 3 (of 3 total)
  • Conra

    (@conradogalli)

    This plugin has lot of errors, I recommend you to look into this plugin: shop.wanderlust-webdesign.com/shop/print-usps-fedex-ups-shipping-labels-via-woocommerce will do the work for you.

    Thread Starter wcrllc

    (@wcrllc)

    For anyone else interested in getting MediaMail to work with this plugin.
    I added the line
    "options" => array('special_rates_eligibility' => 'USPS.MEDIAMAIL')
    to line 208 in the section

    $shipment = \EasyPost\Shipment::create(
            array(
              "to_address"   => $to_address,
              "from_address" => $from_address,
              "parcel"       => $parcel,
              "options"      => array('special_rates_eligibility' => 'USPS.MEDIAMAIL')
            )
          );

    And that seemed to fix the MediaMail issue

    Thread Starter wcrllc

    (@wcrllc)

    I also had to remove MediaMail from line 222 so that it now is
    $filter_out = !empty($this->filters) ? $this->filters : array('LibraryMail');
    since just removing the MediaMail text in the settings page of the plugin for the filter field didn’t do the trick.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Media Mail’ is closed to new replies.