#dorian6730_best-practices

1 messages ยท Page 1 of 1 (latest)

clear rootBOT
eager parrotBOT
#

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.

clear rootBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1255231454389080205

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

analog dragon
#

*I am seeing the invoice.paid come through as soon as the sub is activated

#

Will that be the case for an ACH sub in live mode?

halcyon tangle
#

Hello! If you look at the associated Payment Intent and Charge are those showing as succeeded or pending?

analog dragon
#

Ah ok

#

I am just looking at the invoice.paid event and the status of 'paid'

#

Does that not indicate that the payment was successful?

clear rootBOT
analog dragon
#

Iam looking at data.object.status in the invoice.paid event

#

And seeing a value of 'paid'

#

I should be looking at either the charge or the payment intent?

tribal mantle
#

Hello ๐Ÿ‘‹
The invoice status being paid does indicate that the payment was successful.
I believe Rubeus was asking about the status of the PaymentIntent associated with the invoice..

But you're right... In live mode, the PaymentIntent status may be pending for a few days since ACH is delayed notification payment method.

analog dragon
#

I didnt get a chance to check the PaymentIntent status. It would presumably now also be in paid or succeded status. So in live mode for an ACH payment, would an invoice.paid event not be created until the ACH payment clears? If so, then I will need to listen to payment.intent_processing, right?

#

If I want to know that the payment associated with the subscription has started processing, that is

tribal mantle
#

Correct

analog dragon
#

Thank you