Woocommerce Integration

With the WooCommerce Wordpress integration plugin, you can automatically create ready-to-print shipping labels for USPS based on the items in an order or weight of the order. seamlessly accesses the latest USPS rates when creating your labels in the order system backend, giving you unprecedented reliability, ease and speed.

Error when trying to create shipping labels with extended zip code

Edit the wf_create_package function in the class-wf-shipping-stamps-admin.php file with the following code right before the function return. This will remove all the characters in the zip code after the 5th character and keep only the first 5 digits.

$order->shipping_postcode = substr($order->shipping_postcode, 0, 5);

Was this answer helpful?

 Print this Article

Also Read

Stripe Payment Gateway Javascript Error in Wordpress Woocommerce

Error: Please make sure your card details have been entered correctly and that your browser...

Bots bypass Wordpress registration page

This article will help eliminate the overload of bot created users. They are spamming the...

Powered by WHMCompleteSolution