Sana Commerce 9.1
Your connector

Set up Docdata Account

To configure the Docdata payment provider and payment methods you should have the Docdata test/ live account with all the necessary data.

Log in the Docdata admin panel and configure or verify payment profiles. To access the payment profiles in the Docdata admin panel click: Settings > Payment method names. Each payment method must be configured with a profile. You can find the configured profiles in the following place in the Docdata admin panel (marked by the red box).

Configuring Payment Methods in the Docdata Admin Panel

The configured in the Docdata admin panel payment methods with the related profile names will be needed to set up the payment methods in Sana Admin.

Configure the correct URLs in the Docdata backoffice under: Settings > View/Edit Merchant Profile > URL.

Configuring URL Settings

Configure URLs in the following way:

Name Value
Return URL success http://<domain>/checkout/ordersubmit?id=
Return URL canceled http://<domain>/checkout/orderfailed?id=
Return URL error http://<domain>/checkout/orderfailed?id=
Return URL pending http://<domain>/checkout/ordersubmit?id=
Update URL http://<domain>/confirm/payment?id=

It may be the case that on the payment menu page of Docdata you will face with the incorrect positioning of product images as shown on the screenshot below:

Docdata Payment Window

On the screenshot above you can see two incorrectly positioned image placeholders with the 'No image available' text on them. If you have encountered the problem with positioning of product images on the payment menu page of Docdata:

  • Open the Docdata backoffice and click: Settings > Edit Look and Feel.
  • In the large editable text box add the following lines (this text box may already contain some lines of text - these are the CSS stylesheets which are applied by Docdata to the payment menu page):
    productImage {
    height: 50px;

  • Click Store CSS at the bottom of the page to save your changes.
  • Now when this fix has been applied the payment menu page of Docdata should look correctly.

In this fix the height of images is set to 50 pixels, but you can set it to any value suitable for your project.