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
リアルな遅延を測る仕様
kota_yata
1
130
高専、大学編入、そして未踏へ〜プロダクト開発とキャリアの歩み - Technical College, University Transfer, and On to “Mitou” / My Journey in Product Development and Career
pkmiya
0
100
ALB ログから Trace を気合で繋げる技術
fohte
7
770
Press start. Python's next generation.
willingc
PRO
3
260
仕様駆動開発の消費期限
watany
20
9.1k
Oxlintはいいぞ(続)
yug1224
1
480
高専キャリア LT 発表内容
crysta1221
5
4.4k
片田舎のおっさん、 Swift Buildのダイアモンド問題解決の不具合修正PRを出すが、解決方法がキャッシュをしないようにすることであり、ビルド時間が伸びると言われてマージされないので高速化もする/swiftbuild
yimajo
0
320
「つくるAI」だけではバグは見つからない ~テストに必要な「見つけるAI」を分離させる戦略~
mfunaki
0
200
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
560
DynamoDBの基礎を振り返りながらベクトル検索機能を理解する
musan
3
240
不幸な GC
chencmd
0
810
Featured
See All Featured
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
490
Claude Code のすすめ
schroneko
67
230k
My Coaching Mixtape
mlcsv
0
300
It's Worth the Effort
3n
188
29k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
420
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.4k
Discover your Explorer Soul
emna__ayadi
2
1.3k
Six Lessons from altMBA
skipperchong
29
4.5k
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