Skip to content

Stripe is a simple, developer-friendly way to accept payments online. We believe that enabling transactions on the web is a problem rooted in code, not finance, and we want to help put more websites in business.

License

Notifications You must be signed in to change notification settings

vkoppaka/stripe-dotnet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About the Library

Stripe is a simple, developer-friendly way to accept payments online. We believe that enabling transactions on the web is a problem rooted in code, not finance, and we want to help put more websites in business.

Currently, the library is feature complete for the Stripe API which can be found here: https://stripe.com/docs/api

How can I install it using NuGet?

To install Stripe, run the following command in the Package Manager Console

PM> Install-Package Stripe

How can I start using this library?

var card = new CreditCard {
    Number = "4111111111111111",
    ExpMonth = 3,
    ExpYear = 2015
};

var api = new StripeClient("Your API Key");
var response = api.CreateCharge(
    amount: 100.00, // $100
    currency: "usd",
    card: card);
    
if (response.Paid) {
    Console.WriteLine("Whoo Hoo...  We made our first sale!");
}

Authors

Copyright 2011 Stripe, Inc.

About

Stripe is a simple, developer-friendly way to accept payments online. We believe that enabling transactions on the web is a problem rooted in code, not finance, and we want to help put more websites in business.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%