I keep getting the error message above. I am trying to add the card to stripe before creating the users subscription.
private StripeCard AddCardToStripe(CreditCard card, string stripeCustomerId)
{
var options = new StripeCardCreateOptions
{
Source = new StripeSourceOptions
{
TokenId = card.StripeToken
}
}; //nothing is picked up here i.e. the token is not being passed in.
Hello,
I keep getting the error message above. I am trying to add the card to stripe before creating the users subscription.
private StripeCard AddCardToStripe(CreditCard card, string stripeCustomerId) { var options = new StripeCardCreateOptions { Source = new StripeSourceOptions { TokenId = card.StripeToken } }; //nothing is picked up here i.e. the token is not being passed in.
Any help would be great, thanks.