MetaData Property Editor

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>

The node key gets added in the Stripe Session service in a key called "nodeKey"

Programmatically add metadata

You can programmatically add metadata by creating an IEnumerable<UmbCheckoutMetaData>() object

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"
    }
}

Last updated