#dhruv_api
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/1407702232295538813
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, not in the API
I am using API to create invoice and then getting back the hosted_invoice_url
I don't see any option for return URL in the API https://docs.stripe.com/api/invoices/object
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Is that something I can update in stripe somewhere?
no sorry that's not something you can set.
Any workaround you can suggest?
if you want more control over this, then you souldn't use the hosted invoice URL. instead build your own payment page to pay for the invoice.
Ok, can you please share the document for the same
here's a doc on how to accept a payment. note that you won't need to create a PaymentIntent, instead use the existing PaymentIntent created by your Invoice.
https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements
Is there anything for Salesforce?
Ohk, I think that's all for now