#jarrett-radar-metadata

1 messages · Page 1 of 1 (latest)

outer veldt
#

Hello, what are you trying to do with metadata in radar?

#

Or is this that you already have it set up and the question is how to set the metadata on invoices with the Payment Element?

sterile jewel
#

we use metadata currently in our radar rules

#

idk how to get that metadata onto the payment intent that we don't know about. in the past we finalized the invoice after the customer added their card and then paid it.

#

now that whole process would happen when the customer adds their card and we won't have the payment intent prior to the customer confirming it so we can't add the metadata onto the payment intent directly

outer veldt
#

What do you mean when you say this is a payment intent you don't know about?

#

So how was the customer adding their card before, and how are they adding it now such that you can't use the same method of finalizing your invoice and paying it like before?

sterile jewel
#

I guess I could do it before. it's too bad it's like 5 requests to make an invoice and then I have to get the payment intent and update it to set the metadata on it

#

it totally slows down our checkout flow

outer veldt
#

So what is your current flow to take their payment method and start these subscriptions?

sterile jewel
#

not for a subscription. for an invoice we generate for the customer to pay to make a purchase

lusty horizon
#

Sorry I missed this follow-up! Yeah, you don't really have any other option other than to update the underlying Payment Intent to add the metadata

sterile jewel
#

would be nice if there was a way to set it via the payment_settings option like you can for some other options.

young phoenix
#

@sterile jewel agreed!

sterile jewel
#

is this something that has already been considered @young phoenix? I was trying to use the new Payment Elements again now that you guys removed the payment_method_types requirement. Now I've run into the inability to save the payment method until you guys make it so setup_future_usage has some "if possible" type option.