ABF shipping gateway base written and working

by Joe Payne 2. February 2014 09:13

Spent some time this morning and put together the complete shell for an ABF shipping gateway in AbleCommerce Gold.    It’s only purpose is to provide tracking URL support for ABF shipments when marking orders as shipped.

It was interesting how Able has implemented a default provider interface, leveraged embedded resources and connected it all to specific configure and register pages in the admin.  I’ve worked on various shipping gateway pieces several times, but never a brand new AbleCommerce Gold gateway implementation.   Kinda slick how they did it.

I have to see if ABF will approve my request for an account.  It’s needed to access their API.   If I can get API access, I can build a fully functional gateway.

Now that the learning curve is over, it will be far easier for me to build new shipping gateways in AbleCommerce Gold.

Tags: ,

AbleCommerce Gold | Personal

Troubleshoot FedEx gateway responses in AbleCommerce Gold

by Joe Payne 1. November 2013 11:05

Here are some useful tips for troubleshooting the FedEx shipping gateway in AbleCommerce Gold.   

Occasionally you might have the situation where you do not see any shipping rates from FedEx.  This can happen during checkout, or even with the basket shipping estimator control.


The first step is to turn on the Debug Logging in the shipping gateway configuration as shown here.

Now every gateway request and response will be recorded to a log file found in the website.  The file is ~/App_Data/Logs/AblePlugins.FedEx.Log

To access this log file, you will either need to access your server console or have FTP access to the site.

With debug mode enabled, go make a rate request using any means you want.   Add an order through the backend, go to page 4 in checkout, or simply use the basket shipping estimator from the basket page.

Once you’ve triggered the rate request, now open the FedEx log file.   You will see a LOT of XML communication, this is how the plugin talks with the FedEx servers.  Search the file for any references to <ServiceType>

In the service type XML tag, you’ll see the actual service name being calculated.   It could say PRIORITY_OVERNIGHT or GROUND or INTERNATIONAL_STANDARD etc.   Each service type response is a valid shipping method for the given location you submitted.

If you don’t have those particular service types configured as shipping methods in AbleCommerce, you won’t see a shipping rate.   So just add an Integrated Carrier shipping method for each of the ServiceType responses you see in the log file.   Make sure you leave it configured for All Warehouses, All Zones, All Groups.  You can always change those values later.

Now request another rate estimate by either refreshing the page or using the shipping estimator.  You should see rates for shipping methods.

When dealing with international FedEx, this is the easiest way to figure out what exact shipping methods are being sent back to Able from FedEx.

Don’t forget to disable the Debug Mode on the integrated shipping carrier configuration page when you are done!

Tags: , , , ,

AbleCommerce Gold | Tech Support

Month List