条纹:"It's often a good idea to store an email address in metadata for tracking later"

Stripe: "It's often a good idea to store an email address in metadata for tracking later"

在 Stripe 的 Charge documentation 中,对于字段 metadata,有这样的建议:

It's often a good idea to store an email address in metadata for tracking later

为什么?电子邮件已经在 receipt_email 字段中设置,不是吗?

为什么 Stripe 建议也将电子邮件存储在元数据中?

如果您使用 receipt_email parameter, then Stripe will send an email receipt to that address. You might want to create charges without sending a receipt however, so in that case it would make sense to keep the email address as a metadata 字段。