Guest Posted July 24, 2006 Posted July 24, 2006 Hi all, I am getting the following link from my downloads which is of course wrong, why? http://www.mysite.co.uk/download.php/order/17/id/pub/.gqozzweopsjijsqqri/unreal.zip. Basically trying to enable downloads, Setup as follows: Enable download true Download by redirect true Expiry delay (days) 7 Maximum number of downloads 5 Pub chmodd to 777 download to 755 tmp to 777 Using the default OSC install and unreal.zip file. I click on the product_info.php and buy the item, using money order / check. The order goes through fine, but on checkout_success.php I am offered a link to download the file, but as I have used money order in theory I have not paid for this. But the link I have been given is gobble dee gook: http://www.mysite.co.uk/download.php/order/17/id/pub/.gqozzweopsjijsqqri/unreal.zip. If I remove the "download.php/order/17/id" part of it it works. Questions (1) Why am I shown the link to download this when its not paid for (2) why is the link blank My order status table is as follows: (Awaiting payment is default) INSERT INTO `orders_status` VALUES (1, 1, 'Awaiting Payment'); INSERT INTO `orders_status` VALUES (2, 1, 'Payment Error'); INSERT INTO `orders_status` VALUES (3, 1, 'Allocating Items'); INSERT INTO `orders_status` VALUES (4, 1, 'Out of Stock'); INSERT INTO `orders_status` VALUES (5, 1, 'Order Dispatched'); My download.php files and modules are untouched and configure.php is define('HTTP_SERVER', 'http://www.mywebsite.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.mywebsite.co.uk'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', ''); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/mywebsite/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Please any help is appreciated. Stuart
Guest Posted July 24, 2006 Posted July 24, 2006 My site is anyone requires it is: http://www.almatcomputers.co.uk/index.php Customer test login details: test username: [email protected] password: 12345 Please would welcome any help here. If some one could just login and try and buy the Unreal.zip download and see why I get these functions of downloading before not paying and the incorrect URL. Stuart
Guest Posted July 25, 2006 Posted July 25, 2006 Anyone help, I have just spent the last 6 hours reading through post after post and nothing has helped, I have reinstalled the site twice now and still no joy. Its 05:00am and my head is screaming blue murder. Someone please put me out of my misery......... (w00t)
Guest Posted July 25, 2006 Posted July 25, 2006 12 hours in, 6 catalog reinstalls, on 2 servers, same error, please anyone, sorry for sounding impatient but I hate to be beaten.
Guest Posted July 25, 2006 Posted July 25, 2006 This is where I am upto, if I use these settings, it the download works but I can still download without paying via the cheque module on checkout_success.php the link is shown even before money has been received: The link in my account_history_info shows this http://www.almatcomputers.co.uk/download.php/order/18/id/10 And when set to redirect false, it works, but can download without paying. Enable download true Download by redirect false Expiry delay (days) 7 Maximum number of downloads 5 If I set download by redirect true I get a url like this which opens a blank page: http://www.almatcomputers.co.uk/download.php/order/18/id/pub/.xedpfbjdkogkenmzk/unreal.zip
Guest Posted July 27, 2006 Posted July 27, 2006 Can anyone explain, why I can download immediatey if payment method is cheque or postal order. The link is provided on checkout_success but in theory money has not been posted yet. Can this be fixed or can I only allow downloads to be purchased by paypal. Will the download controller contrib solve the above problems I am having, I don't want to install it, if it ain't going to solve my problem and to be honest I have too many contribs installed as it is, and would hate for confliction between them. Any help or advice is appreciated. Stuart
bkellum Posted November 10, 2006 Posted November 10, 2006 Can anyone explain, why I can download immediatey if payment method is cheque or postal order. The link is provided on checkout_success but in theory money has not been posted yet. Can this be fixed or can I only allow downloads to be purchased by paypal. Will the download controller contrib solve the above problems I am having, I don't want to install it, if it ain't going to solve my problem and to be honest I have too many contribs installed as it is, and would hate for confliction between them. Any help or advice is appreciated. Stuart It has to do with your "order status" option that is configured with the "payment" modules in your admin. For example, if you have blahblah payment module as your main payment option, and you have the order status set to "pending", it may or may not allow instant downloads without payment. So... play around with the different payment status options to see if this corrects your problem. Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE
Guest Posted November 10, 2006 Posted November 10, 2006 Download by redirect wont work on a Windows server ;) Sonia
Recommended Posts
Archived
This topic is now archived and is closed to further replies.