Commerce Case Studies

Post on 28-Jan-2015

108 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

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

Commerce Case Studies

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

PayPal | Developer

The Digital Revolution

Physical Costs

Price of GoodsStorageShippingReturns…

Digital vs. Physical Goods

Digital Costs

…a few bytes

The Problems with the Model

Chargebacks and fraud

Copyright owner concerns

Tracking buyers

Preventing Fraud: Tracking Buyers

Email domain type

User browsing & buying habitsManual review

Device Fingerprinting

IP to billing address location

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

Mobile as a Primary Citizen

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

Working with These Models

Responsive, cross-platform HTML5 web applications

Reduce the number of screens to checkout

Use knowledgeable identity systems

Data Reduction with Identity

Identity to Remove Complexities

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

thanks to cross-selling recommended products

fikobservatory

Personalized Recommendations

Creating with a Crowd

Crowdfunding vs. Group Funding

Many people funding a single individual to perform an end action

Many people funding an end action

Why Crowdfunding is so Hard

Tracking money to its final source

Vetting project owners

Time to payment charge

Handling chargebacks

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?

Building on a Data Backbone

Data Responsibility

Personalize, don’t abuse

Anonymizing the data sources

Now Announcing…

The New REST APIs in Mexico!

The Auth Mechanism

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"

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":[ ... ]}'

"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" }]

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" }'

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

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

Resources

Thank You!

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

PayPal | Developer

top related