Blog

Suivre Stripe sur Twitter

Multiple subscriptions

Jim Danz on February 4, 2014

Stripe has offered subscription billing functionality from day 1. From day 2, we’ve been hearing requests to support more than one active subscription per customer. Much like we did with cards last July, you can now (finally!) create, retrieve, list, update, and delete subscriptions as first-class API resources on customers:

curl https://api.stripe.com/v1/customers/cus_3R12DmsmM9/subscriptions \
  -u sk_test_mkGsLqEW6SLnZa487HYfJVLf: \
  -d plan=extra_bandwidth_package

Subscriptions can also be managed from the dashboard and there’s full support for per-subscription invoices, invoice items, and discounts.

As with a lot of what we launch, this has been in the works for a while, and many early testers provided great feedback—thanks to all of you, and especially to Michael Belfrage from Udacity. (If you’d like to test out their integration, just enroll in multiple Udacity courses. Personally, I recommend CS101 and CS271.)

Our API documentation has been updated to reflect these changes, but if you’re an existing user looking to see exactly what’s new, this overview might be useful.

Lastly, if you’re interested in testing out new functionality like this in the future, you may find it useful to subscribe to our api-discuss mailing list. (Fortunately, the list also supports multiple subscriptions.) And if you have any feedback, please let me know!

February 4, 2014

CTF3 wrap-up

Siddarth Chandrasekaran on January 28, 2014

To wrap up Stripe CTF3, we're hosting meetups in San Francisco and London. The architects of CTF3 will go over each of the levels, the motivation behind them, and the ways that participants solved them.

Come by, enjoy the free drinks and snacks, learn to solve the levels, and hang out with fellow participants! People of any technical skill level are welcome.

City:
San Francisco
Date:
Thursday, January 30th, 2014
Time:
7:00 PM
Where:
Stripe HQ
3180 18th Street
San Francisco, CA - 94110
RSVP:
Here
City:
London
Date:
Friday, January 31st, 2014
Time:
6:30 PM
Where:
General Assembly
4th Floor, 9 Back Hill
London EC1R 5EN
RSVP:
Here

Hope to see you there!

January 28, 2014

Stripe CTF3: Distributed Systems

Greg Brockman on January 22, 2014

We’re proud to launch Capture the Flag 3: Distributed Systems. Without further ado, you can now jump in and start playing. If you complete all the levels, we'll send you a special-edition Stripe CTF3 T-shirt.

For those seeking further ado: we’ve found that the best way to teach people to build good systems is by giving them hands-on experience with problems that even expert developers may only occasionally get the chance to solve. We’ve run two previous Capture the Flags, both of which were designed to be an interesting way to get hands-on experience with crafting vulnerabilities.

Problems that follow this pattern—interesting, educational, rarely encountered—occur in many places outside security though, and we've made Capture the Flag 3 focus on distributed systems. There are five levels, each one focused on a different problem in the field. In all cases, the problem is one you’ve likely read about many times but never had a chance to try out in practice.

If you’d like to see how others are doing, we have leaderboards (for those who’ve opted in). You can also create a leaderboard for your group or company if you’d like to compete against your friends. We have CTF community chat on IRC at irc://irc.stripe.com:+6697/#ctf. If you'd rather use Twitter than IRC, #stripectf is the hashtag for the event.

Above all, we want you to have fun and hopefully learn something in the process. If you get lost, we’ve provided beginners’ guides for each level which should point you in the right direction.

CTF3 will run for a week (so until 11am Pacific on January 29th). Happy hacking!

January 22, 2014

Open betas in Europe

Michelle Bu on January 22, 2014

Over the last year, we’ve launched betas—and added production users—in Australia, Belgium, Finland, France, Germany, Luxembourg, the Netherlands, and Spain. We’ve also launched fully in the UK and Ireland.

Up to now, we’ve required an invite if you’re based in one of our beta countries. Starting today, anyone in a beta European country (Belgium, Finland, France, Germany, Luxembourg, the Netherlands, and Spain) can sign up without an invite. These countries are still in beta, but we’ve realized that they’re useful to enough people that we should allow anyone to sign up immediately.

We look forward to adding many more countries and continuing to launch across Europe over the course of 2014. As ever, please let us know if you have any feedback!

Accept payments with Stripe. Get started

January 22, 2014

Coming soon: Stripe CTF3

Greg Brockman on January 15, 2014

It's been over a year since our last Capture the Flag competition, and in the meanwhile we've fielded dozens of inquiries about when the next one's coming. The wait is almost over: CTF3 will be here a week from today.

Next Wednesday, starting at 11am San Francisco time (2pm Boston, 7pm London, 6am Melbourne), we'll be launching CTF3.

This time around, we're trying something a bit different. Rather than being about security, CTF3 will focus on distributed systems engineering. You'll learn how to build fault-tolerant, performant software while playing around with a bunch of cool cutting-edge technologies. Like with previous CTFs, our goal is to give you hands-on exposure to interesting engineering problems that you normally only get to read about. If you've been wanting to really grok things like Paxos/Raft, DDOS prevention, distributed search, or Bitcoin (and maybe even bit twiddling), now's your chance.

As always, we're building this CTF for programmers of all skill levels and backgrounds. Even if the above sounds daunting, you should still give it a shot — you might be surprised by what you can accomplish. For those looking for some competition, there will be leaderboards where you can compete against your friends or the CTF community at large.

Want to meet and hack alongside your fellow CTFers in person? While the main gathering will once again be based on IRC (check back for details next week), we'll also be hosting kickoff events in San Francisco, Boston, and London.

Over the next week, the CTF team (Siddarth Chandrasekaran, Andy Brody, Christian Anderson, and I) will be putting the finishing touches on CTF3. See you on the other side!

January 15, 2014

Manage multiple accounts

Alex Sexton on January 8, 2014

We’ve noticed that many of you manage more than one Stripe account. Now, instead of creating multiple user accounts with different email addresses, you can add new or existing accounts to one profile and quickly switch between them in the Dashboard (and forget having to remember any additional email and password combos).

You can link existing Stripe accounts, too. Simply invite your other accounts to your team (at any permission level) and you'll be able to seamlessly switch between them. We’ve also updated teams so that you can invite users who already have a Stripe account to your team. Users can belong to multiple teams, and you can quickly switch between these shared accounts as well.

Hopefully this makes managing multiple accounts less annoying. We have lots more de-annoying planned for 2014.

January 8, 2014

New capabilities for Connect

Amber Feng on December 12, 2013

We built Stripe Connect to simplify the payment flow for marketplaces, store builders, and any other platforms that help users get paid. Since our launch last year, we’ve added a couple of new, frequently requested features:

NewApplication fees

You can now view, manage, and refund the fees you collect with our new application fees API endpoint or through the dashboard.

UpdateAutomatically refund fees

When you refund a charge, you can also choose to automatically refund any fees your platform may have collected (as always, Stripe doesn't charge additional fees for refunds or failed transactions). Note that you’ll need to upgrade your application’s API version to make use of this feature.

NewCollect fees on subscriptions

If your users sell subscriptions, you can now collect fees on a per-transaction or per-invoice basis—finally! (Relatedly, we’ve also added a weekly interval to the subscription options you can offer.)

NewMultiple redirect URLs

You can now specify a dynamic redirect URL for when a user successfully connects a new or existing Stripe account to your platform, making it easier to support multiple development environments and custom redirect behavior.

Feedback is always appreciated—we’d love to hear any thoughts on the above, or about anything else you think we should build that’d make Connect better.

Learn more about how Stripe Connect works. Get Started

December 12, 2013

Track account activity in the dashboard

Russell Davis on November 7, 2013

Security is one of the biggest considerations in everything we do. In addition to two-factor authentication, we now offer an account activity view, where you can see where and when activity on your account is happening.

The Last Account Activity link in the footer of your dashboard now shows the locations, IP addresses, and times of recent dashboard activity. (As before, you can also view all API requests in the logs section.) If anything looks suspicious or if you simply forgot to sign out of another browser, you can use the Account Activity dialog to terminate any active sessions.

As always, we'd love to hear any feedback!

November 7, 2013

Adding context with metadata

Kiran Bhattaram on October 30, 2013

We’ve long supported a description parameter on Stripe objects like charges and customers—it’s a convenient place to add human-readable info. Since descriptions can be searched and viewed in the dashboard, they generally make Stripe easier to use.

We’ve noticed a lot of users resorting to embedding JSON in the description to annotate Stripe objects with more robust data such as user IDs, product sizing or color, delivery dates, shipping status, tax information, etc.

Now, we’re making it easier to associate structured data with Stripe objects. With our new metadata support, you can directly attach key-value pairs to charges, customers, and most other objects. As with descriptions, this data can be searched and viewed in the dashboard. The API is straightforward:

curl https://api.stripe.com/v1/charges/charge_id \
   -u api_key: \
   -d "metadata[order_id]=132ad31" \
   -d "metadata[shipping_tracking]=1Z9498297793814938"

Metadata helps you store the info that’s most useful for your business, and we hope that it makes it easier to reconcile Stripe objects with your databases and systems. Please let us know what you think!

October 30, 2013