#deinonychus_best-practices

1 messages ยท Page 1 of 1 (latest)

dusk pendantBOT
#

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

verbal flint
#

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

pseudo narwhal
#

๐Ÿ‘‹ Looking into this for you, just reading through.

verbal flint
pseudo narwhal
#

Sorry, we just had an influx of questions come in at once. Apologizes for the delay.

verbal flint
#

No worries at all

lost heath
#

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

verbal flint
lost heath
#

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? ๐Ÿ™‚

verbal flint
#

Not for this specific question. I'm probably gonna start another thread ๐Ÿ™‚ Thanks again!