Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Taxes and Payments at Gilt
Search
sullis
April 15, 2014
Technology
1
360
Taxes and Payments at Gilt
presentation given at the Portland Java User Group
April 15, 2014
sullis
April 15, 2014
Tweet
Share
More Decks by sullis
See All by sullis
Amazon S3 Chicago 2025-06-04
sullis
0
86
Amazon S3 Boston 2025-05-07
sullis
0
40
Netty ConFoo Montreal 2025-02-27
sullis
0
70
GitHub Actions ConFoo Montreal 2025-02-26
sullis
0
41
Netty Portland Java User Group 2025-02-18
sullis
0
8
Amazon S3 NYJavaSIG 2024-12-12
sullis
0
170
Amazon S3 - Portland Java User Group 2024-09-17
sullis
0
94
Netty - Montreal Java User Group 2024-05-21
sullis
0
170
Netty Chicago Java User Group 2024-04-17
sullis
0
1.1k
Other Decks in Technology
See All in Technology
Oracle Audit Vault and Database Firewall 20 概要
oracle4engineer
PRO
2
1.6k
Devin(Deep) Wiki/Searchの活用で変わる開発の世界観/devin-wiki-search-impact
tomoki10
0
780
AIにどこまで任せる?実務で使える(かもしれない)AIエージェント設計の考え方
har1101
3
1.2k
CIでのgolangci-lintの実行を約90%削減した話
kazukihayase
0
330
Workflows から Agents へ ~ 生成 AI アプリの成長過程とアプローチ~
belongadmin
3
170
IIWレポートからみるID業界で話題のMCP
fujie
0
620
~宇宙最速~2025年AWS Summit レポート
satodesu
1
500
AIエージェント最前線! Amazon Bedrock、Amazon Q、そしてMCPを使いこなそう
minorun365
PRO
6
380
Copilot Agentを普段使いしてわかった、バックエンド開発で使えるTips
ykagano
1
1.4k
監視のこれまでとこれから/sakura monitoring seminar 2025
fujiwara3
10
2.5k
白金鉱業Meetup_Vol.19_PoCはデモで語れ!顧客の本音とインサイトを引き出すソリューション構築
brainpadpr
2
450
Observability infrastructure behind the trillion-messages scale Kafka platform
lycorptech_jp
PRO
0
120
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
Designing for humans not robots
tammielis
253
25k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Producing Creativity
orderedlist
PRO
346
40k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
32
5.9k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.3k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.5k
Why You Should Never Use an ORM
jnunemaker
PRO
56
9.4k
Speed Design
sergeychernyshev
31
1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
Transcript
Taxes and Payments at Gilt Sean Sullivan April 15, 2014
• gilt.com • Taxes • Credit cards • Alternate payment
methods
Gilt is an online retailer
www.gilt.com
www.gilt.com
Gilt Checkout
https://www.gilt.com/checkout
Gilt’s checkout system • reserve inventory • assign shipping address
• enforce shipping restrictions • identify eligible ship methods • calculate ship cost
Gilt’s checkout system • assign currency • identify eligible payment
methods • assign payment method to order
Gilt’s checkout system • identify eligible discounts • apply discounts
• apply account credits • calculate tax
Domestic orders
Different tax laws in each U.S. state
http://www.oregon.gov/dor/Pages/salestax.aspx “Oregon does not have a general sales tax (or
a use/transaction tax). “
http://www.nyc.gov/html/dof/html/business/nys_sales_tax.shtml Sales tax in New York state
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.
Use a commercial tax calculator
http://www.vertexinc.com/Solutions/indirect/vertex-o-series.asp
• 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
@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
International orders
borderfree.com
checkout system Borderfree checkout UI
Borderfree Checkout API • quoteRequest • placeOrderRequest
Credit card transactions
Credit card operations • AVS check • authorization • capture
• credit
checkout system payment system payment processor checkout UI order processing
system order queue
Credit card security
http://en.wikipedia.org/wiki/Payment_Card_Industry_Data_Security_Standard
http://en.wikipedia.org/wiki/Payment_Card_Industry_Data_Security_Standard
Public key cryptography
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
https://paysvc.giltvault.com/payment_service/ get_publickey?callback=demo
Gilt’s encryption key ceremony
http://tech.gilt.com/post/77092511313/scenes-from-the-annual-encryption-key-ceremony-at-gilt
http://tech.gilt.com/post/77092511313/scenes-from-the-annual-encryption-key-ceremony-at-gilt
Alternate payment methods
Gilt.com Checkout with PayPal
https://www.gilt.com/checkout
None
None
None
None
None
None
Integrating with
• SOAP API • NVP API • REST API developer
API’s
• SetExpressCheckout • GetExpressCheckoutDetails • DoExpressCheckoutPayment Express Checkout
Emerging payment technology
Crypto currencies
http://www.bloomberg.com/news/2014-03-25/bitcoin-is-property-not-currency-in-tax-system-irs-says.html
http://twitter.com/businessinsider/status/455825603988824064
The end
Bonus slides
http://en.wikipedia.org/wiki/Quill_Corp._v._North_Dakota
http://twitter.com/evanpro/status/238728001670479872