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
0
votes
2 answers

Try/Catch with Stripe.Net MVC Contoller

The stripe.net documentation says you should handle errors as follows: Any errors that occur on any of the services will throw a StripeException with the message returned from Stripe. It is a good idea to run your service calls in a try and catch…
Barry MSIH
  • 3,525
  • 5
  • 32
  • 53
0
votes
1 answer

Charging customer on behalf of shopkeeper using Stripe Connect?

I am developing this using ASP.NET and i have used Stripe.NET dll, according to the documentation I had linked up my shopkeeper stripe account with me and got the access code. Now i have confusion about my customer, he should be added as customer…
0
votes
1 answer

Stripe payment hosting issue

I'm getting the following error when using stripe payment (test mode) on a ASP.MVC 4.0 application, published in 1and1 shared hosting: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0,…
rafa0212
  • 3
  • 2
0
votes
1 answer

How to retrieve nested json objects in C#?

Stripe Transfer JSON I'm trying to get all charge IDs associated with a transfer. var json = new StreamReader(context.Request.InputStream).ReadToEnd(); var stripeEvent = StripeEventUtility.ParseEvent(json); StripeTransfer stripeTransfer; switch…
J Benjamin
  • 4,722
  • 6
  • 29
  • 39
0
votes
1 answer

Send and Recive Payments With Credit Cards Only

We are Making a App in which We Take Payments from Customers and Give Them Points same like Customer can give Points to Us and Take Payment . This is a Game is there any payment Gate Way That Directly Paid Customer in his/her Credit Card we want…
0
votes
1 answer

Stripe C# error handling

I managed to use a version of the Strip.net dll to create a payment method but im having issues dealing with errors. I got as far as this. try { StripeCustomer current = GetCustomer(); // int? days = getaTraildays(); //if (days != null) …
user3266908
  • 45
  • 1
  • 4
  • 11
0
votes
1 answer

Stripe charge same plan multiple times

I have to charge my clients monthly depending on how many users they have. So, I've created a plan to charge the user 10€/monthly but it only charges him once, and I've to charge it 10€monthly/user so, if he has 5users, I need to charge…
Bernat
  • 3
  • 5
0
votes
1 answer

Stubbing stripe subscription error

I'm trying to test my payment process and I'm stuck with the problem of stubbing the subscription, this is the error message I get : Double "Stripe::Customer" received unexpected message :[] with ("subscription") This is the relevant part of the…
London
  • 14,986
  • 35
  • 106
  • 147
0
votes
1 answer

Stripe Connect Application Fee Discrepancy

So, I'm not sure if this is a coding error or a misunderstanding of the Stripe Connect process on my part, but I'm trying to make a charge using the Stripe .NET wrapper. My code is below: int chargeAmount = 2014; int appFee = 1986; var…
Jack
  • 950
  • 2
  • 17
  • 36
0
votes
2 answers

integration of NetSuite with either WePay or with Stripe

I am doing some research for a NFP in the USA and we want to find out if anyone (a company or an individual) has either: a) done an integration of NetSuite with either WePay or with Stripe. b) released a product that helps other places integrate the…
user2622970
  • 11
  • 1
  • 1
  • 3
0
votes
2 answers

Using onClientClick and onClick together with form submission

So I'm having some trouble. Even after trying many different solutions my problem is still persistent. The button click will fire the java script code, but not the server side code.
Saf
  • 13
  • 1
  • 5
-1
votes
1 answer

How to charge fee on stripe api using c#

I am using Stripe Api to create a customer and then charge it. What i wanted is to charge my customer whenever it create a sell or charge. I want 7% of total amount to be credited in my stripe account. I have tried the Application fee when creating…
H_Dev
  • 31
  • 5
-3
votes
2 answers

What is the purpose of surrounding a variable/parameter with * (Star) symbols in C#?

I saw this line of code in Stripe.NETs documentation TokenId = *tokenId*, and... StripeCard stripeCard = cardService.Create(*customerId*, myCard); But I've never seen a variable/parameter surrounded by * (star) symbols before. Does this do…
Justin L.
  • 993
  • 14
  • 33
1 2 3
8
9