#karuppasamy

1 messages · Page 1 of 1 (latest)

manic sedgeBOT
ivory jewel
#

hi

plucky grotto
#

Hi! Let me help you with this.

#

Hi, could you please try to update your SDK?
What version are you using now?

ivory jewel
#

ok

#

Strip 41.17.0

#

how to update SDK

plucky grotto
#

What programming language are you using?

ivory jewel
#

dotnet

plucky grotto
#

This parameter is present in your version.
What's the exact error you're seeing when you hover over red area?

ivory jewel
#

SessionCreateOptions doesnot contain definition for 'ReturnURL'

plucky grotto
#

Please give me a moment to check

manic sedgeBOT
meager relic
#

Hi! I'm taking over this thread.

#

Could you try updating your version of stripe-dotnet to the latest version to see if that solves the issue?

ivory jewel
#

how to update latest verison

#

this version only latest in web api

meager relic
#

The latest version is v41.20.0

ivory jewel
#

ok

#

updated latest version v41.20.0 but still same error

meager relic
#

That's odd. Can you share the exact error message you see?

ivory jewel
#

SessionCreateOptions doesnot contain definition for 'ReturnURL'

ionic sedge
#

👋 taking over for my colleague. Let me catch up.

#

oh sorry, it's the customer portal session

#

looking into this, sorry again for the confusion

#

after updating the version, would you mind trying to Clean the project

#

and build again?

mental elk
#

you need to add using Stripe.BillingPortal

#

SessionCreateOptions exists as both Stripe.BillingPortal.SessionCreateOptions (which is what you want), and Stripe.Checkout.SessionCreateOption ( which is what it's resolving to now but that you don't want)

ionic sedge
#

@mental elk do you think it's pulling from the CheckoutSessions SessionCreateOptions?

ivory jewel
mental elk
#

just do var options = new Stripe.BillingPortal.SessionCreateOptions { ....}

#

same later on, do var service = new Stripe.BillingPortal.SessionService()

#

if you're still having trouble, share your full actual code here