<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nicholas Speeter on Medium]]></title>
        <description><![CDATA[Stories by Nicholas Speeter on Medium]]></description>
        <link>https://medium.com/@nicholas.speeter?source=rss-31c014271f40------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*nohON9O1021zTWD3.jpg</url>
            <title>Stories by Nicholas Speeter on Medium</title>
            <link>https://medium.com/@nicholas.speeter?source=rss-31c014271f40------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 08:16:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nicholas.speeter/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Integrating cryptocurrency, crypto payments and commercetools]]></title>
            <link>https://medium.com/commercetools-tech/cryptocurrency-and-commercetools-42c6b3f838a0?source=rss-31c014271f40------2</link>
            <guid isPermaLink="false">https://medium.com/p/42c6b3f838a0</guid>
            <category><![CDATA[commercetools]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[ecommerce]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[crypto]]></category>
            <dc:creator><![CDATA[Nicholas Speeter]]></dc:creator>
            <pubDate>Fri, 14 Jan 2022 16:01:07 GMT</pubDate>
            <atom:updated>2022-10-17T15:21:01.133Z</atom:updated>
            <content:encoded><![CDATA[<p>Bitcoin and other cryptocurrencies continue to gain mainstream traction as a digital currency. This post outlines three methods of integrating cryptocurrency with your <a href="https://docs.commercetools.com/docs/">commercetools</a> project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/0*DjzQIFbn9TvjgMs0" /></figure><p>In the past 3 months (Q4 2021), one Bitcoin was valued at an average of 47,548.40 US dollars. These digital coins have value in many online marketplaces. Popular websites and mobile applications such as Overstock.com, NewEgg, Twitch, Twitter, and Wikipedia.com currently accept Bitcoin. The technical aspects of implementing bitcoin into your very own online store and commercetools project are outlined below.</p><p>A Bitcoin is stored as a file in a digital wallet and transactions are recorded in the blockchain. This blockchain ledger records all Bitcoin transactions in a distributed computing fashion. Bitcoin transactions from wallet to wallet can occur in a variety of ways. You’ll need a payment provider or your own manual implementation to accept Bitcoin in your webstore.</p><p>The steps below explain how to use the Coinbase Commerce API provider integration. The Coinbase Commerce API provides an easy to use and powerful REST API to integrate Bitcoin, Bitcoin Cash, DAI, Ethereum, Litecoin, Dogecoin, and USDC payments into your business applications. These steps for integrating the Coinbase API and commercetools backend allow for your webstore, mobile application, etc. to accept charges with cryptocurrency and track the status on a commercetools payment.</p><ol><li><strong>Sign up and Setup your store’s Coinbase Commerce</strong> using the link below and get your API_KEY.</li></ol><p><a href="https://commerce.coinbase.com/">Accept Bitcoin</a></p><p>2. <strong>Checkout Coinbase Commerce</strong></p><p><a href="https://github.com/coinbase/coinbase-commerce-node">coinbase/coinbase-commerce-node</a></p><p>Available on npm:</p><pre>npm install coinbase-commerce-node</pre><p><strong>Coinbase Commerce API:</strong> <a href="https://commerce.coinbase.com/docs/api/">https://commerce.coinbase.com/docs/api/</a></p><p>3. <strong>Setup your backend </strong>AWS lambda (or similar cloud function service) behind an API Gateway for your backend Coinbase Commerce code. Kubernetes could be utilized for your backend as well (AWS EKS, Google GKE etc.) You will need to setup services to push Bitcoin wallet payments to the merchant account. A <strong>charge </strong>representing the payment is created when a customer requests to pay with Bitcoin. When a customer makes a cryptocurrency payment, they generate a <strong>transaction</strong> that is then broadcast to the cryptocurrency network for validation/confirmation.</p><p>Use the Coinbase Commerce API to dynamically create charges. The API returns the charge object with payment addresses for each currency as well as a URL to a page where the customer can complete payment. After a charge is created using the Commerce API, Coinbase starts monitoring these unique addresses on the respective networks to detect any inbound payments. Each charge has an associated <strong>payment status</strong>.</p><p>Payment status changes to <em>Pending </em>when the customer’s transaction is detected on the blockchain. <em>Pending </em>transactions have not yet been validated by the blockchain network. Once the transaction is validated by the blockchain the payment status moves to <em>Completed.</em></p><p>Please note the <em>unresolved</em> payment states as well in the flow chart on <a href="https://commerce.coinbase.com/docs/">https://commerce.coinbase.com/docs/</a>. Unresolved payment status can be manually updated through the API to indicate a resolution.</p><p>Cryptocurrencies rely on the customer sending the payment to the merchant. Coinbase sets an expiration time for a charge at 1 hour after the creation date. If the customer does not make a payment within that timeframe, the charge expires. The Coinbase Dashboard is updated with payment information. To get information about a payment, you can fetch the current charge information by supplying the unique charge code that was returned when the charge was created. Example:</p><pre>curl https://api.commerce.coinbase.com/charges/4E8UCQWO \<br>-H &quot;X-CC-Version: 2019-02-22&quot;</pre><p>In <strong>commercetools</strong> you can keep track of the payment charge state using <strong>payment</strong> fields:</p><ul><li>paymentMethodInfo - <a href="https://docs.commercetools.com/api/projects/payments#paymentmethodinfo">PaymentMethodInfo</a></li><li>paymentStatus - <a href="https://docs.commercetools.com/api/projects/payments#paymentstatus">PaymentStatus</a></li></ul><p><a href="https://docs.commercetools.com/api/projects/payments">https://docs.commercetools.com/api/projects/payments</a></p><p>Your custom backend service must check for the Coinbase resolved payment state before resolving the commercetools payment object status. After payment resolution, the commercetools cart can then be converted to an order. Note that the order can be created with the <a href="https://docs.commercetools.com/api/projects/orders#orderstate">Pending</a> payment state and updated via webhook. <strong>Webhooks</strong> can be used to subscribe to charge events: <a href="https://commerce.coinbase.com/docs/api/#webhooks">https://commerce.coinbase.com/docs/api/#webhooks</a>.</p><p>commercetools carts can reference a payment with <a href="https://docs.commercetools.com/api/types#money"><strong>Money</strong></a> &quot;currencyCode&quot; : &quot;USD&quot; and other currency codes compliant to <a href="https://en.wikipedia.org/wiki/ISO_4217">ISO 4217</a>. The cryptocoin value can be converted by the backend to the required common currency value and stored as `centAmount` with the `currencyCode` for the transaction. <strong>`BTC` </strong>is the unofficial ISO-like code for Bitcoin. commercetools payments, transactions, and carts can be extended to use a <a href="https://docs.commercetools.com/api/projects/custom-fields">custom field</a> for the Bitcoin amount and <strong>`BTC` </strong>currencyCode<strong> </strong>value.</p><h3>Method 2: BitPay Payment Provider</h3><p>Checkout the BitPay API Node.js library.</p><p><a href="https://bitpay.com/integrations/#integrated">BitPay</a></p><p>Step 1. Initialize your client</p><p>Step 2. Create an invoice</p><p>Step 3. Fetch an invoice status</p><p>Step 4. Receive invoice status updates and update your commercetools payment object accordingly to complete the cart checkout.</p><p><a href="https://support.bitpay.com/hc/en-us/articles/115003025486-How-do-I-configure-and-use-the-BitPay-Node-JS-Library-">BitPay Support</a></p><p>BitPay <a href="https://bitpay.com/docs">documentation</a>.</p><h3>Method 3: Manual Implementation</h3><p>A third method is to develop your own custom manual implementations. One can utilize existing bitcoin backend libraries to power your crypto payments.</p><h4>1. bitcoin-receive-payments: Allow your service to receive/accept bitcoin payments <strong>directly from the bitcoin P2P network</strong>.</h4><p><a href="https://www.npmjs.com/package/bitcoin-receive-payments">https://www.npmjs.com/package/bitcoin-receive-payments</a></p><p><strong>2. Examples for building Bitcoin-based applications:</strong> https://btcinformation.org/en/developer-examples</p><p><strong>3. Build Your Own Bitcoin API using Node.js and Bitcoin Core:</strong> <a href="https://medium.com/@peterjd42/build-your-own-bitcoin-api-using-node-js-and-bitcoin-core-251e613623db">https://medium.com/@peterjd42/build-your-own-bitcoin-api-using-node-js-and-bitcoin-core-251e613623db</a></p><p>4. <strong>bitcore-lib Javascript Bitcoin library</strong></p><p><a href="https://www.npmjs.com/package/bitcore-lib">bitcore-lib</a></p><h3>Cryptocurrency in Your Virtual Store</h3><p>Bitcoin may be the cryptocurrency you want to utilize as a form of payment for your digital store due to its status as the most popular cryptocurrency and its established payment integration ecosystem. Integrating Bitcoin payments into your <a href="https://docs.commercetools.com/tutorials/">commercetools</a> project can be accomplished with a third party payment API or through developing your own manual flow. Give cryptocurrency a try on your webstore and compare sales to using traditional payment flows. Utilizing the latest forms of payment now could make your commerce stand out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*cwGyGYydv1MYA_qWdamNcw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42c6b3f838a0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/commercetools-tech/cryptocurrency-and-commercetools-42c6b3f838a0">Integrating cryptocurrency, crypto payments and commercetools</a> was originally published in <a href="https://medium.com/commercetools-tech">commercetools tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Serverless commercetools Integration]]></title>
            <link>https://medium.com/commercetools-tech/serverless-commercetools-integration-6e46596df0ea?source=rss-31c014271f40------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e46596df0ea</guid>
            <category><![CDATA[e-commerce-solution]]></category>
            <category><![CDATA[commercetools]]></category>
            <category><![CDATA[ecommerce]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[cloud]]></category>
            <dc:creator><![CDATA[Nicholas Speeter]]></dc:creator>
            <pubDate>Tue, 06 Oct 2020 15:02:38 GMT</pubDate>
            <atom:updated>2021-06-07T15:31:40.772Z</atom:updated>
            <content:encoded><![CDATA[<p>One command deployments for your e-commerce Serverless code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tbt9rkk6gwSSn_7x12Kpgw.png" /></figure><p><a href="https://www.serverless.com/plugins/serverless-commercetools-plugin/">Serverless Commercetools Plugin</a></p><p>commercetools API Extensions and Subscriptions allow you to customize and extend e-commerce functionality based on your company’s unique business needs. The <a href="https://www.serverless.com/">Serverless Framework</a> allows for fast and painless development of serverless cloud applications by introducing easy to use testing, CI/CD, scaling, and monitoring. Serverless cloud functions are often used to add additional behavior through commercetools API extensions. A common use case is validating shopping cart contents. Serverless functions can also be used as asynchronous background processes in response to events on the commercetools platform through commercetools Subscriptions. One example would be to send a confirmation email once an order has been completed. Checkout the link above to a new Serverless Framework plugin that deploys and registers a function as a commercetools API Extension. This plugin can also be used to attach your Serverless code to a commercetools Subscription. The deployments work for both AWS and Google Cloud Platform.</p><h3><strong>Deploy Serverless Function and commercetools Extension</strong></h3><p><strong>Step 1.</strong></p><p>The Serverless Platform allows you to easily build cloud applications. It is extensible with plugins. Install the Serverless Framework, create a lambda with the simple ‘serverless’ command, and then add the commercetools plugin :</p><pre>$ npm install -g serverless</pre><pre>$ serverless</pre><pre>$ cd &#39;your new serverless project folder&#39;</pre><pre>$ serverless plugin install --name serverless-commercetools-plugin</pre><p><strong>Step 2.</strong></p><p><a href="https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html">Environment variables to configure the AWS CLI</a></p><p>Set your cloud credentials via command line.</p><pre>export AWS_ACCESS_KEY_ID=“your_id”</pre><pre>export AWS_SECRET_ACCESS_KEY=”your_key”</pre><p><strong>Step 3.</strong></p><p>Setting up commercetools extensions/subscriptions is as easy as adding your client variables and configuration to the serverless.yaml and then running deploy. Note that the Lambda’s ARN is smartly assembled by the plugin itself so you do not need to add it to the post body. See the example <a href="https://github.com/commercetools/serverless-commercetools-plugin/tree/master/examples/api-extension/AWSServerlessLambda">serverless.yaml</a>.</p><p><a href="https://github.com/commercetools/serverless-commercetools-plugin/tree/master/examples/api-extension/AWSServerlessLambda">commercetools/serverless-commercetools-plugin</a></p><pre>Example 1: commercetools Extension configuration with Deploy of Lambda. </pre><pre>//serverless.yml env vars<br>CTP_DEPLOY_TYPE: &quot;extension&quot;<br>CTP_POST_BODY: &#39;{<br>                  &quot;destination&quot;: {<br>                       &quot;type&quot;: &quot;AWSLambda&quot;,<br>                       &quot;accessKey&quot;: &quot;your_key&quot;,<br>                       &quot;accessSecret&quot;: &quot;your_secret&quot;<br>                   },<br>                   &quot;triggers&quot;: [{<br>                       &quot;resourceTypeId&quot;: &quot;cart&quot;,<br>                       &quot;actions&quot;: [&quot;Create&quot;, &quot;Update&quot;]<br>                   }]<br> }&#39;<br></pre><pre>command-line$ serverless deploy</pre><p>You now have a commercetools Extension and lambda function attached. With Extensions one can extend the functionality of the commercetools APIs. One could now create some carts for the case above using <a href="https://github.com/commercetools/commercetools-postman-collection">Postman</a> to run your Serverless extension code. Please note that you can set a key on extensions and subscriptions. The key prevents the same extension or subscription from being deployed twice from CI/CD and manually deploys. One can modify the code from the OpenSource <a href="https://github.com/commercetools/serverless-commercetools-plugin">repo</a> to customize your deploys for setup in CI/CD and multiply runs.</p><p><a href="https://docs.commercetools.com/http-api-projects-api-extensions">API Extensions</a></p><p>For <strong>Google Cloud Platform </strong>function deploys simple set the CTP_POST_BODY to use the HTTP destination.</p><pre>HTTP Destination <br>type - String - &quot;HTTP&quot; <br>url - String<br>authentication - <a href="https://docs.commercetools.com/api/projects/api-extensions#http-destination-authentication">HttpDestinationAuthentication</a> - Optional</pre><h3>Deploy Serverless Function and commercetools Subscription</h3><p>Add the deploy type and body to your client variables to the serverless.yaml and then run deploy.</p><pre>Example 2: commercetools Subscription configuration with Serverless Deploy of a Lambda.</pre><pre>CTP_DEPLOY_TYPE: &quot;subscription&quot;<br>CTP_POST_BODY: &#39;{<br>                  &quot;destination&quot;: {<br>                     &quot;type&quot;: &quot;SQS&quot;,<br>                     &quot;queueUrl&quot;: &quot;&lt;url_to_your_queue&gt;&quot;,<br>                     &quot;accessKey&quot;: &quot;&lt;your_key&gt;&quot;,<br>                     &quot;accessSecret&quot;: &quot;&lt;your_secret&gt;&quot;,<br>                     &quot;region&quot;: &quot;&lt;your_region&gt;&quot;<br>                   },<br>                   &quot;messages&quot;: [<br>                                 {<br>                                   &quot;resourceTypeId&quot;: &quot;order&quot;<br>                                 }<br>                               ]<br>                 }&#39;</pre><pre>command-line$ serverless deploy</pre><p><a href="https://docs.commercetools.com/tutorial-subscriptions">Using Subscriptions</a></p><h3>commercetools has patented the extensibility</h3><ul><li><a href="https://commercetools.com/blog/2020/08/19/new-api-extensibility-patent-highlights-the-innovation-dna-commercetools-is-built-on.html">New API extensibility patent highlights the innovation DNA commercetools is built on</a></li><li><a href="https://techblog.commercetools.com/new-api-extensibility-feature-5b3b8d83da2d">New API Extensibility Feature</a></li><li><a href="https://techblog.commercetools.com/how-to-extend-commerce-apis-f6b3b59da9e7">How to Extend Commerce APIs</a></li></ul><h3>Serverless Plugin Directory</h3><p>The Serverless Plugin Directory features 1,000’s of plugins to extend your serverless development. Explore the directory below as you work with commercetools and the Serverless Framework. We are excited to see what e-commerce recipes you create.</p><p><a href="https://www.serverless.com/plugins/">Serverless Plugins Directory | Download Count + Filters</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e46596df0ea" width="1" height="1" alt=""><hr><p><a href="https://medium.com/commercetools-tech/serverless-commercetools-integration-6e46596df0ea">Serverless commercetools Integration</a> was originally published in <a href="https://medium.com/commercetools-tech">commercetools tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Real Time Project Reports]]></title>
            <link>https://medium.com/@nicholas.speeter/real-time-project-reports-e68e4eff127f?source=rss-31c014271f40------2</link>
            <guid isPermaLink="false">https://medium.com/p/e68e4eff127f</guid>
            <category><![CDATA[augmented-reality]]></category>
            <category><![CDATA[ar]]></category>
            <category><![CDATA[commercetools]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[analytics]]></category>
            <dc:creator><![CDATA[Nicholas Speeter]]></dc:creator>
            <pubDate>Tue, 08 Oct 2019 15:06:43 GMT</pubDate>
            <atom:updated>2020-01-07T21:25:31.104Z</atom:updated>
            <content:encoded><![CDATA[<p>Visualize your E-Commerce in Real Time</p><p>commercetools makes it possible to view real time project reporting and visualization of your E-commerce. This post outlines techniques to achieve such analytics. These reports can be viewed from a web dashboard, mobile device, or even in Augmented and Virtual Reality. Watch your E-commerce grow with real time dashboards!</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DSrAdxqSrJrc&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FSrAdxqSrJrc&amp;type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/7038b38219895b2c179d123f3f173107/href">https://medium.com/media/7038b38219895b2c179d123f3f173107/href</a></iframe><h3>Polling</h3><p>A simple way to view real time reporting from your commercetools project is to poll for the data on a timer. One can query from your commercetools project using the HTTP API or a commercetools SDK on a set interval. Simply refresh your specific chart data and view on receiving the response. For example you could use the commercetools iOS SDK to poll on a 5 second timer for order count. Then refresh the order graph in your application.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c4cde2903e898eecb79551bb2358a7e0/href">https://medium.com/media/c4cde2903e898eecb79551bb2358a7e0/href</a></iframe><ul><li><a href="https://docs.commercetools.com/http-api">HTTP API</a></li><li><a href="https://docs.commercetools.com/sdk/swift-sdk">Swift commercetools HUB</a></li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DVL5YexfKxnk&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FVL5YexfKxnk&amp;type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/5aaaeda2a49e447e32b976661689d08a/href">https://medium.com/media/5aaaeda2a49e447e32b976661689d08a/href</a></iframe><h3>SQS Queues and Cloud Functions</h3><p>One can setup a commercetools SQS Queue subscription and have a cloud function post to a webhook which triggers an update in your application.</p><p><a href="https://docs.commercetools.com/tutorial-subscriptions">Using Subscriptions</a></p><p>On trigger of the cloud function from the queue, simply post to the webhook url with the data. For example, one could have a lambda function listen on a queue subscribed to orders and then post to the webhook that an order occurred.</p><h3>Webhooks</h3><p>Implement a webhook solution by providing an endpoint URL for the server side event. A cloud function could hit this URL on commercetools message events. The client side can then listen for changes by polling or by using a pub/sub methodology. <a href="http://www.pubnub.com/tutorial/javascript-push-api">http://www.pubnub.com/tutorial/javascript-push-api</a></p><p><a href="https://codeburst.io/what-are-webhooks-b04ec2bf9ca2">What is a Webhook?</a></p><h3>Websockets</h3><p>One can use websocket connections to listen for commercetools messages posted to Webhooks:</p><p><a href="https://webhookrelay.com/v1/examples/javascript-stream.html">Receive webhooks inside your JavaScript app - Web Relay</a></p><h3>Visualize The Data</h3><p>Here we graph the commercetools project data for product orders using iOS ARkit. commercetools data is retrieved in real time using the methods mentioned above and rendered in Augmented Reality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*hatMLZwigruB7xskKu_YhA.jpeg" /><figcaption>AR commercetools Visualizor</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*4-eZP5M1NuOJ3O5A5nQLZA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vVNPpZOmA7ZgDD-_As68jA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*sVD5iMinOFAhno_dpLN8jg.png" /><figcaption>Watch Orders Fly In</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*wOuAzB_pSaBzAvXV0qXC4w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*P91ken1AgEwFLM-VdDaMKQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*-iIfTkK4WPuU-pZSLKPdHA.png" /></figure><h3>Web Real Time Project Views</h3><p>Try out D3.js with commercetools data to build interactive and real time dashboards.</p><p><a href="https://d3js.org/">D3</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RA01fyFtzn82sNJjQVUSJA.png" /><figcaption>JavaScript D3 Visualization</figcaption></figure><ul><li><a href="https://pusher.com/tutorials/live-graph-d3">Build a live graph with D3.js</a></li><li><a href="https://bl.ocks.org/boeric/6a83de20f780b42fadb9">D3 Real Time Chart with Multiple Data Streams</a></li></ul><h3><strong>Build Your Own</strong></h3><p>Experiment and try out your own reporting recipes. We are excited to see what custom solutions you come up with for viewing your E-commerce data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*2gtEkQps3eaWeI2XHI6dXg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*LJZP6kURSxDcSHqIOirljA.jpeg" /><figcaption>Real Time Project Data Visualizations</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*dLuLMZvIfdiTl57Ttxa7Pw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*mZMdZ9DwZup8UAsx6GTFog.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*KnjszaCft-FJ5ggk9nC18Q.png" /></figure><p>Special thanks to <a href="https://medium.com/u/14ac2c7a7ef0">Kurt Lippert</a> on the real time development.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e68e4eff127f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Virtual Reality and commercetools]]></title>
            <link>https://medium.com/commercetools-tech/virtual-reality-and-commercetools-79612cba61dc?source=rss-31c014271f40------2</link>
            <guid isPermaLink="false">https://medium.com/p/79612cba61dc</guid>
            <category><![CDATA[commercetools]]></category>
            <category><![CDATA[virtual-reality]]></category>
            <category><![CDATA[ecommerce]]></category>
            <category><![CDATA[vr]]></category>
            <category><![CDATA[oculus-rift]]></category>
            <dc:creator><![CDATA[Nicholas Speeter]]></dc:creator>
            <pubDate>Fri, 26 Jul 2019 17:22:25 GMT</pubDate>
            <atom:updated>2019-08-02T07:57:17.169Z</atom:updated>
            <content:encoded><![CDATA[<h4>Integrating commercetools into Virtual Reality Shopping Applications</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LcF0klJ8lbFnnUFhU3yXaw.png" /><figcaption>commercetools in VR</figcaption></figure><p>The commercetools development lab does not have a modern home overlooking a forest. This experience exists only in an immersive state through two lenses and a small covered headset. Yet the house and landscape look real and can be traversed, interacted with, and you can even purchase objects throughout the environment. Virtual Reality (VR) creates and displays this totally immersive perception. VR and commercetools integrate together deftly to generate a 3D view of your products in the enveloping environment.</p><p>VR is a new commerce medium experiencing electric growth. A customer can view a product, or even an entire custom virtual showroom, in interactive 3D from the store or their own home. Items can be carted with a virtual click and checked out later via mobile device or “in game”. commercetools carts are stored and easily accessible for multi channel use (web, iPhone, Android, tablet).</p><p>Virtual Reality is an excellent way to display furniture, toys, electronics, cosmetics, and boxes with product information in a VR showroom. Creating a captivating VR experience increases the likelihood that a customer will keep the items they’ve carted and follow through with checkout, and also offers a unique interaction with your brand that encourages shoppers to keep coming back.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F2weGUAyrUUQ%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D2weGUAyrUUQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F2weGUAyrUUQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ad196de0608cfc133cd5993f7cba0933/href">https://medium.com/media/ad196de0608cfc133cd5993f7cba0933/href</a></iframe><h3>Creating The Virtual UI</h3><p>A developer can augment menu and cart icons in the immersive view to provide a shopping experience. When an object in the environment is clicked, a popup appears with the product description, price, and an “Add To Cart” button. To develop the UI for the menus in your scene, try <a href="https://arvrjourney.com/how-to-build-vr-uis-with-unity-and-oculus-rift-part-1-f359e41f309a">Unity’s UI Canvas</a>. When the cart icon is clicked, a popup can then be manifested with the carted items.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Cv8Eu3EQb7bbNeH_OL_J2A.png" /><figcaption>Augmented cart icon</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/451/1*8k3VLdpvVxXFHq-pPtvOtw.png" /><figcaption>Add Product to Cart via VR immersive interface</figcaption></figure><p>Create a commercetools project to associate with the VR application’s cart and items. <a href="https://docs.commercetools.com/getting-started.html">Get started with commercetools</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hI0wJdgSB8cbYdHblsQsYw.png" /><figcaption>Traverse the environment to view products</figcaption></figure><h3>commercetools HTTP-API</h3><p>On object click, the matching commercetools product can be queried for from a commercetools project. Use of the<strong> commercetools http-api </strong>to get the matching product is <strong>recommended for the best VR development experience</strong>: <a href="https://docs.commercetools.com/http-api">https://docs.commercetools.com/http-api</a>. Simply associate the clicked object with a product id in the VR application code and then use the /products/id endpoint to retrieve more information to display (price, description, variants, etc.).</p><p>On Oculus rift one could use C# and HttpWebRequestto retrieve the product information from the commercetools project. The <strong>commercetools http-api</strong> requires a valid authorization token for all requests. So be sure to use the customer password flow explained in the following links: 1. <a href="https://docs.commercetools.com/tutorial-mobile-spa">https://docs.commercetools.com/tutorial-mobile-spa</a> 2. <a href="https://docs.commercetools.com/http-api-authorization.html#password-flow">https://docs.commercetools.com/http-api-authorization.html#password-flow</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*itw9h-wc-fklCiGM-88iDA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*74DFbGga3A3CAbAsSq9Vww.png" /><figcaption>Purchase realistic furniture from the house</figcaption></figure><p>On click of the object a menu pops up in VR. Click through the product’s variants and select one to add to cart.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e68a0924dcfe21dda32aa31e07aa2845/href">https://medium.com/media/e68a0924dcfe21dda32aa31e07aa2845/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d06df883008131ded3f82a9e7c4dacad/href">https://medium.com/media/d06df883008131ded3f82a9e7c4dacad/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*913T2zMJwD9WQgAUQdv-Iw.png" /><figcaption>Add Product to Cart via VR immersive interface</figcaption></figure><p>GraphQL can also be used to query the commercetools APIs: <a href="https://docs.commercetools.com/graphql-api">https://docs.commercetools.com/graphql-api</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/169/1*thdmjWUXfYhmhmMcBdk9jQ.png" /><figcaption>Use GraphQL to Ask for the Data You Need</figcaption></figure><h3>Multichannel Integration</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/495/1*Q0yrcC77ljS03lzYCLpl_A.png" /><figcaption>Cart Checkout From Mobile Device</figcaption></figure><p>Carts can be created and checked out “in game” from the VR cart icon, or the cart can be retrieved and checked out on another mobile device. The VR cart is saved to commercetools. The below example shows how to checkout the cart via mobile device with the commercetools Swift SDK: <a href="https://github.com/commercetools/commercetools-ios-sdk">https://github.com/commercetools/commercetools-ios-sdk</a>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8e5ac449595221b96bac35bb8ef0e0ed/href">https://medium.com/media/8e5ac449595221b96bac35bb8ef0e0ed/href</a></iframe><p>In conclusion, it is very easy to integrate commercetools into an existing VR application utilizing the <strong>commercetools http-api</strong>. The UI can be as simple as popping up VR canvas menus when an item is in close proximity. Items can then be carted and checked out in game or via another channel. This commercetools integration will work with many VR Platforms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/523/1*MzYCS6MJ8bYmCXjTTdD1CA.png" /><figcaption>Oculus, Samsung Gear, HTC Vive, Google Daydream VR</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=79612cba61dc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/commercetools-tech/virtual-reality-and-commercetools-79612cba61dc">Virtual Reality and commercetools</a> was originally published in <a href="https://medium.com/commercetools-tech">commercetools tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Augmented Reality: Commercetools in AR]]></title>
            <link>https://medium.com/commercetools-tech/augmented-reality-commercetools-in-ar-a44853b5cab0?source=rss-31c014271f40------2</link>
            <guid isPermaLink="false">https://medium.com/p/a44853b5cab0</guid>
            <category><![CDATA[arkit]]></category>
            <category><![CDATA[augmented-reality]]></category>
            <category><![CDATA[commercetools]]></category>
            <category><![CDATA[ar]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Nicholas Speeter]]></dc:creator>
            <pubDate>Wed, 06 Feb 2019 15:45:12 GMT</pubDate>
            <atom:updated>2020-10-28T18:33:15.182Z</atom:updated>
            <content:encoded><![CDATA[<h3>Using commercetools in Augmented Reality Shopping Applications</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C3Ow7KY0YFTm6UhKQVgODA.png" /><figcaption>Products in 3D Augmented Reality</figcaption></figure><p>The commercetools development lab does not have a giant robot poster. It only exists in a superimposed state through a camera lens and video feed. Yet the poster looks real and can be sized, rotated, and placed on tap throughout the environment. Just as our brains render our own reality based on light reflected into our eyes, Augmented Reality (AR) creates and displays a perception, but with auxiliary entities. AR and commercetools integrate together deftly to generate a 3D view of your products in the present environment.</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DDTREkwOIR4Q&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FDTREkwOIR4Q&amp;type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b385c1f8d5000ffe6eda70649c2653f7/href">https://medium.com/media/b385c1f8d5000ffe6eda70649c2653f7/href</a></iframe><p>A customer can view a product in their own home to become confident in a purchase before carting the item. Augmented Reality is an excellent medium to display furniture, posters, and frames in a living room. This real immersive view provides a personalized shopping experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bH5o6KF9ocNbcdLA7Z2ftQ.png" /><figcaption>Interact with 3D Furniture</figcaption></figure><p>Clothing can be augmented in 3D, rotated, and even placed to walk around and try on in front of a mirror. Facial tracking allows earrings, necklaces, and jewelry to be augmented onto a user through the front facing camera.</p><p><a href="https://developer.apple.com/documentation/arkit/creating_face-based_ar_experiences">Creating Face-Based AR Experiences</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*YLPFJ__ZKShb1qZVw4WIxA.jpeg" /><figcaption>View Clothing in Your Environment or in Front of a Mirror</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/253/1*Xzd3VZZyphLGrHWCmui2Gw.png" /><figcaption>Apple ARKit</figcaption></figure><p>Apple ARKit was used to develop the iOS mobile application for iPad and iPhone. The Swift programming language is utilized to display stored 3D models and retrieve product data. The commercetools iOS SDK integrates easily into an iOS AR project created in XCode to into interact with a commercetools project through API requests.</p><p><a href="https://github.com/commercetools/commercetools-ios-sdk">commercetools/commercetools-ios-sdk</a></p><p>A Heads Up Display button in the bottom center allows the user to search and display products from a project. The product and price is placed in the left corner in the Heads Up Display. The cart button allows items to be added to the cart and ordered. AR world tracking can be turned on with a shake in order to detect walls and surfaces which then auto-place products in 3D. Yellow dots indicate the real time world tracking surface detection. The <strong>physicalSize</strong> property can be utilized in Swift in order to lock in the physical real world dimensions in meters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7tDS6cu7gQj7WMxCpzy02Q.png" /><figcaption>Blueprint Poster Auto Placed Through World Tracking</figcaption></figure><p>Apple Pay or another payment service should be implemented as required into the checkout flow. I found Apply Pay to be very straightforward to implement in swift for payment authorization. Once authorized through Apple Pay, Stripe is one top choice to handle the payment transaction.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5d480ae0ba29abab5b1859375add8f8a/href">https://medium.com/media/5d480ae0ba29abab5b1859375add8f8a/href</a></iframe><p><a href="https://stripe.com/apple-pay">Stripe: Apple Pay - Accept payments from Apple Pay</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*EUaal58MLSHCZcu7YQKRfg.jpeg" /><figcaption>Apple Pay</figcaption></figure><h3>Steps To Create Your commercetools AR Application</h3><h3>1. Create an Augmented Reality Project in XCode and Add the commercetools iOS SDK</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0zIdD2mrCwzCkI-MqNSAiQ.png" /><figcaption>Fill in your commercetools Config in the commercetoolsConfig.plist</figcaption></figure><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e2679ee1850d7a88f0b7d364e305e4a9/href">https://medium.com/media/e2679ee1850d7a88f0b7d364e305e4a9/href</a></iframe><h3>2. Setup Your AR Scene in ViewController</h3><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/88d5314c04ccf8c48a20ee09ebdba7ab/href">https://medium.com/media/88d5314c04ccf8c48a20ee09ebdba7ab/href</a></iframe><p>Store your 3D Models in the art.scnassets folder. Here you can place and develop on .scn files, .dae files, and .obj file types. SceneKit, the Scene graph, and Xcode’s tooling provide an excellent experience to manipulate your models and scenes. I found the .dae files to be the most simple to work with, as you can simply drag and drop color images to specific parts of your model.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7d59bd7c8f3e56c342c27088e1a3b97b/href">https://medium.com/media/7d59bd7c8f3e56c342c27088e1a3b97b/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HKDzxu1E2pH5onFJr-j96g.png" /><figcaption>SceneKit</figcaption></figure><h3>3. Add Buttons to the AR HUD View to Search and Cart Items with the commercetools SDK</h3><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/01e2a9ea19a38e1caf88527dd6377af0/href">https://medium.com/media/01e2a9ea19a38e1caf88527dd6377af0/href</a></iframe><h3>4. Customize to Give Your Users An Innovative Experience</h3><p>Add world tracking, multiple objects, HUD elements, touch interactions, product search features, and payment processing to create your custom AR E-Commerce experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KWeHfo8kA9uixkmNbv2d5w.png" /><figcaption>Select Products from your commercetools Projects By Clicking the Center HUD Button</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KO7xQs60FqAtr3P-Zt8Z5w.jpeg" /><figcaption>Interact with 3D Products to Place/Rotate/Size Them in Your Environment</figcaption></figure><p>As Augmented Reality continues to increase in popularity across hardware and software platforms, commerce will be increasingly important in the mixed reality landscape. Now that AR has exploded into the mainstream for Android, iOS, and headsets like Magic Leap, Google Glass, and other wearables, your commerce platform can embrace the technology.</p><p>Checkout a commercetools AR integration by Threekit on the marketplace: <a href="https://marketplace.commercetools.com/integration/threekit-3d-augmented-reality-for-commercetools">https://marketplace.commercetools.com/integration/threekit-3d-augmented-reality-for-commercetools</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a44853b5cab0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/commercetools-tech/augmented-reality-commercetools-in-ar-a44853b5cab0">Augmented Reality: Commercetools in AR</a> was originally published in <a href="https://medium.com/commercetools-tech">commercetools tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>