commerce case studies

29
Commerce Case Studies Jonathan LeBlanc (@jcleblanc) Head of Developer Evangelism (North America) PayPal | Developer

Upload: jonathan-leblanc

Post on 28-Jan-2015

107 views

Category:

Technology


0 download

DESCRIPTION

Talk originally given at PayPal & PulsoSocial Developer Meetup on E-Commerce in Mexico This talk covers numerous innovations in the areas of commerce. As we explore these experiences, we'll look into considerations, difficulties and practical use cases around implementations.

TRANSCRIPT

Page 1: Commerce Case Studies

Commerce Case Studies

Jonathan LeBlanc (@jcleblanc)Head of Developer Evangelism (North America)

PayPal | Developer

Page 2: Commerce Case Studies
Page 3: Commerce Case Studies

The Digital Revolution

Page 4: Commerce Case Studies

Physical Costs

Price of GoodsStorageShippingReturns…

Digital vs. Physical Goods

Digital Costs

…a few bytes

Page 5: Commerce Case Studies

The Problems with the Model

Chargebacks and fraud

Copyright owner concerns

Tracking buyers

Page 6: Commerce Case Studies

Preventing Fraud: Tracking Buyers

Email domain type

User browsing & buying habitsManual review

Device Fingerprinting

IP to billing address location

Page 7: Commerce Case Studies

https://panopticlick.eff.org/

More on Device Fingerprinting

Browser characteristic Bits of identifying information

1 in x browsers with same characterists

User Agent 12.01 4117.11Browser Plugin Detail 6.8 111.13Time Zone 21.6+ 3178409Screen Size / Color Depth 4.56 23.58System Fonts 21.6+ 3178409Cookies Enabled? 0.44 1.35Limited Supercookie Test 0.98 1.97

Page 8: Commerce Case Studies

Mobile as a Primary Citizen

Page 9: Commerce Case Studies

Working with the App Stores

Any product that can be purchased from the app store needs to be

Physical goods are ok – Use a WebView

Construct a wrapper the handle cross-device requests

Page 10: Commerce Case Studies

Working with These Models

Responsive, cross-platform HTML5 web applications

Reduce the number of screens to checkout

Use knowledgeable identity systems

Page 11: Commerce Case Studies

Data Reduction with Identity

Page 12: Commerce Case Studies

Identity to Remove Complexities

Page 13: Commerce Case Studies

Optimists consider that up to a 30% of ecommerce sales increase is

thanks to cross-selling recommended products

fikobservatory

Personalized Recommendations

Page 14: Commerce Case Studies

Creating with a Crowd

Page 15: Commerce Case Studies

Crowdfunding vs. Group Funding

Many people funding a single individual to perform an end action

Many people funding an end action

Page 16: Commerce Case Studies

Why Crowdfunding is so Hard

Tracking money to its final source

Vetting project owners

Time to payment charge

Handling chargebacks

Page 17: Commerce Case Studies

Group Funding Decisions

Short term vs. long term money holding

Direct payment to 1 person or auth /capture model?

Who is responsible for chargebacks / refunds?

Page 18: Commerce Case Studies

Building on a Data Backbone

Page 19: Commerce Case Studies
Page 20: Commerce Case Studies

Data Responsibility

Personalize, don’t abuse

Anonymizing the data sources

Page 21: Commerce Case Studies

Now Announcing…

Page 22: Commerce Case Studies

The New REST APIs in Mexico!

Page 23: Commerce Case Studies

The Auth Mechanism

Page 24: Commerce Case Studies

Fetching an Access Token

curl https://api.sandbox.paypal.com/v1/oauth2/token -H "Accept: application/json" -H "Accept-Language: en_US" -u "{CLIENTID}:{SECRET}" -d "grant_type=client_credentials"

Page 25: Commerce Case Studies

Create a Payment

curl -v https://api.sandbox.paypal.com/v1/payments/payment-H 'content-Type:application/json'-H 'authorization:Bearer {ACCESS_TOKEN}'-d '{ "intent":"sale", "redirect_urls":{ … }, "payer": { "payment_method":"paypal" }, "transactions":[ ... ]}'

Page 26: Commerce Case Studies

"links": [{ "href": "https://api.sandbox.paypal.com/v1/payments/ payment/PAY-6RV705805EKEYSZ6Y", "rel": "self", "method": "GET" },{ "href": "https://www.sandbox.paypal.com/webscr? cmd=_express-checkout&token=EC-60U79N19609", "rel": "approval_url", "method": "REDIRECT" },{ "href": "https://api.sandbox.paypal.com/v1/payments/ payment/PAY-6RV705805EKEYSZ6Y/execute", "rel": "execute", "method": "POST" }]

Page 27: Commerce Case Studies

Execute a Payment

curl -v https://api.sandbox.paypal.com/v1/payments/payment/PAY-6RV70583SB2805EKEYSZ6Y/execute/ -H 'Content-Type:application/json'-H 'Authorization:Bearer {ACCESS_TOKEN}' -d '{ "payer_id" : "7E7MGXCWTTKK2" }'

Page 28: Commerce Case Studies

PayPal Mexico Partner Programwww.paypal.com.mx/partnerprogram

Our New Developer Portalhttps://developer.paypal.com

Resources

Page 29: Commerce Case Studies

Thank You!

Jonathan LeBlanc (@jcleblanc)Head of Developer Evangelism (North America)

PayPal | Developer