#satvik-techie_code
1 messages · Page 1 of 1 (latest)
👋 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/1297800618886303810
📝 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.
- satvik-techie_code, 2 days ago, 32 messages
- satvik-techie_webhooks, 3 days ago, 9 messages
- satvik-techie_code, 3 days ago, 18 messages
- satvik-techie_code, 5 days ago, 10 messages
- satvik-techie_code, 6 days ago, 9 messages
- satvik-techie_api, 6 days ago, 40 messages
hi there
I don’t see invoice_hosted_url anywhere in your code
let me share with you
hosted-invoice-page-21b0153182b5b6e2698c43296af10ae7.js:1 Uncaught (in promise) UnexpectedError: Expired API Key provided: ek_test_YW*********************************************************************_******Vmdp. Platform access may have been revoked.
at hosted-invoice-page-21b0153182b5b6e2698c43296af10ae7.js:1:2362191
getting above error
when i receive a invoice.payment_failed event ( webhook ) in my api i am getting invoice_payment_url in invoice object , then i take that url to share with my customer to proceed with payment, but my customer unable to make payment with that url .
What’s the event id?
Let me take a look
okay thanks
Ok, looks like the platform that created this subscription was already disconnected from this connected account.
but how come that possbile ?
i have not done any changes after creating a subscription
if i create a payment link on that price, would that be a case ?
StripeConfiguration.ApiKey = paymentConfiguration.ApiKey;
var requestOptions = new RequestOptions
{
StripeAccount = paymentConfiguration.AccountKey
};
var options = new PaymentLinkCreateOptions
{
LineItems = new List<PaymentLinkLineItemOptions>
{
new PaymentLinkLineItemOptions
{
Price = priceId,
Quantity = 1,
},
},
};
var service = new PaymentLinkService();
var paymentLink = await service.CreateAsync(options, requestOptions);
return paymentLink.Url
the priceid is taken from invoice object
Hmm, but still even if the platform is disconnected, the invoice URL should still work.
This is going to require a bit more investigation. Sorry to redirect you, but can you write in to https://support.stripe.com/contact/email with the information that you provided. We'll respond via email/ticket after looking into it further.
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.