Displaying policies and getting consent

Gain a better understanding of how to set-up a low-code checkout to display your policies and get a customer's consent

You can configure a low-code checkout so that customers have the ability to view and consent to specific policies of yours as well as agree to receive marketing and promotional emails.

On this page, you'll find information on how to:

When selecting a payment method, customers must check a box which indicates they consent to Digital River's terms of sale. To append a link to this checkbox that takes customers to your end user license agreement and/or terms of service, select the appropriate option in Dashboard and then enter a url.

To display a checkbox that asks customers whether they consent to receive marketing and promotional emails, toggle the feature on in Dashboard.

Once its activated, customers are asked whether they want to receive news and offers while supplying their address information.

Provide access to return and refund policies

To display a link to your return and refund policies in the compliance footer, select the appropriate checkboxes in Dashboard and then enter a url.

Determine what customers accepted

To determine what customers consented to while checking out, you'll most likely configure a webhook to listen for the event with a type of checkout_session.order.created. Its data.object contains consents. However, you can also access consents by assigning a handler to onCheckoutComplete, onChange, or onSuccess.

    "id": "1ebfd13c-4ef6-443c-b58a-cb119f1c24fd",
    "type": "checkout_session.order.created",
    "data": {
        "object": {
            "id": "1038474530082",
            "consents": {
                "termsOfService": true,
                "eula": true,
                "termsOfSale": true

To determine whether customers agreed to be sent marketing news and offers, check the value of emailPromotionsOptIn.

The eula and termsOfService attributes reference your company's end-user license agreement and terms of service, respectively. If they exist, their value should always be true. This is because they're appended to Digital River's termsOfSale, which customers must accept before being allowed to place an order.

Last updated