5 ms·
Tarsnap now takes credit cards (switching from Paypal to Stripe)
- e1ven 14y agoI love your implementation of the payment iframe! I've wanted to implement stripe on a project of mine for a while, but I've had the same objection -- I don't want to allow any foreign-loaded Javascript that's not in an iframe. Will you be releasing the iframe-generator by any chance? Not that I don't trust you, but I'd feel more comfortable running it on my own HW... For instance, if you went evil, you could replace the iframes generated, rather than really delivering the Stripe code. Alternatively, you might decide that the payment iframe isn't worthwhile, and shut it down, leaving me and my users out of luck.
- cperciva 14y agoI think you wanted to post this over here --> http://news.ycombinator.com/item?id=4376192 http://news.ycombinator.com/item?id=4376192 But while I'm replying, I might as well answer the question... I didn't think anyone would want the frame-generator code, since (a) you'd need to host it yourself and set up your own new domain to do it in, and (b) you wouldn't need the flexibility of specifying a target URL and API key at run-time. But if people want the code I'm happy to provide it -- send me an email to remind me to put it up somewhere.
- e1ven 14y agoSorry, didn't see you posted that separately, I found it linked through this post. I'll send you an email -- It'd be useful for for piece of mind for me, anyway. Throwing an additional Linode up isn't that bad, and it lets me know that the stack isn't going to change. Thanks again for writing this, I'm consistently amazed at the quality of work you do! ;)
- aristidb 14y agoI feared you might have removed Paypal, because Paypal allows using local payment methods (like direct debit). Fortunately it seems like both Stripe and Paypal are supported now. Phew!
- cperciva 14y agoYes, when it comes time to make a payment you can click on either the "Make credit card payment" button (which loads the payment iframe) or the "Send payment via paypal" button (which sends you off to Paypal). There's a lot of people outside of North America who don't have credit cards, and I certainly don't want to exclude them from using Tarsnap.
- gleb 14y agoColin, are automatic renewal payments coming?
- cperciva 14y agoYes. I needed to get credit card processing working first before I can start to work on storing cards to charge later.
- SoftwareMaven 14y agoThe Stripe API for this was marvelously simple to work with. All told, I had around 20-25 lines of code for dealing with subscriptions.
- cperciva 14y agoYes, the work needed is on Tarsnap's side, not the Stripe-interfacing bits. I need to attach Stripe IDs to accounts, find out when and how much people want their accounts to be automatically recharged (and store those parameters), write code which checks each account to see if it needs to be recharged, etc.
- weaksauce 14y agoThis is welcome news. I like tarsnap but really don't like the possibility of losing all my tarsnap backups because I am not around to recharge it within the small window. I might be out on an mountaineering trip and be away from the email alert or something else like that.
- ineedtosleep 14y agoThank goodness. I was considering Tarsnap a few months ago, but I had to reconsider it because of the Paypal requirement. Stripe is a welcomed alternative, though any non-PayPal method would work as well, and I'm likely going to finish my account setup this week.
- DASD 14y agoI've always been curious about comments similar to yours with regard to avoiding a service that uses Paypal. Is that because of not wanting to use Paypal at all? Or is that because you think using Paypal means not being able to pay with credit card(they do and a Paypal account is not required)? Thanks.
- ineedtosleep 14y agoI believe you can specify the amount you're depositing into your account, though someone correct me if I'm wrong. My issue is with just not trusting PayPal. I do use them every now and then when I absolutely must, but I just don't store credit cards or bank accounts with them any longer.
- DASD 14y agoSorry if I'm not clear. I mean you can make a purchase using Paypal and a credit card without having an account. This is separate than having a Paypal account, funding it and then purchasing via transfer("purchase") to another Paypal account.
- cperciva 14y agoUsually true, but not always -- for people in "high risk" countries Paypal sometimes refuses to accept a credit card unless you create a Paypal account first.
- DASD 14y agoGot it. Thank you. But isn't this a separate issue and more to card issuance by Visa/Mastercard/Diner's etc? Won't Stripe likely have the same restrictions to cover themselves...or in time after they've been burned enough as well?
- DASD 14y agoColin, With the iframe implementation, is the burden of PCI compliance back on you(or someone who implements a similar function on their own hardware)? I totally understand the need for safety with regard to external javascript but I thought one of the selling points for Stripe was less PCI headaches since they handle the "sensitive" parts for you?
- cperciva 14y agoThe PCI rules only apply to systems which touch credit card data -- not to a system which serves up a credit card form.
- DASD 14y agoSorry if I misunderstand. Aren't you(paymentiframe) processing the form which is touching the data and then passing the data onto Stripe via their API?
- cperciva 14y agoThe iframe uses Stripe's javascript to send the card details directly to Stripe's servers -- the only thing which hits the tarsnap server is a token which Stripe returns (and nothing at all goes back to the server hosting the iframe).
- flatline3 14y agoThis approach of Stripe's has always seemed like a bit of a shell game to me, but I can only assume it's been deemed PCI compliant.
- cperciva 14y agoAs I point out in my blog post, what the networks care the most about is ensuring that there aren't months or years worth of cards stored anywhere which might leak out. Having a site get compromised and a few days of cards stolen is orders of magnitude less important.
- withjive 14y agoThis means Stripe is coming to Canada very soon. I'm ecstatic!