Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help with USAepay payment module


Guest

Recommended Posts

Can someone help. There are two usaepay contributions. The second tells you to install the first and then the second. Since both have the same name, installing the 2nd would overwrite the first? So why bother installing the first?

 

The 2nd is newer and larger: It's confusing as there is a further instruction to be downloaded for /catalog/admin/includes/functions/general.php: -- but doesn't say where it goes. The description is below. Can someone explain how I am to install this module?

thanks,

Here are the instructions for the 2nd.

 

Download the file first "09/15/2003 - USAePay Author: Brandon Thompson "

then download this for /catalog/admin/includes/functions/general.php:

 

// Alias function for Store configuration values in the Administration Tool

function tep_cfg_select_multioption($select_array, $key_value, $key = '') {

for ($i=0; $i<sizeof($select_array); $i++) {

$name = (($key) ? 'configuration[' . $key . '][]' : 'configuration_value');

$string .= '<br><input type="checkbox" name="' . $name . '" value="' . $select_array[$i] . '"';

$key_values = explode( ", ", $key_value);

if ( in_array($select_array[$i], $key_values) ) $string .= ' CHECKED';

$string .= '> ' . $select_array[$i];

}

$string .= '<input type="hidden" name="' . $name . '" value="--none--">';

return $string;

}

////

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...