I'm trying to install a newer version of Stripe.net:
https://github.com/jaymedavis/stripe.net
- Via Nuget, I build the Stripe.dll file
- I create a new website project
- I add a reference to Stripe.dll
- I add a reference to RestSharp.dll
using System;
using Stripe;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
StripeConfiguration.SetApiKey("[your api key here]");
}
}
But it throws the error:
Error 1 The name 'StripeConfiguration' does not exist in the current context
I try other examples, but all throw similar errors.