Setup
This guide will walk you through the different steps for basic setup in WordPress, Digimember, and your elopage account.
Digimember
The following settings assume that you have already installed and set up Digimember in your WordPress account.
Email communication
We recommend setting up an email account in Digimember under >> Digimember > settings > Send via email account to send emails directly from your company's address. More information can be found in the Digimember help.
Email texts
If necessary, adjust your emails under >> Digimember > Email texts so that they fit better with selling via elopage. You can define the different welcome emails, new password emails and cancellation emails.
Set up products
If you have not yet set up a Digimember product, please refer to the Digimember instructions to create your membership or download product using the Digimember > Products option .
We recommend the option Allow access duration, as access is controlled directly via elopage and the corresponding webhooks. Here we show you various setting options to control product access according to your wishes.
Set up a payment provider
This sets up elopage as an external payment provider for Digimember, which records all orders and payments.
- Go to >> Digimember > Payment Provider > Add
- Use the following settings:
- Payment provider: Generic
- Active: Yes
- Notification URL
- This is generated during saving
- External product IDs
- Here you can see a list of all your products created in Digimember.
For each Digimember product that you want to sell via elopage, a corresponding elopage product must be set up and the respective product ID stored here.
These can be found in your elopage account under >> elopage > Products > All Products
- Here you can see a list of all your products created in Digimember.
- Parameter names
These are automatically transferred via the elopage webhook. The following values must be entered:- Event: payment_state
- Email: email
- Product ID: product_id
- Order number: order_id
- First name: first_name
- Last name: last_name
- Event Names
- Connection test: payment_state
- Sale: paid, active_subscription
- Returns:
- We do not recommend setting a value. Here you will find additional use cases if you want to pause an order through a refund.
- Missing payment: payment_chargebacked, subscription_canceled, payment_not_completed, payment_paused
Once the payment provider is saved and you open it again, you'll see a notification URL. This is required for further setup and consists of
- of your WordPress URL
- the payment provider ID: dm_ipn=BEZAHLANBIETER_ID
- the payment provider token: dm_pw=TOKEN
Please cache your WordPress URL, as you will need it in the further course of the setup.
Set up a webhook
The elopage webhook is used to terminate access to your Digimember product directly or in the future once an order has been completed or canceled.
- Go to >> Digimember > Webhooks > Add
- Use the following settings:
- Name: Free choice, e.g. Deactivation
- Is active: Yes
- Webhook function: Deactivate order
- Parameter name for email: email
- Order IDs are ...: ... transferred as GET or POST parameters
- Order ID parameter name: order_id
- Deactivate access to ...: time delayed
- Parameter name for deactivation date: access_stops_on
We send a total of three different parameters that you can use for your access management. Find out here in which different ways you can control product access.
Once the webhook is saved and you open it again, you'll see an action URL. You need this for your further setup and it consists of
- your Wordpress URL
- the webhook identifier dm_webhook consisting of webhook ID and token
Please cache your action URL, as you will need it later in the setup.
elopage Payments Plugin
We provide a separate plugin for communication with Digimember. This only needs to be installed and activated in WordPress. There is no separate user interface in WordPress. The plugin works completely in the background.
- Download the elopage plugin (*.zip format)
- Open your WordPress account and navigate to >> Plugins > Install > upload plugin
- Select the downloaded *.zip file and install the elopage Digimember plugin
- Activate the plugin
- The plugin will then be listed under >> Plugins > Installed Plugins
elopage webhooks
Two different webhooks (for the Digimember payment provider and the Digimember webhook) must be set up in your elopage account so that all essential information is transferred to the elopage Payments plugin.
Digimember - Payment Provider
This webhook communicates with the Digimember payment provider and controls the triggering of Digimember orders, as well as the pause and reactivation in case of non-payment.
- Log in to your elopage account and navigate to >> Marketing > Webhooks (Link)
- Click "Create" to set up the following webhooks
- Name: Free choice, e.g. Digimember Payment Provider
- URL: The URL must be constructed by you and is structured as follows:https:// WP-URL/wp-json/elopage-payments/receive_payment?elo_ipn=ID&elo_pw=TOKEN
For this URL you need the notification URL of your Digimember payment provider, which you can find under >> Digimember > Payment provider.
See also the previous declaration.
- WP URL: This is the URL of your WordPress site (e.g. testseite.de⁄)
- Payment Provider ID: This corresponds to the number you find in the notification URL after dm_ipn
- TOKEN: This corresponds to the value that you will find in the notification URL afterdm_pw
Example
If your notification URL in Digimember is as follows:
https://testseite.de?dm_ipn=1&dm_pw=abcDEfg
Then theelopage webhook URL looks like this:
https://testseite.de/wp-json/elopage-payments/receive_payment?elo_ipn=1&elo_pw=abcDEfg
- Active: Check the box
- Selected events: Check the following events:
- Order
- Rate incomplete
- Limited subscription active
- Limited subscription paused
- One-time payment active
- One-time payment paused
- Limited subscription rates refunded
- Limited subscription rate incomplete
- Installment payment active
- Subscription active
- Subscription paused
- Subscription rates refunded
- Installment payment paused
- Installments refunded
- Subscription incomplete
- Installment payment reactivated
- Order reactivated
- Subscription reactivated
- Limited subscription reactivated
- One-time payment refunded
- One-time payment incomplete
- Installment payment canceled
- One-time payment canceled
- Payment
- Payment successful
- Order
Digimember - Webhook
This webhook communicates with the Digimember webhook and controls the direct and future deactivation of Digimember orders when an order has been completed or canceled.
- Log in to your elopage account and navigate to >> Marketing > Webhooks (Link)
- Click Create to set up the following webhooks
- Name: Free choice, e.g. Digimember webhook
- URL:The URL must be constructed by you and is structured as follows:
https://WP-URL/wp-json/elopage-payments/deactivate_access?elo_webhook=TOKEN
For this URL, you need the action URL of your Digimember webhook, which you will find under >> Digimember > Webhook. See also the previous declaration.
- WP URL: This is the URL of your WordPress site (e.g. testseite.de⁄)
- TOKEN: This corresponds to the value that you will find in the notification URL afterdm_webhook
Example
If your notification URL in Digimember is as follows:
https://testseite.de?dm_webhook=abcDEfg
Then the elopage webhook URL is as follows:
https://testseite.de/wp-json/elopage-payments/deactivate_access?elo_webhook=abcDEfg
- Active: Check the box
- Selected events: Check the following events:
- Order
- Limited subscription paid
- Limited subscription canceled
- Subscription paid
- Subscription canceled
- Order
Attention
These webhooks should only be used with the elopage products you use to sell your Digimember products.
To do this, you can select only the respective digimember webhooks instead of all webhooks under "Other" in your product settings.
Don't worry, even if the webhooks are accidentally triggered on other products, a comparison with the product ID will still take place. If it cannot be found in Digimember, no action is triggered.
elopage Products
For each Digimember product that you want to sell via elopage, you need a corresponding product in elopage, which acts as a placeholder product, e.g. a digital product.
In addition, your Digimember product can be an order bump product.
- Set up the product appropriately under >> Products > All Products > Create Products.
- For all products, we also recommend adapting the confirmation email under >> Products > Delivery and sending your own email instead of the standard email, which contains a link to your Digimember product.
- Make sure that the Digimember webhook endpoints are selected under >> Products > Other
- Link your elopage product to the corresponding Digimember product by entering the elopage product ID with your Digimember payment provider.