{"id":11158,"date":"2024-08-20T12:57:48","date_gmt":"2024-08-20T12:57:48","guid":{"rendered":"https:\/\/spreecommerce.org\/?post_type=cpt_integrations&#038;p=11158"},"modified":"2024-08-21T17:56:46","modified_gmt":"2024-08-21T17:56:46","slug":"fosdick-and-spree-integration","status":"publish","type":"cpt_integrations","link":"https:\/\/spreecommerce.org\/integrations\/fosdick-and-spree-integration\/","title":{"rendered":"Fosdick and Spree integration"},"content":{"rendered":"\n<p><a href=\"http:\/\/www.fosdickfulfillment.com\/\">Fosdick Fulfillment<\/a>&nbsp;is a logistics company specializing in retail distribution services with 51 years of service and over 3.75 billion packages shipped.<\/p>\n\n\n\n<p>The integration of Fosdick with your Spree Commerce store can be done quickly and easily following the guidelines mentioned below.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The benefits of using Fosdick for your eCommerce business<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">eCommerce Fulfillment<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Provides for a smooth transition for your eCommerce needsData Driven Technology- Pertinent data such as Inventory, Customer Status, Production, Tracking is available 24\/7. Multiple access points for API File Exchange, traditional reporting, Web Portal Access.<\/li>\n\n\n\n<li>Omni Channel Integrations \u2013 Ability to Integrate with a variety of EDI challenges to facilitate Direct to Consumer storefront, Full-Service Order Processing, third-party drop shipping, Full Retail Distribution, and Wholesale Distribution.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Subscription Box Fulfillment<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Easily Scalable<\/li>\n\n\n\n<li>Kit Assembly, Shipping, and Returns Processing<\/li>\n\n\n\n<li>Can easily handle multiple variations<\/li>\n\n\n\n<li>Proprietary software monitors kit inventory, assembly, reporting<\/li>\n\n\n\n<li>Complete Order Visibility: can track and report<\/li>\n\n\n\n<li>Everything from order receipt to final delivery<\/li>\n\n\n\n<li>Add to Box<\/li>\n\n\n\n<li>Lot tracking<\/li>\n\n\n\n<li>Daily eCommerce\/Shop orders<\/li>\n\n\n\n<li>Personalized Note Cards<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Retail Distribution<\/h3>\n\n\n\n<p>The ability to interface with the most common retail data exchange platforms including Electronic Data Interchange (EDI), File Transport Protocol (FTP) or Applicability Statement 2 (AS2). While the most common of these is EDI, regardless of your current set up, Fosdick can integrate with your systems and receive and process data in a fashion that is custom-tailored to work with your systems.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">TV Direct Response<\/h3>\n\n\n\n<p>Television Direct Response or DRTV is a powerful marketing engine that empowers consumers with product knowledge and drives direct sales over the telephone, through the web, and all ancillary channels of distribution. Fosdick is a pioneer and the undisputed leader of fulfillment solutions for products sold via infomercials and commercials featuring toll-free numbers and website addresses for direct ordering.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Online Marketplace Direct Shipping<\/h3>\n\n\n\n<p>Whether you sell out of your own dedicated website or through the major e-tailers like Amazon.com, Walmart.com, Target.com or whomever, Fosdick\u2019s EDI interfaces allows them to instantaneously send orders for inventory stored in the warehouse, where they are picked and packed and shipped directly to your customer and send tracking and confirmation information back to your e-tailer.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to integrate Fosdick with Spree<\/h2>\n\n\n\n<p>This&nbsp;<a href=\"https:\/\/github.com\/jetruby\/spree_fosdick_integration\">gem<\/a>&nbsp;provides easy integration for you Spree Commerce based apps with full-service fulfillment services of Fosdick Fulfillment.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installation<\/h2>\n\n\n\n<p>Add this line to your application\u2019s Gemfile:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">gem 'spree_fosdick_integration'<\/pre>\n\n\n\n<p>Bundle your dependencies and run the installation generator:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bundle\nbundle exec rails g spree_fosdick_integration:install<\/pre>\n\n\n\n<p>Update&nbsp;<code>config\/fosdick.yml<\/code>&nbsp;with your credentials received from Fosdick<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/github.com\/jetruby\/spree_fosdick_integration#usage\"><\/a>Usage<\/h2>\n\n\n\n<p>Create a rake task to push shipments to Fosdick iPost interface:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>desc \"Push shipments to Fosdick iPost interface\"\ntask push_shipments_fosdick: :environment do\n  eligible_shipments = Spree::Shipment.perform_fosdick_shipments\n\n  if eligible_shipments.present?\n    eligible_shipments.each do |shipment|\n      Fosdick::Processor.send_shipment(shipment, FOSDICK_CONFIG)\n    end\n  end\nend\n<\/code><\/pre>\n\n\n\n<p>Create a rake task to receive shipment information from Fosdick API:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>desc \"Receive shipment information from Fosdick API\"\ntask receive_shipments_fosdick: :environment do\n  eligible_shipments = Spree::FosdickShipment.eligible_fosdick_shipments\n\n  if eligible_shipments.present?\n    eligible_shipments.each do |fosdick_shipment|\n      # get tracking details\n      Fosdick::Processor.receive_shipment({external_order_num: fosdick_shipment.external_order_num }) if fosdick_shipment.tracking_number.nil?\n      # get ship_date\n      Fosdick::Processor.receive_shipment({external_order_num: fosdick_shipment.external_order_num }, 'shipments.json') if fosdick_shipment.ship_date.nil?\n    end\n  end\nend\n<\/code><\/pre>\n\n\n\n<p>Override the email view to customize:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>app\/views\/spree\/fosdick_shipment_mailer\/order_shipped.html.erb\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Testing<\/h2>\n\n\n\n<p>Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bundle\nbundle exec rake test_app\nbundle exec rspec spec<\/pre>\n\n\n\n<p>When testing your applications integration with this extension you may use it\u2019s factories. Simply add this require statement to your spec_helper:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">require 'spree_fosdick_integration\/factories'<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Fosdick Fulfillment&nbsp;is a logistics company specializing in retail distribution services with 51 years of service and over 3.75 billion packages shipped. The integration of Fosdick with your Spree Commerce store can be done quickly and easily following the guidelines mentioned below. The benefits of using Fosdick for your eCommerce business eCommerce Fulfillment Subscription Box Fulfillment [&hellip;]<\/p>\n","protected":false},"featured_media":0,"template":"","meta":{"_acf_changed":true,"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":""},"cpt_integrations_category":[988],"class_list":["post-11158","cpt_integrations","type-cpt_integrations","status-publish","hentry","cpt_integrations_category-shipping"],"acf":[],"_links":{"self":[{"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/cpt_integrations\/11158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/cpt_integrations"}],"about":[{"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/types\/cpt_integrations"}],"wp:attachment":[{"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/media?parent=11158"}],"wp:term":[{"taxonomy":"cpt_integrations_category","embeddable":true,"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/cpt_integrations_category?post=11158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}