#mebezac_docs

1 messages ยท Page 1 of 1 (latest)

civic moatBOT
#

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

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

elfin forumBOT
unkempt plover
#

Hi there ๐Ÿ‘‹

#

Can you share the ID of a request where you're encountering that error, so I can take a closer look at that?

royal hearth
#

req_L9z8e9cWxxnfeQ

#

it's in test mode

#

And actually card_error.payment_intent is a undefined method

unkempt plover
#

I don't think payment_intent is expected to be populated in the error since this request doesn't directly involve a Payment Intent.

I don't think there is a way to get the ID of the Payment Intent without retrieving it from the Invoice object. Are you retrieving the Invoice before attempting to pay it by chance?

royal hearth
#

I'm going straight from creating to paying, it's not a huge deal to do a invoice.refresh as that does populate invoice.payment_intent, I just wanted to see if I could avoid that extra request somehow.

And the error code invoice_payment_intent_requires_action made me think that it was related to the payment_intent, however I see what you're saying that it's not directly related.

Any chance that can be a feature request, I'm guessing it would technically be possible to populate payment_intent on that error since it's an error that occured on a payment_intent , albeit indirectly?

#

Anyways, thanks for verifiying that I wasn't missing something obvious ๐Ÿ‘

unkempt plover
#

Yup, I can definitiely file that feedback, I certainly agree that would make handling this easier!

royal hearth
#

๐Ÿ‘Œ Have a good rest of your day ๐Ÿ‘‹