customer_id is not populated on transaction tender

為{幸葍}努か 提交于 2019-12-11 22:10:52

问题


I've noticed that in nearly all cases that after receiving a webhook notification and retrieving the payment and correlating transaction, that the tender(s) on the transaction are missing the customer_id.

On rare occasions it is populated. At some point in the future it seems that this is being added, as old transactions have the field set.

Is this a bug? Can someone explain/document the expected behavior? Are there any plans for this to be set in real-time?

Thanks


回答1:


We'll improve the documentation around that feature. The customer_id field is optionally added by the merchant in the event that the merchant wants to track customers, and is only included in the response when the merchant has added it. However, the field is required in the event that the customer_card_id parameter mentioned here https://docs.connect.squareup.com/api/connect/v2/#endpoint-charge is provided.



来源:https://stackoverflow.com/questions/37308423/customer-id-is-not-populated-on-transaction-tender

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!