Save 37% off PRO during our Black Friday Sale! »

Taxes and Payments at Gilt

99d4c0ed3c8027ea1c37b53d6441d042?s=47 sullis
April 15, 2014

Taxes and Payments at Gilt

presentation given at the Portland Java User Group
April 15, 2014

99d4c0ed3c8027ea1c37b53d6441d042?s=128

sullis

April 15, 2014
Tweet

Transcript

  1. Taxes and Payments at Gilt Sean Sullivan April 15, 2014

  2. • gilt.com • Taxes • Credit cards • Alternate payment

    methods
  3. Gilt is an online retailer

  4. www.gilt.com

  5. www.gilt.com

  6. Gilt Checkout

  7. https://www.gilt.com/checkout

  8. Gilt’s checkout system • reserve inventory • assign shipping address

    • enforce shipping restrictions • identify eligible ship methods • calculate ship cost
  9. Gilt’s checkout system • assign currency • identify eligible payment

    methods • assign payment method to order
  10. Gilt’s checkout system • identify eligible discounts • apply discounts

    • apply account credits • calculate tax
  11. Domestic orders

  12. Different tax laws in each U.S. state

  13. http://www.oregon.gov/dor/Pages/salestax.aspx “Oregon does not have a general sales tax (or

    a use/transaction tax). “
  14. http://www.nyc.gov/html/dof/html/business/nys_sales_tax.shtml Sales tax in New York state

  15. Sales tax in New York state http://www.tax.ny.gov/bus/st/sales_tax_rates.htm The combined sales

    and use tax rate equals the state rate (currently 4%) plus any local tax rate imposed by a city, county, or school district. [...] The combined rates vary in each county and in cities that impose sales tax.
  16. Use a commercial tax calculator

  17. http://www.vertexinc.com/Solutions/indirect/vertex-o-series.asp

  18. • O Series On Demand (SAAS) • SOAP API •

    generate SOAP client with Apache CXF • commit SOAP client source to a Git repo • publish library to internal Ivy repo Vertex integration @ Gilt
  19. @WebService(targetNamespace = "http://www.vertexinc.com/oseries/services/ CalculateTax50", name = "CalculateTaxWS50") @XmlSeeAlso({com.vertexinc.oseries.tps_5_0.ObjectFactory.class}) @SOAPBinding(parameterStyle =

    SOAPBinding.ParameterStyle.BARE) public interface CalculateTaxWS50 { @WebResult(name = "VertexEnvelope", targetNamespace = "urn:vertexinc:o- series:tps:5:0", partName = "VertexEnvelope") @WebMethod public com.vertexinc.oseries.tps_5_0.VertexEnvelope calculateTax50( @WebParam(partName = "part", name = "VertexEnvelope", targetNamespace = "urn:vertexinc:o-series:tps:5:0") com.vertexinc.oseries.tps_5_0.VertexEnvelope part ); } Generated code
  20. International orders

  21. borderfree.com

  22. checkout system Borderfree checkout UI

  23. Borderfree Checkout API • quoteRequest • placeOrderRequest

  24. Credit card transactions

  25. Credit card operations • AVS check • authorization • capture

    • credit
  26. checkout system payment system payment processor checkout UI order processing

    system order queue
  27. Credit card security

  28. http://en.wikipedia.org/wiki/Payment_Card_Industry_Data_Security_Standard

  29. http://en.wikipedia.org/wiki/Payment_Card_Industry_Data_Security_Standard

  30. Public key cryptography

  31. Encrypting credit card data 1. AJAX request: GET /get_publickey 2.

    encrypt with JavaScript encryption library: rsa.encrypt(publicKey, ccData) 3. HTTPS POST to server
  32. https://paysvc.giltvault.com/payment_service/ get_publickey?callback=demo

  33. Gilt’s encryption key ceremony

  34. http://tech.gilt.com/post/77092511313/scenes-from-the-annual-encryption-key-ceremony-at-gilt

  35. http://tech.gilt.com/post/77092511313/scenes-from-the-annual-encryption-key-ceremony-at-gilt

  36. Alternate payment methods

  37. Gilt.com Checkout with PayPal

  38. https://www.gilt.com/checkout

  39. None
  40. None
  41. None
  42. None
  43. None
  44. None
  45. Integrating with

  46. • SOAP API • NVP API • REST API developer

    API’s
  47. • SetExpressCheckout • GetExpressCheckoutDetails • DoExpressCheckoutPayment Express Checkout

  48. Emerging payment technology

  49. Crypto currencies

  50. http://www.bloomberg.com/news/2014-03-25/bitcoin-is-property-not-currency-in-tax-system-irs-says.html

  51. http://twitter.com/businessinsider/status/455825603988824064

  52. The end

  53. Bonus slides

  54. http://en.wikipedia.org/wiki/Quill_Corp._v._North_Dakota

  55. http://twitter.com/evanpro/status/238728001670479872