Application programming interfaces (APIs) from payment processors and service providers make it possible, if not easy, to bring ecommerce to essentially any page or any service.
Often the first thing that comes to mind when someone thinks about ecommerce is online retailers, such as Amazon. This makes sense. Retail ecommerce certainly earns the lion’s share of revenue and attention. But ecommerce can describe more than paying for physical goods online. Rather, it can describe the trade of virtual goods or services, subscriptions, or even access to travel and events.
As an example, if one wanted to attend Ignite 2015 in Dallas this September, registration is done online. The item bought is not necessarily a physical good, but rather admission to a premiere ecommerce conference.
It’s similar to someone paying for an online service, such as a subscription to Laracasts, a service that provides PHP and Laravel framework video tutorials to paying members, or buying ads on Twitter.
Ecommerce Entrepreneurs Unbound
Paid online services have been around for a while. But it is good to remember that ecommerce entrepreneurs are not bound to selling physical things, but rather can generate online revenue in many and various ways.
Ecommerce could include:
- Software as a service, platform as a service, or infrastructure as a service businesses;
- Paid content, newsletters, or video services;
- Subscriptions to data services;
- Licensed software sales;
- Access to stock photography, sounds, or videos;
- Paid advertising.
APIs and Ecommerce
Retail ecommerce frequently depends on ecommerce platforms to manage a catalog of products and make the necessary payment connections for selling online. While the very same ecommerce platforms may be employed for the sale of certain downloadable products or even subscriptions to content, many other forms of ecommerce would, perhaps, be encumbered with a relatively large ecommerce platform when a simple API call or two would solve the problem.
Take the example of Stripe. Founded in 2011, Stripe is a payment processor built to help web developers add ecommerce capabilities and stay away from the scope of the Payment Card Industry Data Security Standard (PCI DSS). The service is the primary payment processor for Squarespace, Twitter, Salesforce, Kickstarter, Reddit, and Wired.
Stripe has client libraries for PHP, Python, Ruby, Java, Node.js, Go, and iOS. Community libraries extend Stripe to C#, Clojure, Perl, and even ColdFusion.
Stripe can also be integrated easily via several frameworks. As an example, the service’s API is available as a package (laravel/cashier) for Tayler Otwell’s popular and powerful Laravel PHP framework.
Implementing Stripe with Laravel could hardly be easier. A developer would configure the composer.json file and run composer update.
Register the Laravel\Cashier\CashierServiceProvider in Laravel’s app configuration file.
Finally, the developer would use PHP artisan to run a migration — anyone who has worked with Laravel likely knows exactly what this is — add a key, and Stripe is ready.
The venerable PayPal payment service, which will soon be parting ways with Ebay, also has many options for developers who want to add ecommerce functionality to nearly any website or service.
The company has mobile SDKs for iOS and Android. It offers a representational state transfer (REST) API that can be easily accessed via cURL, PHP, Python, Ruby, Java, Node.js, and C#. Finally, PayPal also has what it calls a classic API that makes use of name-value pairs and the simple object access protocol (SOAP).
Possibly more complex than other payment API options, PayPal’s services are just another example of how developers could choose to added ecommerce payments to almost any service or site.
A leader in retail ecommerce solutions, Authorize.Net also has a fairly extensive API offering, including specific services for server integration, what Authorize.Net calls “Advanced Integration,” and a relatively newer direct post method, aimed at minimizing PCI DSS scope.
The company has SDKs for PHP, Ruby, Java, and C#, plus support for Android and iOS with the advanced integration API.
Putting Ecommerce APIs to Use
Stripe, Braintree, PayPal, and Authorize.Net are just four examples of payment services that can help any business monetize just about any content, site, or service. There are many more options — like Venmo or some specialized Bitcoin processors — for accepting all sorts of payments .
The point is simply that ecommerce entrepreneurs have many options for transforming any online business idea into a money-making venture, in part, thanks to easy-to-implement payment-processing APIs.