commerce case studies
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](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/1.jpg)
Commerce Case Studies
Jonathan LeBlanc (@jcleblanc)Head of Developer Evangelism (North America)
PayPal | Developer
![Page 2: Commerce Case Studies](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/2.jpg)
![Page 3: Commerce Case Studies](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/3.jpg)
The Digital Revolution
![Page 4: Commerce Case Studies](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/4.jpg)
Physical Costs
Price of GoodsStorageShippingReturns…
Digital vs. Physical Goods
Digital Costs
…a few bytes
![Page 5: Commerce Case Studies](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/5.jpg)
The Problems with the Model
Chargebacks and fraud
Copyright owner concerns
Tracking buyers
![Page 6: Commerce Case Studies](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/6.jpg)
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://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/7.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/8.jpg)
Mobile as a Primary Citizen
![Page 9: Commerce Case Studies](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/9.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/10.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/11.jpg)
Data Reduction with Identity
![Page 12: Commerce Case Studies](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/12.jpg)
Identity to Remove Complexities
![Page 13: Commerce Case Studies](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/13.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/14.jpg)
Creating with a Crowd
![Page 15: Commerce Case Studies](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/15.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/16.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/17.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/18.jpg)
Building on a Data Backbone
![Page 19: Commerce Case Studies](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/19.jpg)
![Page 20: Commerce Case Studies](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/20.jpg)
Data Responsibility
Personalize, don’t abuse
Anonymizing the data sources
![Page 21: Commerce Case Studies](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/21.jpg)
Now Announcing…
![Page 22: Commerce Case Studies](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/22.jpg)
The New REST APIs in Mexico!
![Page 23: Commerce Case Studies](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/23.jpg)
The Auth Mechanism
![Page 24: Commerce Case Studies](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/24.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/25.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/26.jpg)
"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](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/27.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/28.jpg)
PayPal Mexico Partner Programwww.paypal.com.mx/partnerprogram
Our New Developer Portalhttps://developer.paypal.com
Resources
![Page 29: Commerce Case Studies](https://reader036.vdocuments.us/reader036/viewer/2022081414/54c844084a795985748b4609/html5/thumbnails/29.jpg)
Thank You!
Jonathan LeBlanc (@jcleblanc)Head of Developer Evangelism (North America)
PayPal | Developer