#teamtalk

1 messages · Page 1 of 1 (latest)

rugged marshBOT
minor fable
#

Hello there

#

Are you familiar with expansion?

fickle grove
#

Yes

#

Are there times when a url may not be present even if the charge succeeds

minor fable
#

No that shouldn't be the case really

#

Are you seeing an example of that?

fickle grove
#

just trying to find it

#

I saw the url once but on subsequent responses coudln't find it maybe Im missing something

minor fable
#

It is possible that the PaymentIntent didn't move to succeeded -- like it could move to requires_action if 3DS is required.

#

In which case there wouldn't be a Charge yet

fickle grove
#

The object is called charges

#

or charge

minor fable
#

So there is a charges prop on older API versions that you might see. You can use charges.data if you like, but latest_charge is an easier way to access the relevant Charge object

fickle grove
#

lastest_charge is that an object inside the response

rugged marshBOT
fickle grove
#

Sorted thank you!