#cdubs44

1 messages · Page 1 of 1 (latest)

tame trellisBOT
minor wharf
#

Would it be metadata['State']~'" + state + "'" ?

dim edge
minor wharf
#

thought so. Thanks!

#

Would the ~ work on metadata though?

#

@dim edge It doesn't look like the ~ works for metadata

dim edge
#

Did you try metadata['State']~UT ?

minor wharf
#
Query = "active:'true' AND metadata['Page']:'Gymshare Main Payment' AND metadata['State']~'" + state + "'"
#

wait one sec. forgot to reset my service

#

Yeah, even stripe is saying this

#

Stripe.StripeException: The operator ~ is not a supported search operator for field metadata in resource products. Try using one of the supported operators: :.

dim edge
#

OK, so you can't use ~ in metadata field.

minor wharf
#

do you have any wildcards or anything?

dim edge
#

I'm afraid for metadata you can only use : operator.

minor wharf
#

hmmm maybe a feature to think about adding in a future release or something