#deinonychus_best-practices
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/1399839645251928096
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
To get around it, for now we manually call the invoiceService.Pay method, and this throws an exception if it triggers 3DS, which we can catch and handle properly. But I'm not sure if this follows best practices
๐ Looking into this for you, just reading through.
Thanks really appreciate it! Let me know if this isn't clear enough. I'm pretty new to this
Sorry, we just had an influx of questions come in at once. Apologizes for the delay.
No worries at all
Hello
Jumping in to help out here..
It's a bit tricky with Subscription Schedules as it is generally used to "schedule" updates rather than apply immediately. I think finalizing the invoice manually is the correct route here.
The other workaround would be to
1/ Release the Subscription from the Schedule
2/ Update it
3/ Create a new Schedule from the updated Subscription
let me know if that helps clarify @verbal flint
Yeah it does, thanks! I was afraid I was going to have to handle it asynchronously with webhooks or something like that. Finalizing it manually does make sense in that context
Ideally, you'd handle this async with Schedules ๐ but since this is a Customer Initiated update, I can understand why you'd require "manual" trigger to finalize the invoice and handle SCA
Anything else we can help you with? ๐
Not for this specific question. I'm probably gonna start another thread ๐ Thanks again!