#jarrett

1 messages · Page 1 of 1 (latest)

untold pecanBOT
noble quest
#

Are you expecting it to contain something?

#

Also, where are you looking at last_payment_error.code?

hushed schooner
#

the payment intent has a field called last_payment_error

#

and it has a field called code

#

which is an empty string

#

i have code that references it in the past which I assume is because it sometimes is a value

#

i'm surprised it is an empty string for certain

noble quest
#

Hmmm, that's odd

#

I'm looking at it now internally and I can see that it obviously has had a payment error. I wonder if it's set to null if a payment succeeds

#

Let me dig a bit more and get back to you

hushed schooner
#

This happens right after I get an error

#

the last_payment_error is set

#

the code field on it is blank

#

line 126