PrestaShop shipping carrier settings required for STC's API
STC's API expects the following:
| Shipping Method | Value |
|---|---|
| US Priority Mail | M02 |
| UPS Ground | UGR |
| UPS Orange | U3DR |
| UPS Blue | U2DR |
| UPS Red | U1DR |
| International UPS | UWEPR |
| FedEx Ground | FG |
| FedEx 2nd Day | F2DR |
The values above are what is needed by STC's API to process orders. I use the following key words for these values, your carrier name must match one of these below:
$UGR = "Ground";
$U3DR = "3 Day Select";
$U2DR = "2nd Day Air";
$U1DR = "Next Day Air";
$UWEPR = "Worldwide";
$M02 = "USPS";
$FG = "FedEx Ground";
$F2DR = "FedEx 2nd Day";
$Fed1 = "Fedex 2 day";
$UPS1 = "UPS Next Day Air";
$UPS2 = "UPS Second Day Air";
$UPS3 = "UPS Three-Day Select";
$UPS4 = "UPS Ground";
$UPS5 = "UPS Worldwide Express";
$USPS1 = "First Class";
$USPS2 = "Priority";
$USPS3 = "Express";
and I have my PrestaShop setup with the following names for each carrier:

Notice the highlighted area your shipping carrier names need to have the same information. You'll also notice I have two USPS Priority Mail carriers with different delivery times, this is because they both cover different shipping zones. One for the US and the other for Canada.
In short if you make your PrestaShop shipping carrier names look like the image above, the STCtoPresta API will be able to send your orders to STC.
PrestaShop v1.4 finally uses UPS, FedEX and USPS. The carrier names the modules create are accounted for. If you have any problems with the API not getting the correct code, please contact me.