Short description

The app allows you to synchronise your subscribers with Maileon, send order details to Maileon or create an RSS feed of your products.

Versions

Oxid eShop version

Plugin version

Download

Oxid eShop 6.x.x

Maileon Oxid Module 1.3.x

Plugin 6.x.x

Oxid eShop 7.x.x

Maileon Oxid Module 1.4.x

Plugin 7.x.x

Installation

The plugin can be installed from the command line. The installation steps:

After installing, you need to set up a cronjob and an optional cronjob if you want to use the abandoned cart functionality.

Plugin status cronjob (Run every day once)

0 4 * * * curl "http(s)://[MYSHOPURL]/index.php?cl=maileonstatus" >> [some-path-to-a-log-file] 2>&1

Abandoned cart cronjob (optional) (Run every 5 minutes)

*/5 * * * * curl "http(s)://[MYSHOPURL]/index.php?cl=maileonabandonedcart" >> [some-path-to-a-log-file] 2>&1

Uninstallation

The plugin can be installed from the command line. The installation steps:

Settings

After installation you can see the settings interface at the plugin Settings tab.

Subshops

With Oxid Enterprise edition, sub shop management is also possible. In this case you can choose on the top left of the admin page which sub shop settings you want to see. This allows you to set different configuration settings per sub shop.

maileon-oxid-settings.png

Connection settings

Maileon API Key

The API Key can be created and viewed in the Maileon account under "Settings" → "API Keys" and ensures the connection to the account. Common errors:

Synchronisation of subscribers

Enabled

Here you can enable/disable the synchronisation of Oxid eShop subscribers with Maileon.

Initial permission in Maileon

DOI process enabled

If we enable the DOI process, then when the contact is created a confirmation email will be sent to the email address with a confirmation link, which if the contact clicks on will give them Double Opt-In Plus access to Maileon, regardless of what we have set in the above setting. If this option is not turned on, the contact will receive the permission set above instantly, without any confirmation.

DOI mailing id

Here you can enter a DOI mailing ID, which determines which DOI mailing should be triggered as soon as a contact subscribes to the newsletter. The identifier can be set in Maileon or retrieved from the corresponding DOI mailing in the default settings. If the Maileon account has a default DOI mailing set in the settings, this field does not need to be filled in. Common mistake:

Webhook token for DOI confirmation and unsubscription

We will use webhooks from Maileon to synchronise DOI confirmers and unsubscribers back. These webhooks need to be set up in Maileon, to set them up you need to enter this token. The token can be any text that does not contain spaces.

Initial synchronisation

Enabled

Initial synchronisation allows you to create subscribers in Maileon that were created before using the plugin. It is sufficient to run this once when you start using the plugin, after that the subscribers will be synchronized automatically. You can enable synchronisation here, see below for more information on running synchronisation.

Permission if imported contacts

You can set the permission for contacts to be created during import. This is a final permission, the DOI process will not run.

Order confirmation transactions send to Maileon

Enabled

Here you can allow orders to be transferred to Maileon as contact events. See below for more details.

RSS feed

Enabled

Here you can enable the generation of RSS feed for your products. See below for more details.

Abandoned carts

Enabled

Here you can enable the abandoned cart functionality. (Cronjob needed)

After how many minutes a shopping cart should be reminded

here you can set after how many minutes the plugin will send abandoned cart transactions to Maileon. The minimum is 5 minutes and can be increased by 5 minute intervals.

DOI process

If you disable the DOI process in the plugin, you should also disable it in the shop, otherwise it may lead to different functionality and vice versa if you enable the DOI process in the plugin, you should also enable it in the shop.

Here you can set at the admin: Master Settings → Core Settings → Settings → Administration

Initial synchronisation

Initial synchronisation allows you to create subscribers in Maileon that were created before using the plugin. It is sufficient to run this once when you start using the plugin, after that the subscribers will be synchronized automatically.

Once you have enabled and set the permissions in the plugin settings, the import can be started at the following url:

https://[MYSHOPURL]/index.php?cl=initialmaileonsync

Order confirmation

Once enabled in the plugin settings, after each order, the order details will be transferred to Maileon as a contact event.

Contact event name: oxid_eshop_orders_2.0

The following data will be transferred:

Name

Type

Description

order.id

string

Order number

order.date

datetime (YYYY-MM-DD)

Order date

order.status

string

Order status

order.items

json

Ordered items

order.product_ids

string

Comma-separated list with the ordered product ids

order.product_names

string

Comma-separated list with the ordered product names

order.categories

string

Comma-separated list with the ordered product category names

order.subcategories

string

Comma-separated list with the ordered product subcategory names

order.brands

string

Comma-separated list with the ordered product manufacturer names

order.total

float

Order total

order.total_no_shipping

float

Order total without shipping cost

order.total_tax

float

Order tax

order.total_fees

float

Order fees total

order.fees

json

Order fee names

order.total_refunds

float

Order refunds total

order.refunds

json

Order refund names

order.currency

string

Order currency

payment.method.id

string

Payment method id

payment.method.name

string

Payment method name

customer.fullname

string

Customer full name

customer.firstname

string

Customer first name

customer.lastname

string

Customer last name

customer.id

string

Customer id

billing.address.salutation

string

Billing salutation

billing.address.firstname

string

Billing first name

billing.address.lastname

string

Billing last name

billing.address.street

string

Billing address

billing.address.zip

string

Billing zip

billing.address.city

string

Billing city

billing.address.country

string

Billing country

shipping.address.salutation

string

Shipping salutation

shipping.address.firstname

string

Shipping first name

shipping.address.lastname

string

Shipping last name

shipping.address.street

string

Shipping address

shipping.address.zip

string

Shipping zip

shipping.address.city

string

Shipping city

shipping.address.country

string

Shipping country

shipping.service.name

string

Shipping service name

shipping.service.tracking.code

string

Shipping service tracking code

Order items

Name

Type

Description

id

string

Product id

sku

string

Product sku

url

string

Product url

single_price

float

Product single price

total

float

Product total

name

string

Product name

short_description

string

Product short description

tax_rate

float

Product tax rate

image_url

string

Product image url

quantity

integer

Ordered quantity

Contact fields at Maileon

Name

Maileon type

Datatype

salutation

standard

string

firstname

standard

string

lastname

standard

string

fullname

standard

string

address

standard

string

hnr

standard

string

zip

standard

string

city

standard

string

country

standard

string

state

standard

string

Oxid_Transaction

custom

boolean

Oxid_NL

custom

boolean

oxid_shop_id

custom

string

oxid_subscription_id

custom

string

RSS feed

Once you have enabled RSS feed in the plugin settings, you can access the feed at the following url:

https://[MYSHOPURL]/index.php?cl=maileonrss

Available optional parameters

Maileon webhooks

To synchronize DOI confirmers and unsubscribers we need Maileon webhooks. You can configure them in your Maileon account under Settings->Webhooks.

DOI confirm webhook

HTTP post URL: https://[MYSHOPURL]/index.php?cl=maileondoi

URL parameters:

Unsubscribers webhook

HTTP post URL: https://[MYSHOPURL]/index.php?cl=maileonunsubscribe

URL parameters:

Abandoned carts

Once enabled in the plugin settings and cronjob is configured, it will send abandoned cart transactions to Maileon after the configured time.

The abandoned cart feature only works globally, it cannot be set per subshop.

Contact event name: oxid_eshop_abandoned_carts_1.0

The following data will be transferred:

Name

Type

Description

cart.id

string

Order number

cart.date

datetime (YYYY-MM-DD)

Order date

cart.items

json

Cart items

cart.product_ids

string

Comma-separated list with the ordered product ids

cart.product_names

string

Comma-separated list with the ordered product names

cart.categories

string

Comma-separated list with the ordered product category names

cart.subcategories

string

Comma-separated list with the ordered product subcategory names

cart.brands

string

Comma-separated list with the ordered product manufacturer names

cart.total

float

Cart total

cart.total_no_shipping

float

Cart total without shipping cost

cart.total_fees

float

Cart other fees

cart.currency

string

Cart currency

customer.fullname

string

Customer full name

customer.firstname

string

Customer firstname

customer.lastname

string

Customer lastname

customer.id

string

Customer Id

Cart items

Name

Type

Description

id

string

Product id

sku

string

Product sku

url

string

Product url

single_price

float

Product single price

total

float

Product total

name

string

Product name

short_description

string

Product short description

tax_rate

float

Product tax rate

image_url

string

Product image url

quantity

integer

Ordered quantity