Please wait ...


Loading...

Configuration in Drupal Commerce

1. Information on the payment in Drupal Commerce

You can find information about the payment in Drupal Commerce.

See example below (click for larger image).

2. Settings

To change the settings for the ePay module go to Store Settings -> Advanced Store Settings -> Payment methods. Click on ’Edit’ by the module, and press ’Edit’ by ePay under Actions.

 

Merchant number

The merchant number you received from ePay. You can find it in the ePay administration via the menu Settings -> Payment system.

Window ID

This setting determines which version of the payment window to use: Create different versions from the ePay administration via the menu Settings -> Payment window. Use this to set up different texts for foreign customers, different payment card logos, or different settings for transaction fees. 

Remote interface password

Activate this setting to process payments from Drupal Commerce (API). This means you don’t have to log in to the ePay administration to capture, credit or delete payments. Please see step 3 in this guide.

Group

With ePay it is possible to divide your payments into different groups and limit your ePay users’ access to specific groups. A group is a name/string. Leave the field empty if you don’t want to use groups (default).

MD5 key

If you’ve activated MD5 in ePay, you have to enter your key here (the same key you entered in your ePay administration). The keys must be identical in the two systems.

Auth Mail

If you want an email every time a payment is completed, enter an email address here. You can separate addresses with a semicolon (;) if you have multiple recipients. Leave the field empty if you don’t want to use this service.

Instant capture

By enabling this setting, the payment is captured immediately. You can only use instant capture if the customers receive their products immediately, too (for instance by downloading). 

Own receipt

Activate this setting to direct your customers to your own order confirmation page in Drupal Commerce after completed payment.

3. Process payments from Drupal Commerce

You can process your payments from Drupal Commerce.

Activate Remote Interface in the module settings. Find the settings in Store Settings -> Advanced Store Settings -> Payment methods. Click on ‘Edit’ by the module, and again on ‘Edit’ by ePay under Actions.

Also, you have to activate API in your ePay administration to process payments from Drupal Commerce. Go to API/Webservices  -> Access, and register the IP address of your Drupal Commerce system.

When viewing the order in Drupal Commerce, you’ll find the following information:

  • Transaction status
  • Order number
  • Acquirer
  • Currency code
  • Split payment (if used)
  • 3D Secure (if used)
  • Description (if any)
  • Cardholder’s name (if any)
  • Authorised amount and timestamp
  • Captured amount and timestamp
  • Credited amount and timestamp
  • Transaction fee (if any)

Find your order via Orders -> Manage Orders in the menu to process your payments. Press the small arrow on the right of the order, and choose Payment.

To capture a payment, find the order and press the button ‘Capture’ (see image 7). Enter the amount you wish to capture, and press ‘Capture’ again (see image 8).

To cancel the order and delete the payment, press the button ‘Delete’.

To credit an amount, press the button ‘Credit’. Enter the amount you wish to refund, and press ’Credit’.