digilexic Posted January 27, 2008 Share Posted January 27, 2008 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. Quote Link to comment Share on other sites More sharing options...
digilexic Posted January 27, 2008 Author Share Posted January 27, 2008 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.