簡體   English   中英

在 VirtoCommerce Storefront 訂單已付款通知中,我們如何從 customer_order object 中獲取信用卡的最后四位數字?

[英]In the VirtoCommerce Storefront order paid notification how do we get last four digits ofcredit card from customer_order object?

在 VirtoCommerce 店面中,訂單支付通知可以訪問 customer_order object。 我們找不到關於 object 上可用字段的任何文檔。 我們需要信用卡的最后 4 位以及收費的時間(帶時區)以及授權號。

如果我們可以有一個完整的屬性/字段列表以及每個通知中列出的每個可用對象的描述,那就太好了。

OrderEmailNotificationBase繼承的所有訂單通知數據模板。

customer_order object 是VirtoCommerce.Domain.Order.Model.CustomerOrder類型。

請注意,屬性應該從 Camel 表示法轉換為小寫和下划線,因為我們在此模板中使用了 DotLiquid 引擎,並且因為它對所有屬性都使用 Ruby 表示法。

因此,客戶 model 的完整液體示例。 不幸的是,我無法在此處發布完整的文檔:

{
    "customer_id": "string",
    "customer_name": "string",
    "channel_id": "string",
    "store_id": "string",
    "store_name": "string",
    "organization_id": "string",
    "organization_name": "string",
    "employee_id": "string",
    "employee_name": "string",
    "outer_id": "string",
    "shopping_cart_id": "string",
    "is_prototype": true,
    "subscription_number": "string",
    "subscription_id": "string",
    "addresses": [
        {
            "key": "string",
            "address_type": "Billing",
            "name": "string",
...

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM