#macro-metadata

1 messages · Page 1 of 1 (latest)

bright fractal
#

hi there! can you clarify what you mean? Which part is not working?

fading jacinth
#

not saving the key and value entered

#

all checkout are getting like this, it only works in the "subscriptions.create" method

bright fractal
#

the metadata is added to the CheckoutSesson object, not the PaymentIntent(which is what your dashboard screenshot it)

#

you should use payment_intent_data: {metadata: {....}} instead basically

fading jacinth
#

ok, i will test

#

reject

bright fractal
#

ah right, yep

#

then you wantsubscription_data.metadata then.

fading jacinth
#

yeeeeeap!

#

success