Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Payments Revolution
Search
Ignacio Anaya
September 21, 2018
Programming
310
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Payments Revolution
Ignacio Anaya
September 21, 2018
More Decks by Ignacio Anaya
See All by Ignacio Anaya
Security is not a feature‼️
ianaya89
2
550
Rompiendo Paradigmas Otra Vuez! 🔨📜3️⃣
ianaya89
0
170
Security is not a feature!
ianaya89
1
410
What's next in Vue 3? 🖖 3️⃣
ianaya89
0
160
What's next in Vue 3? 🖖 3️⃣
ianaya89
0
310
Vue.js, PWA & The Subway Dilemma
ianaya89
0
240
PWA with PWF
ianaya89
0
69
Decentralizing the Web with JavaScript
ianaya89
0
170
hey-devs-time-to-care-about-web-apps-security.pdf
ianaya89
0
140
Other Decks in Programming
See All in Programming
夏だ!祭りだ!祭りとはドメインモデリングでは?
ryugen04
0
440
S3 を使うアプリケーションをローカル完結で動かすことに全力を注いでみた / Running S3 Apps Offline
contour_gara
0
670
AI駆動開発にグラフDBを重ねてみた
satoshi256kbyte
1
380
信頼性の目標を誰も求めてない
shubox
0
270
高専、大学編入、そして未踏へ〜プロダクト開発とキャリアの歩み - Technical College, University Transfer, and On to “Mitou” / My Journey in Product Development and Career
pkmiya
0
100
属人化した知識を、 AIが辿れる地図にする
pkshadeck
PRO
1
220
freee が目指す データ マネジメント戦略 AI-Ready 時代を支える 攻めのガバナンスとは
freee
PRO
0
520
初心者DevRelとして参加者だった私が、DevRel Talks!#2に登壇するまでにしてきたこと
sokohirai
0
160
Pythonの実行はどこまで賢くなったのか? CPythonとPyPyから見る最適化のしくみ
curekoshimizu
4
2.3k
AIに既存システムを理解させる技術 ~レガシーを見捨てないハーネスエンジニアリング入門~
ochtum
0
170
まずはプロンプトガイドを読もう、話はそれからだ
kiakiraki
1
230
go-spidermonkeyでAIエージェントのCode Modeを実装する
syumai
3
1.4k
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.9k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.3k
Context Engineering - Making Every Token Count
addyosmani
9
1.1k
Site-Speed That Sticks
csswizardry
13
1.5k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
290
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.8k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
310
GitHub's CSS Performance
jonrohan
1033
470k
The SEO Collaboration Effect
kristinabergwall1
1
530
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
220
Transcript
Payments Revolu/on !✊ 1
Nacho Anaya @ianaya89 • Full Stack Developer @BloqInc • Ambassador
@Auth0 • Ambassador @Na>veScript • Organizador @Vuenos_Aires 2
! 3
! 4
95% ! Carros abandonados 5
! Más personas comprando en mobile 6
66% ! Compras mobile son en la web 7
66% ! Menos Conversiones 8
Anda a chequearlo... 9
! Sistema Homogéneo Heterogéneo 10
! Todos hacen lo mismo 11
❌" Todos hacen lo mismo de una manera diferente 12
13
! Forms 14
15
! Autofill 16
! Autofill <input name="ccname" autocomplete="cc-name" /> <input name="cardnumber" autocomplete="cc-number" />
<input name="cvc" autocomplete="cc-csc" /> <input name="cc-exp" autocomplete="cc-exp" /> 17
25% ! Más Conversiones 18
! Autofill 19
! Imaginemos un mundo sin forms... 20
21
22
! Payment Request API 23
! Eliminar Checkout Forms 24
! Estandarizar Colecciones de Pagos 25
❌ Payment Request API • Gateway de Pago • Mover
dinero • Desarrollar mas facil 26
! Payment Request API 27
new PaymentRequest() const supportedNetworks = ['amex', 'mastercard', 'visa'] const supportedTypes
= ['debit', 'credit'] const supportedInstruments = [{ supportedMethods: 'basic-card', data: { supportedNetworks, supportedNetworks } }] const details = { total: { label: 'Total + IVA', amount: { currency: 'USD', value: '1210.00' } }, displayItems: [{ label: 'Camiseta del Más Grande', amount: {currency: 'USD', value: '1000.00'}, }] } const paymentRequest = new PaymentRequest(supportedInstruments, details) 28
new PaymentRequest() const supportedNetworks = ['amex', 'mastercard', 'visa'] const supportedTypes
= ['debit', 'credit'] const supportedInstruments = [{ supportedMethods: 'basic-card', data: { supportedNetworks, supportedNetworks } }] const details = { total: { label: 'Total + IVA', amount: { currency: 'USD', value: '1210.00' } }, displayItems: [{ label: 'Camiseta del Más Grande', amount: {currency: 'USD', value: '1000.00'}, }] } const paymentRequest = new PaymentRequest(supportedInstruments, details) 29
paymentMethods • Standard (basic-card) • URL's (h1ps:/ /google.com/pay) 30
paymentOptions const options = { requestShipping: true, requestPayerEmail: true, requestPayerPhone:
true, requestPayerName: true, shippingType: 'delivery' } const paymentRequest = new PaymentRequest(supportedInstruments, details, paymentOptions) 31
.show() const paymentRequest = new PaymentRequest(supportedInstruments, details) paymentRequest.show() .then(paymentResponse =>
{ console.log(paymentResponse) }) .catch(paymentError => { console.log(paymentError) }) 32
.canMakePayment() const paymentRequest = new PaymentRequest(supportedInstruments, details) paymentRequest.canMakePayment() .then(success =>
{ console.log(success) }) .then(err => { console.log(err) }) 33
.complete() paymentRequest.show() .then(paymentResponse => { // Interaccion servitor o app
de pago... paymentResponse.complete('success') }) .catch(paymentResponse => { paymentResponse.complete('fail') }) 34
! Acciones y Eventos • Payment Method • Shipping Address
• Shipping Op5on 35
! Confirmar y Pagar 36
! Demo 37
38
! Seguridad 39
!" Usuarios 40
!" E/M Commerce Gateways 41
! Developers 42
❓ Can I Use? 43
44
45
Gracias! @ianaya89 46
! Links • bit.ly/payment-rev • bit.ly/payment-ref-demo • h5ps:/ /developers.google.com/web/fundamentals/payments •
h5ps:/ /paymentrequest.show/demo 47