Zen Follower
- Join Date:
- May 2008
- Posts:
- 453
- Plugin Contributions:
- 0
list of shipping IDs?
Hi -
I'm modifying a bit of code, and need to know the text used as the shipping IDs for UPS shipments. By way of example, I'm using the following test:
if ($_SESSION['shipping']['id'] != 'usps_EXPRESS'
&& $_SESSION['shipping']['id'] != 'usps_PARCEL'
&& strpos($_SESSION['shipping']['id'], 'ups') != 0
&& !IS_ADMIN_FLAG)
{
The USPS examples worked perfectly, but when I added the line for UPS, the test failed when UPS shipping was selected. My conclusion is that the UPS strings are something other than what I expected them to be.
I don't know how to look these up; can someone tell me what the correct strings are?
Thanks.