#simp_code

1 messages ¡ Page 1 of 1 (latest)

pseudo gobletBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1266261378365128787

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

vestal anchor
#

hello! have you tried logging stripeCustomer.Id to ensure it's defined?

calm vapor
#

hi, actually i i'm getting error here,
var options = new StripeInvoiceCreateOptions
{
Customer = stripeCustomer.Id,
}
'StripeInvoiceCreateOptions' does not contain a definition for 'Customer'
so there's issue with value stripeCustomer.Id

vestal anchor
#

yes, so have you tried logging stripeCustomer.Id to check what's the value?

calm vapor
#

yes in debug mode i'm getting value

ashen obsidian
#

Which version of stripe-dotnet are you on?

calm vapor
calm vapor
ashen obsidian
calm vapor
#

actually after upgrading version there will be alot of development for me
because it's an live application and everywhere i need to change then

ashen obsidian
#

We no longer support stripe-dotnet version that was this old. Many new features and properties have been added between v10 to v45. Upgrading the stripe-dotnet version is recommended

calm vapor
#

oh ok thank you