#satvik-techie_code

1 messages ยท Page 1 of 1 (latest)

severe helmBOT
#

๐Ÿ‘‹ 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/1293456343956717599

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

timber fable
#

hi ,there

#

i want to update subscription witn new price data

#

but i am getting error

#

No such price: 'price_1Q7tBTJnIVON3K7uB4NBg0rK'

#

request log url

eternal quarry
#

Thanks and looking

timber fable
#

sure

eternal quarry
#

The price seem belongs to a different Stripe Account

#

Make sure your current SecretKey's owner account and the Price owner account is the same

timber fable
#

ok let me check

#

fixed done

timber fable
#

one more query

#

if you dont mind

#

Failed to create subscription.Stripe.StripeException: The parameter billing_cycle_anchor expects a unix timestamp representing a date and time in the future. You specified the value 1728428400 which is in the past.
at Stripe.StripeClient.ProcessResponse[T](StripeResponse response) in //src/Stripe.net/Infrastructure/Public/StripeClient.cs:line 153
at Stripe.StripeClient.RequestAsync[T](HttpMethod method, String path, BaseOptions options, RequestOptions requestOptions, CancellationToken cancellationToken) in /
/src/Stripe.net/Infrastructure/Public/StripeClient.cs:line 115
at Stripe.Service`1.RequestAsync[T](HttpMethod method, String path, BaseOptions options, RequestOptions requestOptions, CancellationToken cancellationToken) in /_/src/Stripe.net/Services/_base/Service.cs:line 275
at VisionPlus.DirectToLandlord.Servies.StripeService.MakeMonthlyPayment(StripePaymentRequestViewModel stripePaymentRequestViewModel, StripePaymentConfigurationViewModel paymentConfiguration) in /home/vsts/work/1/s/Source/Infrastructure/DirectToLandlord/VisionPlus.DirectToLandlord/Servies/StripeService.cs:line 449

#

some time i am getting this error

#

while creating a subscription

eternal quarry
#

Yes, the error is clear, isn't it? ๐Ÿ™‚ 1728428400 is in the past

#

you want to pass some time in the future

timber fable
#

yes i know the error , but the time stamp that i have passed is same while creating a subscription and taking the payment

#

so i have added 5 min to time while creating a subcription

eternal quarry
#

Hmm not sure but it should be anytime later than the current time. You may have a bug on the calculation logic when you output 1728428400