Braintree v.zero: a modern foundation for accepting payments - Alberto Lopez - Codemotion Milan 2014
Integrating the Firelay platform with Braintree payments
-
Upload
wieteke-den-uijl -
Category
Technology
-
view
564 -
download
1
description
Transcript of Integrating the Firelay platform with Braintree payments
![Page 1: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/1.jpg)
Integrating the Firelay Platform with Braintree paymentsWelcome
Wieteke den Uijl FirelayEmail [email protected] +31 6 43534794Twitter @wieteke15LinkedIn www.linkedin.com/in/wietekedenuijl
![Page 2: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/2.jpg)
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
![Page 3: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/3.jpg)
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
![Page 4: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/4.jpg)
WWW.LIFERAY.COM WWW.FACEBOOK.COOM/LIFERAY @LIFERAY
About Firelay● All about Liferay ● Liferay Hosting
○ Standard○ Custom
● Liferay Training● All Liferay activities from Proteon
![Page 5: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/5.jpg)
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
![Page 6: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/6.jpg)
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
![Page 7: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/7.jpg)
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
![Page 8: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/8.jpg)
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
![Page 9: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/9.jpg)
WWW.LIFERAY.COM WWW.FACEBOOK.COM/LIFERAY @LIFERAY
Architecture Firelay
Firelay Website
Customer Portal
Puppet Master
Firelay
Firelay
Firelay
Firelay
Firelay
Firelay
Business LogicFIS
![Page 10: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/10.jpg)
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
![Page 11: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/11.jpg)
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
![Page 12: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/12.jpg)
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
![Page 13: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/13.jpg)
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
![Page 14: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/14.jpg)
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
![Page 15: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/15.jpg)
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
![Page 16: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/16.jpg)
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
![Page 17: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/17.jpg)
WWW.LIFERAY.COM WWW.FACEBOOK.COM/LIFERAY @LIFERAY
BraintreeFISIntegration Firelay & Braintree
Firelay 1 Subscription
Customer
Firelay 2
Firelay n
Customer
Subscription
Subscription
![Page 18: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/18.jpg)
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
![Page 19: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/19.jpg)
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
![Page 20: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/20.jpg)
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
![Page 21: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/21.jpg)
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
![Page 22: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/22.jpg)
WWW.LIFERAY.COM WWW.FACEBOOK.COM/LIFERAY @LIFERAY
Questions?
![Page 23: Integrating the Firelay platform with Braintree payments](https://reader034.fdocuments.in/reader034/viewer/2022051322/5465f708b4af9f443f8b4e5b/html5/thumbnails/23.jpg)
WWW.LIFERAY.COM WWW.FACEBOOK.COM/LIFERAY @LIFERAY
Firelay
[email protected]+31 15 268 255 7
@firelaywww.facebook.com/firelayhostingwww.linkedin.com/company/firelay
Wieteke den [email protected]+31 6 43534794
@wieteke15www.linkedin.com/in/wietekedenuijl