Hello!
I’m Drew McLellan.
Lead dev on Perch CMS.
Publisher of 24ways.org
@drewm
github.com/drewm
Slide 3
Ecommerce
sucks.
Open Source
and crappy!
Hosted and
restrictive!
Enterprisey
and useless!
Bespoke and
full of
sadness :(
Slide 4
Time spent on wrangling
ecommerce is time stolen
from
fi
nessing the UX.
Slide 5
Payment gateways
are all di
ff
erent.
(AND MOST ARE TERRIBLE)
Slide 6
Compromise all the way down
To gain:
O
ff
-the-shelf functionality
Ease of hosted SaaS
Choice of gateway
Web, app, PoS integration
You lose:
UX
fl
exibility
Seamless integration
Your hair
Entire contents of your
bank account
Slide 7
What could the
answer possibly be?
Slide 8
Moltin is an ecommerce
web service API.
Slide 9
Moltin is an ecommerce
web service API.
Products
Inventory
Carts
Checkout
Customers
Promotions
Shipping
Orders & Receipts
Currencies
Taxes
Slide 10
It works like this
Sign up at
moltin.com
Create a store
Get an API key & secret
Install PHP SDK with Composer
Start building your store
Slide 11
Install the SDK
composer require moltin/php-sdk:dev-version1
Checkout
Calculates shipping, taxes, discounts.
Adjusts stock levels.
Generates orders and invoices.
Handles gateway API interactions*
sort of.
Slide 19
Gateways
You don’t get total isolation from gateway
weirdness.
You can’t
just swap
one gateway for another.
Still needs planning for payment
fl
ows to call
the right Moltin API methods at the right times.
Slide 20
Moltin bills on
API requests.
Slide 21
Billed on API requests
Free up to 30,000 per month.
300,000 reqs is $49
600,000 reqs is $99
…
5,000,000 reqs $499
Slide 22
So.
Slide 23
Advantages
You get almost complete control over the UX.
You don’t need to build all the boring stu
ff
.
Multiple apps (website, mobile, PoS, etc) can all use
the same backend with no extra work.
Swap out your front end easily.
Start adding inventory via Forge before site is built.
Slide 24
Disadvantages
Creates a very large dependancy compared to
something self-hosted.
That comes with risk of downtime or service
discontinuation.
Introduces network latency into many operations.
Not as
fl
exible as something completely bespoke.