LogoLogo
Connectors
Adobe Commerce Extension 3.0.0
Adobe Commerce Extension 3.0.0
  • Adobe Commerce Extension 3.0.0
  • Introduction
    • How it works
    • Features
    • What's new in version 3.0.0
  • Install the Digital River Extension
  • Configure the Digital River Extension
    • Step 1: Retrieve API credentials
    • Step 2: Configure the Digital River admin settings
    • Step 3: Create a webhook
    • Step 4: Configure the payment method settings
    • Step 5: Configure other store settings
    • Configuring taxes
    • Configuring products
    • Enabling landed costs
    • Refunding landed costs
    • Terms of sale, privacy policy, and acceptance
    • Configuring a second website, store, or store view
    • Regulatory fee support
    • Managing United States tax certificates
    • Supporting a fixed price bundle
    • Enabling Magento's Purchase Order payment method
    • Digital River columns in the Magento Admin UI
    • Shopper experience
      • Saving payment methods
      • My Account page
      • Store credit
      • Gift Cards
      • Tax identification numbers
      • VAT invoices and credit memos
      • Configure refunds for asynchronous payment methods
  • Test the Digital River Extension
  • Troubleshooting and maintenance
  • Support
  • Appendix
Powered by GitBook
On this page
  • Step 3a: Open your firewall to trusted Digital River IP addresses
  • Step 3b: Create a webhook endpoint
  • Step 3c: Create webhooks
  1. Configure the Digital River Extension

Step 3: Create a webhook

Learn how to create a webhook.

PreviousStep 2: Configure the Digital River admin settingsNextStep 4: Configure the payment method settings

Last updated 2 years ago

You create webhooks to receive integration messages from Digital River. Those messages are triggered by events in Digital River’s application. When triggered, the event messaging will update the Adobe Commerce (Magento) order status (see in the Appendix section).

Create a webhook to receive notifications using the following steps:

Step 3a: Open your firewall to trusted Digital River IP addresses

To receive webhook notifications from Digital River, you will need to open your firewall to all the IP addresses listed in the .

Step 3b: Create a webhook endpoint

You can send webhook data as JSON in the POST request body. The POST request body contains the complete event details, and you can use it after parsing the JSON into an object.

Your webhook endpoint URL should be the URL to your Magento installation + drpay/receive Example: https://exmage.drgc.shop/drpay/receive

Step 3c: Create webhooks

When creating webhooks, you need to add endpoints from the :

  1. From the Webhooks page, click Create Webhook.

  2. Toggle Disabled to Enabled.

  3. If required, select the API version you want to associate with events from the API Version dropdown list. By default, the confidential key version is selected.

  4. Enter the URL for the endpoint in the Endpoint URL field.

  5. Select the check box next to each event you want to associate with the endpoint or select the Events Selected check box to select all events. At least one event type must be selected.

  6. Scroll down and click Save. Webhooks must be created for the following events:

    • order.accepted

    • order.complete

    • order.blocked

    • order.review_opened

    • order.invoice.created

    • order.credit_memo.created

    • refund.failed

    • order.charge.refund.complete

    • order.charge.refund.failed

    • refund.pending_information

Digital River safelist
Event
Dashboard
Step 3a: Open your firewall to trusted Digital River IP addresses
Step 3b: Create a webhook endpoint
Step 3c: Create webhooks
Exhibit B