The MetaData property editor allows you to add metadata to your product, this is passed over to the Payment Provider.
The returned type is: Dictionary<string, string>
{% hint style="info" %} The node key gets added in the Stripe Session service in a key called "nodeKey" {% endhint %}
You can programmatically add metadata by creating an IEnumerable<UmbCheckoutMetaData>()
object
{% code title="Create object example" %}
var metaData = new List<UmbCheckoutMetaData>
{
new()
{
Name = "Dictionary Key 1",
Value = "Dictionary Value 1"
},
new()
{
Name = "Dictionary Key 2",
Value = "Dictionary Value 2"
}
}
{% endcode %}