You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I remove the dot at the end of the "Order No." metadata field the request is sent as desired (with the value as a string instead of an array). The successful command would be:
Issue
I was trying to trigger an event through the CLI using the following command:
stripe trigger payment_intent.payment_failed --add payment_intent:metadata."Order No."="37018189"
Which returned the following response:
When visiting the URL provided the request shows the value for that metadata field was sent as an array:
When I remove the dot at the end of the "Order No." metadata field the request is sent as desired (with the value as a string instead of an array). The successful command would be:
stripe trigger payment_intent.payment_failed --add payment_intent:metadata."Order No"="37018189"
Expected Behavior
I expected the "Order No." value to be sent as a string. Something like so:
Steps to reproduce
Trigger a stripe event with the param containing a dot like in the first command shown:
stripe trigger payment_intent.payment_failed --add payment_intent:metadata."Order No."="37018189"
Traceback
https://dashboard.stripe.com/test/logs/req_QcLulON5e8gLUe?t=1682686037
Environment
macOS
The text was updated successfully, but these errors were encountered: