#Marco Slanzi-Intents
1 messages · Page 1 of 1 (latest)
The part of code is this
var service = new PaymentIntentService();
var options = new PaymentIntentCreateOptions
{
Amount = totalvalue,
Currency = "eur",
Customer = customerid,
PaymentMethod = paymentmethodid,
Confirm = true,
OffSession = true,
Metadata = new Dictionary<string, string> {
{ "id", myorderid },
{ "paymentId", paymentId },
{ "cultureCode", langid }
},
};
var result = service.Create(options);
I am using setup intent for scheduled payments with variable values
And it is included in a hourly cycle
This part of code is for a planned payment
sorry my bad, I meant Payment Intent Ids or request Ids
duplicated pament intents are
pi_3LOVlTALTzXeHOEZ1ugPgijD
pi_3LOVlLALTzXeHOEZ1FgGwvqe
i have received only the second one
It is enough to send idempotency key based on my transaction id?
yes idempotency keys are really helpful
What is the default value for maxNetworkRetries configuration?
Probably the library has sent another request because the response was not complete.
Even if I have received it from my logs
Stripe.net is a sync/async .NET 4.6.1+ client, and a portable class library for stripe.com. - stripe-dotnet/README.md at master · stripe/stripe-dotnet
ok, so I can maintain that and add my idempotency key in the request
Is it correct?
Or it was added automatically
The idempotency key will be the same for the retries yes. The library will handle that
Ok, last question
is it possibile for a customer to add us only to view logs and developer area in the dashboard?
I don't believe so: https://stripe.com/docs/dashboard/teams/roles
Developer roles
Can be enough?
Up to you!
Ok, so our customers can add us safely, thanks for all at the moment