In today’s dynamic e-commerce landscape, integrating multiple platforms to provide a seamless shopping experience is essential. DecoNetwork recognizes this need and offers robust External Cart API settings, allowing you to integrate DecoNetwork with your existing e-commerce site effortlessly. By enabling external cart integration, you can host your main website separately while linking to your DecoNetwork site for product customization and purchase.
This integration means that the cart and checkout process is managed entirely on your external site, providing a unified shopping experience for your customers. They can seamlessly add DecoNetwork products, alongside other products you sell, to a single cart and complete the checkout process in one place. This approach not only enhances the user experience but also leverages the strengths of both platforms, allowing you to maintain your established e-commerce site while benefiting from DecoNetwork’s powerful customization and order management capabilities.
In this tutorial, we will guide you through the steps to configure the external cart API settings for your DecoNetwork website, ensuring a smooth and efficient integration.
Prerequisites
- Programming experience is required to integrate with DecoNetwork using External Checkout Integration. All integration is done using browser links and direct server-to-server communication across HTTPS.
- All payments will be marked as “External API Payment” which acts like a manual payment. It is your responsibility to make sure this payment is valid.
- You must have access to the “DataFeed” (go to /manage/data_feed) which is a zip file containing XML documents describing your products, including IDs used when integrating with DecoNetwork.
- This feature is only available on multi-store plans
- You must have administrator access to use this feature.
- You must have the External Cart API app enabled.
Configuring External Cart API settings on your website:
- Log into your DecoNetwork Website.
- If you are the Fulfillment Center, browse to Admin > Websites.
Select Manage for the store you want to enable the API Settings on.
- Select API Settings.
- Tick the Enable External Cart Integration checkbox.
- Enter the necessary information in the fields available.
- Add To Cart callback url: This is the URL on your external website that DecoNetwork will call when a customer adds a product to their cart.
Purpose: This callback URL ensures that when a product is added to the cart from your DecoNetwork site, the product information is sent to your external website, allowing it to be included in the cart on your main site.
- Cancel callback url: This is the URL on your external website that DecoNetwork will call if a customer cancels their order or removes an item from their cart.
Purpose: This URL ensures that when an order is canceled or an item is removed, the external site is notified so that it can update its cart and inventory accordingly.
- Commit order password: A password that is used to authorize the finalization of an order through the API.
Purpose: This field provides an extra layer of security by requiring a password to commit an order, ensuring that only authorized requests can complete the order process.
- Default shipping method: The default shipping method that will be used for orders if no specific shipping method is selected.
Purpose: This field ensures that there is always a predefined shipping method applied to orders, preventing any issues with orders lacking shipping details.
- P3P header: A Platform for Privacy Preferences (P3P) header is used to define the privacy policy of the external cart site.
Purpose: This field allows you to specify your site's privacy policy in a machine-readable format, which can help with compliance and inform users about how their data is handled.
- Options separator: This specifies the character or string used to separate product options in the cart. If left blank, two HTML newlines ("<br/><br/>") will be used by default.
Purpose: This field allows you to customize how product options are displayed, ensuring they are formatted correctly and clearly on your external site.
- Require external integration: A setting that determines whether external integration is mandatory for the checkout process.
Purpose: When enabled, this setting ensures that all cart and checkout actions must be processed through the external website, providing a consistent and integrated shopping experience.
Tick the Require external integration checkbox to enter a Redirect URL if accessing the site directly.
- Add To Cart callback url: This is the URL on your external website that DecoNetwork will call when a customer adds a product to their cart.
- Click Save to save the changes.
Comments
0 comments
Please sign in to leave a comment.