User GuideSetup

Payment Methods

Sana Commerce 9.0
Your connector

Docdata (old API)

Docdata is an international online payment provider which offers a payment service that is the solution to secure and easy payments. Docdata Payments ensures that your customers' online payments are processed securely, quickly and correctly. This means that the entire payment process is taken out of your hands, from the point where your customer places an order in your online shop, to the moment the payments are processed in your financial records.

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

The table below provides the description of the Docdata payment provider fields:

Field Description
merchant_name The name of the account that will be used by Docdata to process the payment. This information will be supplied by Docdata when creating the account (test/live).
Default value: depends on the PSP account (test/ live)
merchant_password The password of the account that will be used by Docdata to process the payment. This information will be supplied by Docdata when creating the account (test/live).
Default value: depends on the PSP account (test/ live)
days_pay_period The amount of days the user will have to pay the order. For more information about this field, please refer to the Docdata documentation. This configuration value is required for the Docdata payment module.
Default value: 14

Log in the Docdata admin panel and configure or verify payment profiles. To access the payment profiles in the Docdata admin panel click: Settings > Edit Payment profiles. Each payment method must be configured under a separate 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 payment profiles 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=

When Docdata is configured you can set up the necessary payment methods in Sana Admin that are supported by Docdata.

For information about how to create and configure payment methods in Sana Admin, see 'Payment methods'.

Test the payment/checkout flow to see if everything works fine using the created payment methods and the correct payment statuses.

When everything is done and tested, keep an eye on the payment log in the following days to be sure that everything is configured correctly and that every PSP status is covered.

User GuideSetup