Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

AMS Ver2.2.2


digilexic

Recommended Posts

I have a client who uses Merchant Anywhere for their credit card processing. So I downloaded this module from the merchantanywhere.com website at http://merchantanywhere.com/ecshop/AMS_v2.2.2.zip . This is the one approved by them for use with OSCommerce

 

I noticed that there are alot of areas where the person who wrote the contribution used hardcoded links such as this snippet:

 

<base href="<?php echo (($request_type == '../../../../HTML/rae/live/httpdocs/includes/languages/english/SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<title>Card Verification Value (CVV) Help</title>
<link rel="stylesheet" type="text/css" href="../../../../HTML/rae/live/httpdocs/includes/languages/english/stylesheet.css">

 

and also for the image locations like this:

 

<td><img src="../../../../HTML/rae/live/httpdocs/includes/languages/english/images/cvm_help1.jpg" width="200" height="139"></td>

 

I have spent a couple days trying to figure out how to use the variables from OSC so that I do not have to hard code all the paths manually every time I want to install this module. The module works if I change all the paths manually, but my client has sites on other servers than mine, and wants to use the payment module on them all. I am using v2.2 RC1 and it works fine if I manually change the paths.

 

Would anyone be willing to help me fix this so it pulls from the OSC installation the correct paths. I am sure it will help other users also.

Link to comment
Share on other sites

Just an update... This error is in the popup_cvs_help.php file in 2 different locations. This also affects the same files in the Transaction Central payment module

 

So anything with payment resources international, merchantanywhere.com or transaction central that I have found have these errors.

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