Integrating the Firelay platform with Braintree payments

Post on 12-Nov-2014

564 views 1 download

description

Presentation at the Liferay Netherlands User Group meeting of 6 March 2014: Integrating the Firelay Platform with Braintree payments shows how Firelay has set up the Firelay Platform to roll out running Liferays in minutes with customers from all over the world paying with their credit card using Braintree Payments.

Transcript of Integrating the Firelay platform with Braintree payments

Integrating the Firelay Platform with Braintree paymentsWelcome

Wieteke den Uijl FirelayEmail wieteke@firelay.comPhone +31 6 43534794Twitter @wieteke15LinkedIn www.linkedin.com/in/wietekedenuijl

WWW.LIFERAY.COM WWW.FACEBOOK.COOM/LIFERAY @LIFERAY

Contents

● Introduction● The Firelay Platform● The need for a PSP● Architecture Firelay● Integration Firelay & Braintree● Braintree evaluation

WWW.LIFERAY.COM WWW.FACEBOOK.COM/LIFERAY @LIFERAY

Liferay - cooking - Product Manager - Firelay

- LNLUG - 5 years Proteon - marketing -

social media - TU Delft - Industrial Design

Engineering - Delft - remodelling my home -

running - skiing - Liferay trainer - creabea -

Scrum - Wine - becoming a nerd -

photography - travelling - the one and only

Firelady - Boots

About me

WWW.LIFERAY.COM WWW.FACEBOOK.COOM/LIFERAY @LIFERAY

About Firelay● All about Liferay ● Liferay Hosting

○ Standard○ Custom

● Liferay Training● All Liferay activities from Proteon

WWW.LIFERAY.COM WWW.FACEBOOK.COOM/LIFERAY @LIFERAY

You get:

● Running Liferay in 5 min● Separate JVM● Portal Admin access● Management Dashboard● Choose from Liferay CE or

PCE - 3 versions ● More...

The Firelay Platform

We do:

● 24x7x365 monitoring/follow-up● Support● Backups● Updates & patches● More...

Liferay Managed Hosting platform

WWW.LIFERAY.COM WWW.FACEBOOK.COOM/LIFERAY @LIFERAY

The Firelay PlatformLiferay hosting at low prices:● Fully online● Standardized● Automated● Immediate● Do-it-yourself● Monthly/yearly subscriptions

To do so we only work on:● Support● Platform development● System administration

WWW.LIFERAY.COM WWW.FACEBOOK.COOM/LIFERAY @LIFERAY

The need for a PSP(Payment Service Provider)

● Only online ● Worldwide market● No paper contracts● No waiting for customers● No manual actions● Immediate payments● Automated payments● Subscriptions

● Credit Card payments

WWW.LIFERAY.COM WWW.FACEBOOK.COOM/LIFERAY @LIFERAY

The need for a PSP: what do they do?

● Payment Gateway○ Access to multiple banks○ Access to multiple payment methods

● PCI compliancy○ Credit card data storage○ Encrypted transfer

● Merchant account○ Receive credit card payments

● Recurring billing○ Handling transactions○ Retrying failed transaction

WWW.LIFERAY.COM WWW.FACEBOOK.COM/LIFERAY @LIFERAY

Architecture Firelay

Firelay Website

Customer Portal

Puppet Master

Firelay

Firelay

Firelay

Firelay

Firelay

Firelay

Business LogicFIS

WWW.LIFERAY.COM WWW.FACEBOOK.COM/LIFERAY @LIFERAY

Architecture Firelay

Firelay Website

Customer Portal

Puppet agent

FIS

Puppet agent

REST

Business logicORM

Database

Puppet agent

F

Firelay Node

Puppet agent

FFF

Puppet Master

Puppet agent

WWW.LIFERAY.COM WWW.FACEBOOK.COOM/LIFERAY @LIFERAY

Architecture Firelay

Firelay Website

Customer Portal

FIS

REST

Business logicORM

F

Firelay Node

Puppet agent

FFF

Puppet Master

Puppet agent

status

WWW.LIFERAY.COM WWW.FACEBOOK.COOM/LIFERAY @LIFERAY

Silver

MonthlyYearly

Liferay CELiferay PCE

6.1 GA26.1 GA36.2 GA1

Gold

MonthlyYearly

Liferay CELiferay PCE

6.1 GA26.1 GA36.2 GA1

Architecture Firelay

Bronze

MonthlyYearly

Liferay CELiferay PCE

6.1 GA26.1 GA36.2 GA1

Products(Size/resource)

Plans(Financial)

Editions

Versions

WWW.LIFERAY.COM WWW.FACEBOOK.COOM/LIFERAY @LIFERAY

Integration Firelay & Braintree

Firelay Website

Customer Portal

FIS

REST

Business logicORM

F

Firelay Node

Puppet agent

FFF

Puppet Master

Puppet agent

status

Braintree

WWW.LIFERAY.COM WWW.FACEBOOK.COOM/LIFERAY @LIFERAY

FIS RAM, Domains, etc.

Braintree Price, billing cycle

FIS

FIS

Integration Firelay & Braintree

Bronze

MonthlyYearly

Liferay CELiferay PCE

6.1 GA26.1 GA36.2 GA1

Products

Plans

Editions

Versions

WWW.LIFERAY.COM WWW.FACEBOOK.COOM/LIFERAY @LIFERAY

Integration Firelay & Braintree

Proces 11. Create products FIS2. Create plans Braintree3. Sync plans Braintree -> FIS4. Combine product-plans FIS

Proces 21. Create customers FIS2. Sync customers FIS -> Braintree

WWW.LIFERAY.COM WWW.FACEBOOK.COOM/LIFERAY @LIFERAY

Integration Firelay & BraintreeProces 31. Add payment methods Braintree2. Sync payment method tokens Braintree -> FIS

Proces 41. Create subscription Braintree

a. Product FISb. Plan FIS -> Braintreec. Customer ID FIS -> Braintreed. Payment method token FIS -> Braintreee. Billing information FIS

2. Provision Firelay FIS

WWW.LIFERAY.COM WWW.FACEBOOK.COM/LIFERAY @LIFERAY

BraintreeFISIntegration Firelay & Braintree

Firelay 1 Subscription

Customer

Firelay 2

Firelay n

Customer

Subscription

Subscription

WWW.LIFERAY.COM WWW.FACEBOOK.COM/LIFERAY @LIFERAY

BraintreeFISIntegration Firelay & Braintree

Firelay Subscription

Product

Plan Plan

Product

Plan Plan

Product

Plan Plan

Edition

Version Version

Customer

Bill info PM #

Bill info

Bill info

PM #

PM #

Edition

Version Version

Customer

Payment Method

PM #

PM #

Plan

Plan

Plan

Plan

Plan

WWW.LIFERAY.COM WWW.FACEBOOK.COOM/LIFERAY @LIFERAY

Business logic

Next to plans prices differ depending on:● Individual or organization (VAT)● Edition of Liferay (additional costs per billing cycle for

PCE)

Difficult to manage with Braintree since:● No VAT calculations● Add-ons with Euro 0,- not possible

Business logic:● Yearly = 11 months also for PCE● Calculates if VAT (21%) should be paid

WWW.LIFERAY.COM WWW.FACEBOOK.COOM/LIFERAY @LIFERAY

Getting a Firelay

1. Select product-plan combination2. Select edition-version combination3. Fill in credit card data4. Fill in billing information

a. Individual or organizationb. Country (NL, EU, outside EU)

5. Checks:a. Required fieldsb. Braintree verification credit cardc. Subscription incl. price FIS -> Braintreed. Braintree charges credit card and creates subscription

6. All checks ok -> FIS provisions Firelay

WWW.LIFERAY.COM WWW.FACEBOOK.COM/LIFERAY @LIFERAY

Braintree evaluation

Advantages● Extensive API● Good documentation● Client libraries for 7

languages● Proper sandboxes● Easy transition to

production● Recurring billing● Aimed at developers &

SaaS like solutions

Disadvantages● Braintree leading for

plans & add-ons● No support for VAT

calculations● No free trial but 1st

month free● Explicit opt-in approval

to convert free trial to paid subscription

WWW.LIFERAY.COM WWW.FACEBOOK.COM/LIFERAY @LIFERAY

Questions?

WWW.LIFERAY.COM WWW.FACEBOOK.COM/LIFERAY @LIFERAY

Firelay

www.firelay.cominfo@firelay.com+31 15 268 255 7

@firelaywww.facebook.com/firelayhostingwww.linkedin.com/company/firelay

Wieteke den Uijlwieteke@firelay.com+31 6 43534794

@wieteke15www.linkedin.com/in/wietekedenuijl