Help for integrating the Laravel package
Forum rules: Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#4238 by bill
26 May 2017, 21:01
I want to display differnet FEDEX returned rates by using there api and display these on the checkout page ? is that possible?

basically I want to install laravel package like this one >> https://github.com/Arkitecht/fedex-laravel

and I want to send to it weight and shipping address and it will return FEDEX rates at the checkout? what is the best way to do that?

Thanks
#4243 by aimeos
29 May 2017, 10:02
You have to implement an Aimeos delivery service provider (or decorator) that uses the sizes/weight of all products in the basket and asks the FedEx API for the shipping costs. Implement the calcPrice() method for this:
- https://aimeos.org/docs/Developers/Library/Service
- https://aimeos.org/docs/Developers/Library/Service/Common_methods#Calculate_a_service_fee