Hi OFBiz Dev Team, Brief background: We, McFadyen Solutions are trying to integrate our Oracle eCommerce Application with OFBiz OMS services. We would be using the REST API services exposed by OFBiz to create orders in OFBiz from the eCommerce application. We also want to integrate credit card authorization for post-auth purpose from OFBiz. We have some questions on the integrations which we could not find in the documentation provided on the site: 1) Since OFBiz has fulfillment features, when an item is shipped, how and where should the integration happen so that OFBiz application gets the "shipped" event? 2) How do we integrate with the warehouse which would tell us when item is shipped? 3) When any changes related to Order are made in OFBiz application, how can we extend the OFBiz application to pass those change events to any external system(eg. the Oracle eCommerce Application in this case). How do we get a handle on
the change event and what the change was? 4) Once we update the status of the order to "Shipped" in OFBiz, how should we trigger the post-auth on the credit card for funds capture? Please provide pointers on the above questions. It would really help us in doing a successful integration between the Oracle eCommerce Application and OfBiz application framework All help in highly appreciated. Thanks -Gopal.
|
Hi Gopal,
Welcome to the community, glad to know that you are choosing OFBiz for this integration. Please find response inline Best regards, Pranay Pandey HotWax Systems http://www.hotwaxsystems.com/ skype: pranay.pandey cell: +91 982.603.5576 On Tue, Apr 5, 2016 at 10:00 PM, Gopal Nayak <[hidden email]> wrote: > Hi OFBiz Dev Team, > > > > Brief background: We, McFadyen Solutions are trying to integrate our > Oracle eCommerce Application with OFBiz OMS services. We would be using the > REST API services exposed by OFBiz to create orders in OFBiz from the > eCommerce application. > > We also want to integrate credit card authorization for post-auth purpose > from OFBiz. > > > > We have some questions on the integrations which we could not find in the > documentation provided on the site: > > > > 1) Since OFBiz has fulfillment features, when an item is shipped, how and > where should the integration happen so that OFBiz application gets the > "shipped" event? > Are you willing to manage inventory as well in OFBiz? or OFBiz will get notified for any shipment completed from other system? OOTB OFBiz fulfillment process creates a Shipment which has it's status transitions from PICKED ==> PACKED ==> SHIPPED. Answers to the above given questions will help in guiding better. For initiating the order fulfillment process you have to go to facility manager here <http://demo-stable-ofbiz.apache.org/facility/control/main?externalLoginKey=EL731114747043> . and start the Picking process from here <http://demo-stable-ofbiz.apache.org/facility/control/PicklistOptions?facilityId=WebStoreWarehouse> . Once items are picked you can go ahead and do Packing and then move it for shipping. The other way is to do quickship from Order view itself on sales order view, you will find a quickship. You can try both of these and find the best fit for your system. > > 2) How do we integrate with the warehouse which would tell us when item is > shipped? > Please refer details given for #1. > > > 3) When any changes related to Order are made in OFBiz application, how > can we extend the OFBiz application to pass those change events to any > external system(eg. the Oracle eCommerce Application in this case). How do > we get a handle on the change event and what the change was? > You can write service on order change which posts data to desired server. OOTB OFBiz services can be referred from here <http://demo-stable-ofbiz.apache.org/webtools/control/ServiceList;jsessionid=9AE0C7CDDBA9BD41C8754BDC575E6434.jvm1> . > > > 4) Once we update the status of the order to "Shipped" in OFBiz, how > should we trigger the post-auth on the credit card for funds capture? > What do you mean by post auth? When order is placed, if you do pre-auth for required payment for the order, at the time of fulfillment that authorized amount is captured, do you mean- you want to cross verify if the payment was successfully captured or not on previously authorized transaction? > > > Please provide pointers on the above questions. It would really help us in > doing a successful integration between the Oracle eCommerce Application and > OfBiz application framework > There are few questions that I have put inline, please let us know the answers and we can find the best possible solutions with OFBiz. > > > All help in highly appreciated. > > > > > > Thanks > > -Gopal. > > *GOPAL* > > *NAYAK* > > > > [image: McFadyen Solutions] <http://mcfadyen.com/> > *eBusiness Integrators* > Offices in the US and India > Specializing in eCommerce, Content Management & Social Media > > http://www.mcfadyen.com <http://mcfadyen.com/> > [image: McFadyen Solutions on LinkedIn] > <https://www.linkedin.com/company/mcfadyen-solutions>[image: McFadyen > Solutions on Twitter] <https://twitter.com/mcfadyen_solns>[image: > McFadyen Solutions on Facebook] > <https://www.facebook.com/McFadyenConsulting> > > *Delivery Lead / Sr. ATG Architect* > [hidden email] > tel 972.381.2721 | cell 210.863.5564 | fax 703.821.4005 > 6860 Dallas Pkwy, STE 219, Plano, TX 75024 > > > > > |
Hi Narayanan,
The approach you are following is good i.e. not to change any existing implementation instead doing extension as required. Just to give one add-on information on managing customization, here is a document that will guide you for the best practices for addressing any custom requirement. Please find rest of the details inline: Best regards, cell: +91 982.603.5576 On Wed, Apr 6, 2016 at 11:54 AM, Narayanan Ramachandran <[hidden email]> wrote:
You can have look varous triggers (ECAs) written on service "changeOrderItemStatus" and "changeOrderStatus" in applications/order/servicedef/secas.xml.
Good to know that.
It depends on the integration type you want to have. You can define API(If you don't already have one) in your system where you want to import and processing as it's done in OFBiz. This way whenever an order placed or any change is made you can make calls to your system through API based on details expected specific method being called. For this definitely you will need to write a custom service in OFBiz without touching anything in OOTB impelementation i.e. in your hot-deploy component and you can call that as needed, as trigger basically. This service will take care of calling the required service from your system to import changes.
Please refer details given for last point.
I don't actually understand this point. Please elaborate.
Very good to know that, please refer the document link I have given in this email for best practices for addressing custom requirements in OFBiz. Towards the end of the document you will also find link to other good document on How to Extend an existing component in customized application. HTH.
|
Free forum by Nabble | Edit this page |