Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Payment Modules


PaganMan

Recommended Posts

Hi all,

 

I have just re-installed oscommerce, the UK version, and on installing and setting up payment modules I am getting this:

  • NOCHEX
  • Requires the GBP currency.
  • Enable NOCHEX Module
  • True
  • E-Mail Address
  • [email protected]
  • Payment Zone
  • --none--
  • Set Order Status
  • default
  • Sort order of display.
  • 0

and

  • PayPal
  • Enable PayPal Module
  • True
  • E-Mail Address
  • [email protected]
  • Transaction Currency
  • Selected Currency
  • Payment Zone
  • --none--
  • Set Order Status
  • default
  • Sort order of display.
  • 0

it will not let me edit the modules to my specs. Can anybody help me please?

 

Regards

Geoff

I told you Ryan, if one gets through, its a miracle. (Trevor Howard to Frank Sinatra: Von Ryan's Express)

Link to comment
Share on other sites

If this is a new installation of osC 060817, then you may be experiencing the widely known "refresh bug" of the modules section which includes shipping, payment, etc.

There is a simple fix:

 

 

1. Open the catalog/admin/includes/functions/compatibility.php.

2. At the end of the “do_magic_quotes_gpc” routine, add the following code

 

reset($ar);

 

It will end up looking like this:

 

function do_magic_quotes_gpc(&$ar) {
if (!is_array($ar)) return false;
while (list($key, $value) = each($ar)) {
if (is_array($ar[$key])) {
do_magic_quotes_gpc($ar[$key]);
} else {
$ar[$key] = addslashes($value);
}
}
reset($ar);
}

 

3. Do the same for the compatibility.php file located in catalog/includes/functions/compatibility.php.

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

If this is a new installation of osC, then you may be experiencing the widely known "refresh bug" of the modules section which includes shipping, payment, etc.

There is a simple fix:

1. Open the catalog/admin/includes/functions/compatibility.php.

2. At the end of the “do_magic_quotes_gpc” routine, add the following code

 

reset($ar);

 

It will end up looking like this:

 

function do_magic_quotes_gpc(&$ar) {
if (!is_array($ar)) return false;
while (list($key, $value) = each($ar)) {
if (is_array($ar[$key])) {
do_magic_quotes_gpc($ar[$key]);
} else {
$ar[$key] = addslashes($value);
}
}
reset($ar);
}

 

3. Do the same for the compatibility.php file located in catalog/includes/functions/compatibility.php.

 

 

Thanks for that - will let you know how it turns out.

 

Regards

Geoff

I told you Ryan, if one gets through, its a miracle. (Trevor Howard to Frank Sinatra: Von Ryan's Express)

Link to comment
Share on other sites

That worked fine bkellum, what I would like to know now is how to add shipping modules, as in Royal Mail charges.

 

Thanks

Geoff

I told you Ryan, if one gets through, its a miracle. (Trevor Howard to Frank Sinatra: Von Ryan's Express)

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...