Questions tagged [stripe.net]

Use this tag for programming questions about Stripe.net, the Stripe payments library for the .NET Framework. Questions should also contain the tag [stripe-payments] and, if applicable, a tag for the programming language in question. Do not use this tag for questions about Stripe which do not involve this specific library.

Stripe.net is a library for the .NET Framework.

You can find Stripe.net on GitHub.

License: Apache License Version 2.0.

133 questions
4
votes
1 answer

Ruby stripe api not firing events

I've successfully integrated stripe.com payment with my website. However I'm not sure why it doesn't fire events in the localhost. Here is my stripe initializer : StripeEvent.setup do subscribe 'charge.succeeded' do |event| ap…
London
  • 14,986
  • 35
  • 106
  • 147
4
votes
4 answers

Is it possible to get a count of subscribers for a plan from the Stripe API?

I am using the Stripe.net library to make calls against the Stripe API. I would like to get a total count of subscribers for various Plans but I am not sure if this is possible with the current API and/or the Stripe.NET Library at all. Can anyone…
stephen776
  • 9,134
  • 15
  • 74
  • 123
3
votes
0 answers

Breakpoint not hit on index method sending a webhook from Stripe using ngrok in Asp.Net MVC

I'm using ASP.Net MVC in a virtual machine, Stripe for credit card processing and installed ngrok.com to create a url so I could send webhooks from Stripe to my localhost. I've installed ngrok.exe and I'm running it and have been provided a url to…
chuckd
  • 13,460
  • 29
  • 152
  • 331
3
votes
2 answers

Stripe Connect "No such balance transaction: txn_" on Get Balance by Id after Successful Charge Creation

So in our workflow, we need to do a stripe direct charge, followed by getting the transaction so that we can see the exact fee that stripe charged. The charge comes back as successful: var chargeObj = new StripeChargeCreateOptions …
Jonathon Cwik
  • 987
  • 11
  • 18
3
votes
2 answers

using stripe's form to process payment in ASP .NET MVC

I am using stripe to process payments on my site. To implement this I want to use Stripe's embedded payment form, called checkout. There's a lack of documentation or up to-date examples to help me with this so far. In the view I have embedded the…
Gareth Quirke
  • 216
  • 1
  • 8
  • 25
3
votes
1 answer

Exchange_Token call with .net client on Plaid API failing with exception

I'm trying to call on the Plaid test environment to integrate Stripe with Plaid using a C# client. However I'm unable to get the token exchanged, whereas I can successfully do so with a curl client. The code is super simple. public async…
Sandeep Phadke
  • 862
  • 9
  • 23
3
votes
0 answers

Stripe iOS Add Card/Set Default Issue

I've added Stripe integration into our app and I'm having a problem when the user first adds a card. The card gets added successfully but when I try and update the default source I get the error No such source: card-xxxxxxxxxxxx, but if I go back to…
Flexicoder
  • 8,251
  • 4
  • 42
  • 56
3
votes
1 answer

StripeException: Invalid API Key provided: Stripe.Net

My program successfully creates a token and passes it. It then creates all of the relevant information for a customer for Stripe. var customer = new StripeCustomerCreateOptions(); customer.Email = $"{user.Email}"; …
Alex Rohr
  • 277
  • 4
  • 14
3
votes
2 answers

How do I do partial capture with stripe

I've tried to do partial captures with stripe. First I authorize 12000 then I capture part with curl https://api.stripe.com/v1/charges/{chargeId}/capture \ -u key -d amount=250 -X POST and immediately after (for testing) I do…
Rune FS
  • 21,497
  • 7
  • 62
  • 96
2
votes
1 answer

Stripe.Net invoice property is NULL when handling charge.refund webhook

I am using Stripe.Net to handle the payments. When I start to test the "charge.refund" webhook, I am getting NULL invoice property in code behind but invoice value exists in Stripe webhook event and I confirmed the invoice is exist dashboard…
Linoy
  • 1,363
  • 1
  • 14
  • 29
2
votes
1 answer

How to create a direct charge by using a shared customer?

I am attempting to create a direct charge to a connected account from my platform. I have been advised by Stripe support to do this by using a shared customer, however that has just created more issues. The code itself is very simple, if it worked.…
Rory McCrossan
  • 331,213
  • 40
  • 305
  • 339
2
votes
2 answers

Stripe Billing Address C# / Dotnet core

Got Stripe up and running quickly and setup my form to include Billing address. But can't seem to find any way to store it in stripe, using the .net sdk. If I go to stripe dashboard I can manually put in the billing address for a customer. My…
Kiksen
  • 1,559
  • 1
  • 18
  • 41
2
votes
0 answers

Stripe.net login link

Hello I'm having trouble with stripe.net login link use with my connected Express accounts. The below code never throws an error but stops the view from ever loading, it just sits their acting like its trying to load. The account id matches a…
Brendan Tackney
  • 103
  • 1
  • 7
2
votes
2 answers

How do I change a Stripe Subscription's billing cycle date?

When a client subscribes to my service, their billing date is the date they subscribed on and every month on that date going forward. Sometimes, a client will ask if their billing date can be changed. I've followed Stripe's Billing Cycle…
Jourdan
  • 385
  • 2
  • 5
  • 17
2
votes
1 answer

How can I update my PHP script based on my user input on HTML form

I am trying to create custom payments using stripe API. I would like the user to be able to input any number for a payment within a form and have my php get the input to charge the card for the selected amount. In my php code the "amount is…
1
2
3
8 9