Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Download Payment


Guest

Recommended Posts

Posted

First, please do not tell me to use a download controller or something to that effect, unless your going to install it PERFECTLY for FREE for me. I know nothing about adding that. I have downloaded it and went through the install on it, then deleted it. :angry: Why? To much confusing things to do and mess up. I already have had to re-build this site 5 times, cant make up my mind how I want it to look, till now.

 

There was someone who posted some code for the download.php file that you change and it changes the process pending...etc. I can not find this in all of this forum mess. I have been searching and searching for this code again. lol

 

If someone knows what I am talking about, can you please place the link to that post here for me..please.

 

I really wish I would have saved that code, dang it. :'(

 

Thanks

 

Mike

Posted
First, please do not tell me to use a download controller or something to that effect, unless your going to install it PERFECTLY for FREE for me. I know nothing about adding that. I have downloaded it and went through the install on it, then deleted it. :angry: Why? To much confusing things to do and mess up. I already have had to re-build this site 5 times, cant make up my mind how I want it to look, till now.

 

There was someone who posted some code for the download.php file that you change and it changes the process pending...etc. I can not find this in all of this forum mess. I have been searching and searching for this code again. lol

 

If someone knows what I am talking about, can you please place the link to that post here for me..please.

 

I really wish I would have saved that code, dang it. :'(

 

Thanks

 

Mike

 

If u use PayPal instructions can be found here for an alternative way: http://addons.oscommerce.com/info/2679

 

 

under:

 

Disable Digital Downloads

Posted
If u use PayPal instructions can be found here for an alternative way: http://addons.oscommerce.com/info/2679

under:

 

Disable Digital Downloads

 

I already have PayPal IPN 2.3.3 installed, not sure what you mean by Disable Digital Downloads though.

 

If someone pays with a check/money order, they get the link right away. The only work around that I can find or do, is to use coffee cup zipper and then add a password to that zip file with this. So even if someone did do that, they would not be able to unzip and get the download to use, without the password that is.

 

Anyother ideas on this?

 

Thanks

 

Mike

Posted
I already have PayPal IPN 2.3.3 installed, not sure what you mean by Disable Digital Downloads though.

Try reading about it some more. It will help wonders!

If someone pays with a check/money order, they get the link right away. The only work around that I can find or do, is to use coffee cup zipper and then add a password to that zip file with this. So even if someone did do that, they would not be able to unzip and get the download to use, without the password that is.

 

Anyother ideas on this?

Seeing you already ruled out the download manager unless someone installs it for free, why dont you try to pay someone to install it for you?

You would probally find a few more people willing to help you. Hell, it may even work too.

I doubt the line of code would have really helped with what you need.

Follow the community build:

BS3 to osCommerce Responsive from the Get Go!

Check out the new construction:

Admin Gone to Total BS!

Posted

Use only paypal as your payment metode and add the extra Disable Digital Downloads mod available on that download page link i posted earlier....

 

If you wish to offer other payment metodes...you would probably need the download controller...which you earlier mentioned that you could not install correctly so i guess thats a no-go for you.....

Posted
Use only paypal as your payment metode and add the extra Disable Digital Downloads mod available on that download page link i posted earlier....

 

If you wish to offer other payment metodes...you would probably need the download controller...which you earlier mentioned that you could not install correctly so i guess thats a no-go for you.....

 

Ahhh didn't see that on there, of course didn't look for it really, cause didn't know to. There is a post on here that someone put that changes the download.php file top part of it to make it so they have to wait for your approval and set it to completed. It keeps it at pending, jsut can not find that persons code. Its not an addon, they stuck it somewhere here in the forum as a reply.

 

Will make the changes for this now, and take out check/money order I guess, just not sure if I want to loose sales over this cause I won't take money orders. After all some people dont have checking accounts, so they pay with money orders.

 

Thanks

 

Mike

Posted
Try reading about it some more. It will help wonders!

 

Seeing you already ruled out the download manager unless someone installs it for free, why dont you try to pay someone to install it for you?

You would probally find a few more people willing to help you. Hell, it may even work too.

I doubt the line of code would have really helped with what you need.

 

Well someone posted a change of code for the download.php file here in the forum, and it does work sets everything to pending so you have to update there order for the download section.

 

And not lets get started on the download controllers. They are extermly hard to understand the instructions, no one has a step by step of what to do or how to do it. Its just do this then do that, well whats this and that. Who ever wrote the instructions to them, need to re-write them so a newbe can understand than and not someone who has to go to college and take class to understand them. Also if they werent so hard to install, I think more would use them. Its just a section of code anyways that needs to be changed in the download.php file that sets the downloads to pending, thats all your need anyways. It would not matter what payment type they use, it still would be pending and not show the link. It does work, cause I used it before and also had it tested out, so don't need no dang controller. If I am ever able to find this code again, I'll post it here or start a new string for it. Dang it wheres that code!

 

Thanks

 

Mike

Posted
First, please do not tell me to use a download controller or something to that effect, unless your going to install it PERFECTLY for FREE for me. I know nothing about adding that. I have downloaded it and went through the install on it, then deleted it. :angry: Why? To much confusing things to do and mess up. I already have had to re-build this site 5 times, cant make up my mind how I want it to look, till now.

 

There was someone who posted some code for the download.php file that you change and it changes the process pending...etc. I can not find this in all of this forum mess. I have been searching and searching for this code again. lol

 

If someone knows what I am talking about, can you please place the link to that post here for me..please.

 

I really wish I would have saved that code, dang it. :'(

 

Thanks

 

Mike

 

Here's the code you are talking about, I use it when people choose to pay in advance and so on. There is just one little extra in the code and that is: and o.orders_status = '3'. In the original contribution this statement was in the beginning but that didnt work, I put it where it is now and that works fine

 

 

// Check that order_id, customer_id and filename match

$downloads_query = tep_db_query("select date_format(o.date_purchased, '%Y-%m-%d') as date_purchased_day, opd.download_maxdays, opd.download_count,

opd.download_maxdays, opd.orders_products_filename from " . TABLE_ORDERS . " o, " . TABLE_ORDERS_PRODUCTS . " op, " . TABLE_ORDERS_PRODUCTS_DOWNLOAD . "

opd where o.customers_id = '" . $customer_id . "' and o.orders_id = '" . (int)$HTTP_GET_VARS['order'] . "' and o.orders_id = op.orders_id and

op.orders_products_id = opd.orders_products_id and o.orders_status = '3' and opd.orders_products_download_id = '" . (int)$HTTP_GET_VARS['id'] . "'

and opd.orders_products_filename != ''");

 

Fred

Posted
Here's the code you are talking about, I use it when people choose to pay in advance and so on. There is just one little extra in the code and that is: and o.orders_status = '3'. In the original contribution this statement was in the beginning but that didnt work, I put it where it is now and that works fine

// Check that order_id, customer_id and filename match

$downloads_query = tep_db_query("select date_format(o.date_purchased, '%Y-%m-%d') as date_purchased_day, opd.download_maxdays, opd.download_count,

opd.download_maxdays, opd.orders_products_filename from " . TABLE_ORDERS . " o, " . TABLE_ORDERS_PRODUCTS . " op, " . TABLE_ORDERS_PRODUCTS_DOWNLOAD . "

opd where o.customers_id = '" . $customer_id . "' and o.orders_id = '" . (int)$HTTP_GET_VARS['order'] . "' and o.orders_id = op.orders_id and

op.orders_products_id = opd.orders_products_id and o.orders_status = '3' and opd.orders_products_download_id = '" . (int)$HTTP_GET_VARS['id'] . "'

and opd.orders_products_filename != ''");

 

Fred

 

Nope that did not work, thanks though. The link still shows up right away.

 

Mike

Posted
I already have PayPal IPN 2.3.3 installed, not sure what you mean by Disable Digital Downloads though.

 

If someone pays with a check/money order, they get the link right away. The only work around that I can find or do, is to use coffee cup zipper and then add a password to that zip file with this. So even if someone did do that, they would not be able to unzip and get the download to use, without the password that is.

 

Anyother ideas on this?

 

Thanks

 

Mike

 

Side note....I just went through the instructions on this and guess what DO YOU CHANGE?

 

"I cant believe this was here the whole time, and no1 uses it...

 

ok, heres the scenario. if you use or try to use the paypal IPN mod on here: http://www.oscommerce.com/forums/index.php?act...=7&t=179917

 

and you have digital downloads on your site, then you know that if a user just adds some digital content, then goes to paypal, then goes back to the site, checks their orders page and views the pending order, they can get the download. WELL, everyone has been saying "you need to install the downloads contorller to fix this problem" another 20 minutes and complicated as hell...well the solution was here the whole time and no1 mentions it!!!!

 

after you install the Paypal IPN mod, visit this lonely mod @ http://www.oscommerce.com/forums/index.php?showtopic=247713 and install that.

 

now heres a few things i had to do, because i have 11 order status's, including the paypal IPN, which is my number 11, i had to alter the line in the downloads.php file to add my status line correctly, so when the orders are in the pending order status or whatever i want, the download link wont show.

 

you will have to do the same thing, working with the paypal IPN mod. all you have to do is this:

 

where this instruciton is: WHERE IS THIS WHAT IS THIS!!! SHOWS WHAT TO CHANGE IT TO.BUT WHAT DO I CHANGE?? WHO EVER WROTE THIS NEEDS TO RE-WRITE THIS AND PUT THIS BACK IN!

To this

if ( ($downloads['download_count'] > 0) && ($order->info['orders_status'] != "") && ($order->info['orders_status'] != 1) && ($order->info['orders_status'] != "Pending") && (file_exists(DIR_FS_DOWNLOAD . $downloads['orders_products_filename'])) && ( ($downloads['download_maxdays'] == 0) || ($download_timestamp > time())) ) {

 

 

take that line, and copy: EXAMPLE!!!

 

&& ($order->info['orders_status'] != "Pending")

 

and paste it next to that instruciton like:

 

&& ($order->info['orders_status'] != "Pending") && ($order->info['orders_status'] != "Pending2")

 

then make note of the order status ID number, which u see on the address bar inside your admin panel when u click on the order status, and add another line like:

&& ($order->info['orders_status'] != "11")

OR whatever your order status is you want to not have downloadable permissions untill YOU update it!!!!

 

THATS IT. i hope i explained this easily...i take no credit for these mods, i just will take credit for bringing them together and helping everyone!!!

 

NOW ALL YOU PAYPAL USERS PUT THE IPN MOD IN, CUZ ITS WORTH IT!!!

Posted
where this instruciton is: WHERE IS THIS WHAT IS THIS!!! SHOWS WHAT TO CHANGE IT TO.BUT WHAT DO I CHANGE?? WHO EVER WROTE THIS NEEDS TO RE-WRITE THIS AND PUT THIS BACK IN!

To this

if ( ($downloads['download_count'] > 0) && ($order->info['orders_status'] != "") && ($order->info['orders_status'] != 1) && ($order->info['orders_status'] != "Pending") && (file_exists(DIR_FS_DOWNLOAD . $downloads['orders_products_filename'])) && ( ($downloads['download_maxdays'] == 0) || ($download_timestamp > time())) ) {

take that line, and copy: EXAMPLE!!!

 

SNAP !

You beat me to it.

I've have the same problem and I'm trying to install the same fix.

Also, what php file is the change for too?

If somebody out there knows whats missing, please post it here as soon as possible.

 

THANKS.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...