I want to get a shipping quote from a company via XML Web Services. The return values contain multiple options: < Response >
< ErrorCode > 0 < /ErrorCode >
< ErrorText > success < /ErrorText >
< Option >
< Description > USPS First Class Mail < /Description >
< DeliveryTime > 2-5 days < /DeliveryTime >
< Price > 1.29 < /Price >
< /Option >
< Option >
< Description > UPS Ground < /Description> >
< DeliveryTime > 2-4 days < /DeliveryTime >
< Price > 7.90 < /Price >
< /Option >
< Option >
< Description > Fedex guaranteed 3-day < /Description> >
< DeliveryTime > 3 days < /DeliveryTime >
< Price > 8.24 < /Price >
< /Option >
< Response >
I would like to populate the shipping page with this information, but the Shipping Modules only seem to return one ShippingQuote. Am I going to have to implement different modules for each of the types and return null if the option isn't available?
Also, I am trying to integrate with a fulfillment company and I am ending up modifying the WorldPay callback class to automatically send the order to the fulfillment company. Is there a modular structure to fulfillment that I may have missed?
Cheers,
Steve
< ErrorCode > 0 < /ErrorCode >
< ErrorText > success < /ErrorText >
< Option >
< Description > USPS First Class Mail < /Description >
< DeliveryTime > 2-5 days < /DeliveryTime >
< Price > 1.29 < /Price >
< /Option >
< Option >
< Description > UPS Ground < /Description> >
< DeliveryTime > 2-4 days < /DeliveryTime >
< Price > 7.90 < /Price >
< /Option >
< Option >
< Description > Fedex guaranteed 3-day < /Description> >
< DeliveryTime > 3 days < /DeliveryTime >
< Price > 8.24 < /Price >
< /Option >
< Response >
I would like to populate the shipping page with this information, but the Shipping Modules only seem to return one ShippingQuote. Am I going to have to implement different modules for each of the types and return null if the option isn't available?
Also, I am trying to integrate with a fulfillment company and I am ending up modifying the WorldPay callback class to automatically send the order to the fulfillment company. Is there a modular structure to fulfillment that I may have missed?
Cheers,
Steve