Integration: Example Workflow - ChrisMavrommatis/Binacle.Net GitHub Wiki

Example Workflow for Ordering with Binacle.Net

1. Cart

  • Shopping: The user selects items and adds them to their shopping cart.
  • Checkout: The user decides to place their order and visits the checkout page.

2. Call Binacle.Net

  • Backend Processing: On the backend server, call Binacle.Net to determine if the user's items fit into any of the bins in a given bin preset.
  • Store Response: If the items fit into a bin, store the response for later use. Consider the weight limitations of the lockers during this process.

3. Checkout

  • Shipping Option Display: Based on the response from Binacle.Net, show or hide the option to ship to lockers when the checkout page loads.
  • User Selection: Assume the user wants to receive their order from a locker, and they click the locker shipping option.
  • Map Interface: A map opens, prompting the user to enter their zip code to zoom into their location, or navigate the map to see available lockers.
  • Locker Selection: The user finds a suitable locker, selects it.

4. Order Submission

  • Order Placement: User check the information in checkout and proceeds to complete their order.
  • Data Storage: Store the locker selection made by the user in the backend system.
  • Email Notification: Send a confirmation email to the user, including details of their order and the selected locker.

5. Shipment

  • Order Preparation: Once the order is ready for shipment, call the locker provider's API.
  • Provide Information: Provide the locker provider with the user's information, the selected locker, and the compartment size the order fits into.

6. Handoff to Locker Provider

  • Package and Ship: Package the order and hand it to the locker provider.
  • Customer Notification: The locker provider places the order in the selected locker and notifies the customer about the exact compartment where their order is stored.

By following this workflow, you can ensure a smooth and efficient process for integrating Binacle.Net into your ordering system, providing a seamless experience for users who choose locker shipping.