Article ID: 2102, created on Aug 17, 2007, last review on May 9, 2014

  • Applies to:
  • Odin Business Automation Standard 3.3


1. Change plug-in name.

For Store screens, the Dummy plug-in can be renamed easily and quickly from the Provider Control Center interface; just create a Dummy bank transfer plug-in configuration and assign an appropriate name to it.

2. Change name of payment method.

However, in this case, it is necessary to show a corresponding payment method, i.e., bank accounts of customers in Control Panel. This can be done by a simple strings customization described in detail in HSPcomplete SDK, "Customizing HSPcomplete" > "Customizing Language Packs."

A Dummy bank transfer plug-in code sample is in the SDK directory, samples/plugins/hspc-plugin-pp-bt-dummy.

To assign a custom name to bank accounts, complete the following steps:

1. On the server that runs HSPcomplete (i.e., your Management Node), go to this directory:
# cd /var/opt/hspc-root/
Create a customization directory:
# mkdir custom/i18n/
2. In the customization directory, create a directory named according to the language you want to add custom strings for. A directory must be named in accordance with a two-letter country country code. For example, FR for French, DE for German, EN for English, etc. Let us use the English language as an example. In this case, the final customization directory must be as follows:
# mkdir /var/opt/hspc-root/custom/i18n/EN/
3. You then need to get the strings definitions to put them into your customization directory. Take them from the Dummy bank transfer plug-in code sample. Go to the SDK directory, samples/plugins/hspc-plugin-pp-bt-dummy/i18n/EN/.

4. Copy the file hspc-plugin-pm-bt-dummy.xml into your customization directory (see step 3) and rename it to strings.xml.

5. Open the file strings.xml in your customization directory for editing and find the following strings definitions:

<c>Template title</c>
<val>Dummy Bank Account</val>
<c>Payment Method type</c>

6. Edit the strings values in the <val> </val> tag the way you need to for your customization.

7. Remove all the other strings definitions.

8. Save the changes.

9. Restart the HSPcomplete backend for the changes to take effect:
# /etc/init.d/hspcd restart

b91f0e51a581aafeed4e0834068081e0 400e18f6ede9f8be5575a475d2d6b0a6 95c731ef6bb58e30865e046f2135d4c1 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF