290 likes | 349 Views
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.
E N D
Commerce Case Studies Jonathan LeBlanc (@jcleblanc) Head of Developer Evangelism (North America) PayPal | Developer
Digital vs. Physical Goods Physical Costs Digital Costs Price of Goods Storage Shipping Returns … …a few bytes
The Problems with the Model Chargebacks and fraud Copyright owner concerns Tracking buyers
Preventing Fraud: Tracking Buyers IP to billing address location Email domain type User browsing & buying habits Manual review Device Fingerprinting
More on Device Fingerprinting https://panopticlick.eff.org/ Browser characteristic Bits of identifying information 1 in x browsers with same characterists User Agent 12.01 4117.11 Browser Plugin Detail 6.8 111.13 Time Zone 21.6+ 3178409 Screen Size / Color Depth 4.56 23.58 System Fonts 21.6+ 3178409 Cookies Enabled? 0.44 1.35 Limited Supercookie Test 0.98 1.97
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
Optimists consider that up to a 30% of ecommerce sales increase is thanks to cross-selling recommended products fikobservatory Personalized Recommendations
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?
Data Responsibility Anonymizing the data sources Personalize, don’t abuse
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/payme nt/PAY-6RV70583SB2805EKEYSZ6Y/execute/ -H 'Content-Type:application/json' -H 'Authorization:Bearer {ACCESS_TOKEN}' -d '{ "payer_id" : "7E7MGXCWTTKK2" }'
Resources PayPal Mexico Partner Program www.paypal.com.mx/partnerprogram Our New Developer Portal https://developer.paypal.com
Thank You! Jonathan LeBlanc (@jcleblanc) Head of Developer Evangelism (North America) PayPal | Developer