#DamManc

1 messages ยท Page 1 of 1 (latest)

naive geyserBOT
nova girder
#

If you set metadata on the phase, that sets the metadata on the Subscription object

#

But not until the phase is entered

#

It won't be on the invoice object

gritty crane
#

aaaa ok, so i just set metadata outiside and it will be good, thank you! i'll try ๐Ÿ™‚

nova girder
#

What you mean by outside?

gritty crane
#

outside the phase

#

or the is another option?

#

i need to pass metadata

nova girder
#

On what Stripe object do you want the metadata to appear?

#

Metadata is only available on the object you explicitly set it on

gritty crane
#

invoice.paid and invoice.payment_failed

#

at this moment there i can take metadata but have two object inside lines.data

#

and it is an array, so, i can manage to understand what object is correct?

#

e.g. in_1LmzGyGbpWQ4NfkI5HZACN4iin_1LmzGyGbpWQ4NfkI5HZACN4i

nova girder
#

If you want metadata on the actual invoice object

#

Otherwise, if you set it on the phase, you can find it on the subscription

#

Then look at its metadata

gritty crane
#

oh ok,, i understand, i need to go :/ after i'll will try thank you

nova girder
#

No prob