ClickandBuy E-Payment
ClickandBuy E-Payment is included in osCommerce Online Merchant v2.2 and is available as a separate add-on for existing store owners who are running osCommerce Online Merchant v2.2 Milestone 2 onwards.
The ClickandBuy E-Payment payment module supports the following ClickandBuy features:
- Second Confirmation Verification
 | The ClickandBuy E-Payment payment module requires account settings to be defined on the ClickandBuy Merchant Service Area in order to function correctly. |
ClickandBuy Merchant Service Area Settings
The following settings are found in the ClickandBuy Merchant Service Area -> Offer Administration -> Summary -> [domain] -> Link List section and must be defined in order to function correctly.
Link
This value must be set to either of the following values depending on your server type.
- For Non-SSL (HTTP) Webservers:
- For SSL (HTTPS) Webservers:
Use the first value if you are not sure if your webserver supports SSL (HTTPS) connections.
It is important to use only the domain name as part of the Link and to add the "/" character at the end of the link address. Not adding the "/" character to the end of the link address will generate a false Premium Link to use as part of the module configuration and will cause transactions to fail.

Configuration Settings
Enable ClickandBuy
Setting this parameter to True makes the payment method available to customers during the checkout procedure.
Seller ID
The ID of the ClickandBuy Seller account.
This can be found on the ClickandBuy Merchant Service Area -> Settings -> Profile Details page shown as the Merchant ID.
Premium Link
The Premium Link assigned to the seller account, e.g.:
http://premium-xxxxxxxxxx.eu.clickandbuy.com/
This can be found on the ClickandBuy Merchant Service Area -> Offer Administration -> Summary -> [domain] -> Link List -> [link] -> Change Entry page.
MD5 Hash
A secret word used to verify transactions and callback responses with.
Payment Zone
If set, this payment method will only be available to orders made within the defined zone.
Set Order Status
Orders made with this payment module are set to this order status level.
Set Confirmed Order Status
Orders that are confirmed in the Second Confirmation verification are set to this order status level.
Sort Order
The position to show the payment method on the checkout payment page against other available payment methods.
cURL Program Location
The location and filename of the cURL "curl" program file.
Manual Installation (as an Add-On)
After extracting the add-on package, copy the files located in the catalog directory to your osCommerce installation directory on the server. The files must be copied in the correct directory structure as extracted from the add-on package.
The file listing is as follows:
- ext/modules/payment/clickandbuy/callback.php
- ext/modules/payment/clickandbuy/images/clickandbuy_pref_180.gif
- includes/languages/english/modules/payment/clickandbuy.php
- includes/languages/espanol/modules/payment/clickandbuy.php
- includes/languages/german/modules/payment/clickandbuy.php
- includes/modules/payment/clickandbuy.php
The standard languages definitions in English, Spanish, and German are provided in the add-on package. For additional languages, copy one of the existing language definition files to the appropriate language directory and edit the file with a text editor to edit the language definitions. The location of the language definition file must be in:
- includes/languages/<language>/modules/payment/clickandbuy.php
When the files have been copied to their appropriate locations, the payment module will be available in the Administration Tool -> Modules -> Payment Modules listing where it can be installed.