Code snippet to’ address in Stamps plugin

The code snippet facilitates to’ address.

Add the following code tor –> functions.php.

Suppose custo place an order ‘90746-4028’. The above code snippet will ignore the postcodes after ‘-‘, so 4028 will be ignored and only ‘90746’ will be considered. Using the first 5 digits for postcode works perfectly with Stamps API.

Scroll to Top