Modèle de courriel pour paiement expiré

Ce modèle est envoyé après qu'un client a passé une commande et que la confirmation de paiement a expiré.

Cela ne se produit que lorsque la commande est passée par une méthode de paiement asynchrone (par exemple, Paypal Express Checkout).

Données du modèle

{
    "Order": {
        "AccountId": 0,
        "IpAddress": null,
        "UserAgent": null,
        "Lang": null,
        "Email": "john.doe@example.com",
        "Status": 2,
        "ShipToBillingAddress": false,
        "BillingAddress": {
            "FullName": "John Doe",
            "FirstName": null,
            "Name": "John Doe",
            "Company": "Snipcart",
            "Address1": "226 rue St-Joseph Est",
            "Address2": null,
            "FullAddress": "226 rue St-Joseph Est",
            "City": "Québec",
            "Country": "CA",
            "PostalCode": "G1K 3A9",
            "Province": "QC",
            "Phone": null,
            "VatNumber": null
        },
        "RecoveryCampaignStatus": {
            "ActionsNeeded": false,
            "Unsubscribed": false,
            "PreProcessed": false,
            "CampaignId": null,
            "FutureCampaignsSteps": [],
            "StepsExecuted": []
        },
        "ShippingAddress": {
            "FullName": "John Doe",
            "FirstName": null,
            "Name": "John Doe",
            "Company": "Snipcart",
            "Address1": "226 rue St-Joseph Est",
            "Address2": null,
            "FullAddress": "226 rue St-Joseph Est",
            "City": "Québec",
            "Country": "CA",
            "PostalCode": "G1K 3A9",
            "Province": "QC",
            "Phone": null,
            "VatNumber": null
        },
        "CompletionDate": 1592837219,
        "InvoiceNumber": "SNIP-1001",
        "ShippingInformation": {
            "Fees": 20.0,
            "Method": "Standard shipping"
        },
        "HasItemsShippable": true,
        "PaymentMethod": 1,
        "PaymentStatus": 9,
        "Card": {
            "Last4Digits": "4242",
            "OwnerName": null,
            "Type": 1
        },
        "PaymentDetails": {
            "IconUrl": null,
            "Display": null,
            "Instructions": null
        },
        "Summary": {
            "Subtotal": 80.00,
            "TaxableTotal": 130.0,
            "Total": 100.00,
            "PayableNow": 100.00,
            "PaymentMethod": 1,
            "Taxes": [],
            "DiscountInducedTaxesVariation": 0.0,
            "AdjustedTotal": 80.00,
            "Shipping": null
        },
        "Metadata": {
            "key": "value1",
            "tree": {
                "branch": "valu2",
                "nest": {
                    "field": "value3"
                }
            }
        },
        "Plans": [],
        "CustomFields": [
            {
                "Name": "Comment",
                "DisplayValue": "This is a comment on this order",
                "Operation": null,
                "Type": null,
                "Options": null,
                "Required": false,
                "Value": "This is a comment on this order",
                "OptionsArray": null
            },
            {
                "Name": "Accept terms",
                "DisplayValue": "true",
                "Operation": null,
                "Type": "checkbox",
                "Options": null,
                "Required": false,
                "Value": "true",
                "OptionsArray": [
                    "true",
                    "false"
                ]
            },
            {
                "Name": "Hidden custom field",
                "DisplayValue": "hidden value",
                "Operation": null,
                "Type": "hidden",
                "Options": null,
                "Required": false,
                "Value": "hidden value",
                "OptionsArray": null
            }
        ],
        "Refunds": [
            {
                "Amount": 20.0,
                "Comment": "Refunded after speaking with customer.",
                "NotifyCustomer": false,
                "RefundedByPaymentGateway": false,
                "CreationDate": 1592923619
            }
        ],
        "Notifications": [],
        "Taxes": [],
        "DefaultTaxes": null,
        "Currency": "usd",
        "TotalWeight": 0.0,
        "BaseTotal": 150.0,
        "Total": 80.00,
        "DiscountsTotal": 50.00,
        "ItemsTotalWithoutTaxes": 80.00,
        "TaxesTotal": 0.0,
        "TaxProvider": 0,
        "PaymentGatewayUsed": 0,
        "User": {
            "Id": "c1dfaefd-41f3-411d-babf-fe3f1b28bd03",
            "Email": "john.doe@example.com",
            "Mode": 0,
            "Statistics": {
                "OrdersCount": 0,
                "OrdersAmount": null,
                "SubscriptionsCount": 0
            },
            "CreationDate": "2020-06-23T14:46:59.7040763Z",
            "BillingAddressFirstName": null,
            "BillingAddressName": null,
            "BillingAddressCompanyName": null,
            "BillingAddressAddress1": null,
            "BillingAddressAddress2": null,
            "BillingAddressCity": null,
            "BillingAddressCountry": null,
            "BillingAddressProvince": null,
            "BillingAddressPostalCode": null,
            "BillingAddressPhone": null,
            "ShippingAddressFirstName": null,
            "ShippingAddressName": null,
            "ShippingAddressCompanyName": null,
            "ShippingAddressAddress1": null,
            "ShippingAddressAddress2": null,
            "ShippingAddressCity": null,
            "ShippingAddressCountry": null,
            "ShippingAddressProvince": null,
            "ShippingAddressPostalCode": null,
            "ShippingAddressPhone": null,
            "ShippingAddressSameAsBilling": false,
            "Status": 1,
            "SessionToken": null,
            "GravatarUrl": "https://www.gravatar.com/avatar/b4d822719962698cc5af9c19cf9c90e2?s=70&d=https%3a%2f%2fcdn.snipcart.com%2fassets%2fimages%2favatar.jpg",
            "BillingAddress": {
                "FullName": null,
                "FirstName": null,
                "Name": null,
                "Company": null,
                "Address1": null,
                "Address2": null,
                "FullAddress": "",
                "City": null,
                "Country": null,
                "PostalCode": null,
                "Province": null,
                "Phone": null,
                "VatNumber": null
            },
            "ShippingAddress": {
                "FullName": null,
                "FirstName": null,
                "Name": null,
                "Company": null,
                "Address1": null,
                "Address2": null,
                "FullAddress": "",
                "City": null,
                "Country": null,
                "PostalCode": null,
                "Province": null,
                "Phone": null,
                "VatNumber": null
            }
        },
        "GatewayResponseData": null,
        "PaymentGatewayTransactionId": null,
        "IsRecurringInvoice": false,
        "Guest": false,
        "ShippingCharged": false,
        "Mode": 1,
        "Discounts": [
            {
                "Id": "a4b4e9f2-c95e-47d1-b281-1586092bb7a6",
                "DiscountId": "d2d0d878-6aa6-4e33-94e5-c289a9dd02a5",
                "AmountSaved": 50.00,
                "Name": "50$ off",
                "Value": -50.00,
                "Type": 3,
                "Trigger": 1,
                "MaxAmountToReach": null,
                "MaxDiscountsPerItem": null,
                "Code": "50_OFF",
                "AffectedItems": [],
                "Amount": 50.0,
                "Products": [],
                "CategoryNames": [],
                "AppliesOnAllRecurringOrders": false,
                "IsForARecoveryCampaign": false,
                "NormalizedRate": 0.0,
                "OnlyOnSameProducts": false,
                "NumberOfItemsRequired": null,
                "NumberOfFreeItems": null,
                "QuantityOfProducts": []
            }
        ],
        "Items": [
            {
                "UniqueId": "2e2467b6-db67-4236-8a3c-93b1fbfac898",
                "Token": "d300372a-2293-46b7-8b2b-f6003c5ec30b",
                "PaymentSchedule": {
                    "Interval": 0,
                    "IntervalCount": 1,
                    "TrialPeriodInDays": null,
                    "StartsOn": "2020-06-23T00:00:00Z"
                },
                "PausingAction": 0,
                "CancellationAction": 0,
                "Id": "tshirt",
                "Name": "Geek T-Shirt",
                "Price": 50.0,
                "Description": null,
                "HasTaxesIncluded": false,
                "Categories": [
                    "Cat1",
                    "Cat2"
                ],
                "Url": "/",
                "FileGuid": null,
                "Image": "https://placeholdit.imgix.net/~text?txtsize=14&txt=150%C3%97150&w=150&h=150",
                "Quantity": 2,
                "QuantityStep": 1,
                "MinQuantity": null,
                "MaxQuantity": null,
                "Stackable": false,
                "Shippable": true,
                "Taxable": true,
                "Taxes": [],
                "CustomFields": [
                    {
                        "Name": "Size",
                        "DisplayValue": "Medium",
                        "Operation": null,
                        "Type": null,
                        "Options": null,
                        "Required": false,
                        "Value": "Medium",
                        "OptionsArray": null
                    },
                    {
                        "Name": "Color",
                        "DisplayValue": "Red",
                        "Operation": null,
                        "Type": "dropdown",
                        "Options": null,
                        "Required": false,
                        "Value": "Red",
                        "OptionsArray": []
                    },
                    {
                        "Name": "Gift",
                        "DisplayValue": "true",
                        "Operation": null,
                        "Type": "checkbox",
                        "Options": null,
                        "Required": false,
                        "Value": "true",
                        "OptionsArray": [
                            "true",
                            "false"
                        ]
                    },
                    {
                        "Name": "Hidden custom field",
                        "DisplayValue": "Hidden value",
                        "Operation": null,
                        "Type": "hidden",
                        "Options": null,
                        "Required": false,
                        "Value": "Hidden value",
                        "OptionsArray": null
                    }
                ],
                "Duplicatable": false,
                "DownloadLink": null,
                "Metadata": null,
                "AlternatePrices": {},
                "Dimensions": {
                    "Width": null,
                    "Height": null,
                    "Length": null,
                    "Weight": null
                },
                "UnitPrice": 50.0,
                "TotalPrice": 100.0,
                "TotalPriceWithoutTaxes": 100.0,
                "TotalPriceWithoutDiscountsAndTaxes": 61.54,
                "TotalPriceWithoutDiscountsAndTaxesLegacy": 61.54,
                "AddedOn": 1592833619,
                "ModificationDate": 1592923619,
                "IsRecurring": false
            },
            {
                "UniqueId": "44e6a46e-7433-4032-9d3c-f84b932e0f42",
                "Token": "d300372a-2293-46b7-8b2b-f6003c5ec30b",
                "PaymentSchedule": {
                    "Interval": 0,
                    "IntervalCount": 1,
                    "TrialPeriodInDays": null,
                    "StartsOn": "2020-06-23T00:00:00Z"
                },
                "PausingAction": 0,
                "CancellationAction": 0,
                "Id": "poster",
                "Name": "Awesome poster",
                "Price": 10.0,
                "Description": null,
                "HasTaxesIncluded": false,
                "Categories": [],
                "Url": "/",
                "FileGuid": null,
                "Image": "https://placeholdit.imgix.net/~text?txtsize=14&txt=150%C3%97150&w=150&h=150",
                "Quantity": 3,
                "QuantityStep": 1,
                "MinQuantity": null,
                "MaxQuantity": null,
                "Stackable": false,
                "Shippable": true,
                "Taxable": true,
                "Taxes": [],
                "CustomFields": [],
                "Duplicatable": false,
                "DownloadLink": null,
                "Metadata": null,
                "AlternatePrices": {},
                "Dimensions": {
                    "Width": null,
                    "Height": null,
                    "Length": null,
                    "Weight": null
                },
                "UnitPrice": 10.0,
                "TotalPrice": 30.0,
                "TotalPriceWithoutTaxes": 30.0,
                "TotalPriceWithoutDiscountsAndTaxes": 18.46,
                "TotalPriceWithoutDiscountsAndTaxesLegacy": 18.46,
                "AddedOn": 1592833619,
                "ModificationDate": 1592923619,
                "IsRecurring": false
            }
        ],
        "CompatibilitySwitches": {
            "JsonString": null
        },
        "ItemsTotal": 130.0,
        "TotalPriceWithoutDiscountsAndTaxes": 80.00,
        "Token": "d300372a-2293-46b7-8b2b-f6003c5ec30b",
        "Version": null,
        "Exported": false,
        "id": "d300372a-2293-46b7-8b2b-f6003c5ec30b",
        "PartitionKey": "000",
        "ModificationDate": 1592923619,
        "CreationDate": 1592923619,
        "_etag": null
    },
    "Settings": {
        "LogoUrl": "",
        "BusinessAddress": {
            "FullName": null,
            "FirstName": null,
            "Name": null,
            "Company": "Snipcart",
            "Address1": "226 rue St-Joseph Est",
            "Address2": "",
            "FullAddress": "226 rue St-Joseph Est",
            "City": "Québec",
            "Country": "CA",
            "PostalCode": "G1K3A9",
            "Province": "QC",
            "Phone": null,
            "VatNumber": ""
        }
    }
}