Forums / General Questions / Download file with password and paypal

Download file with password and paypal

Locked

Views: 671

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
28 Sep 2010, 8:44 PM
#1
ehm avatar

ehm

New Zenner

Join Date:
Apr 2008
Posts:
19
Plugin Contributions:
0

Download file with password and paypal

I have this file for download that is password protected.
If the user pay it by Credit Card (off line transaction) or Check, the CC or check need to clear before I send the user a password to open the file.
But if the user pay using Paypal, I would like to make that the user receive an e-mail with the password automatic.
Is there any way to do that?
Many users buy via Paypal, and they get frustrated when they cannot open the PDF right away.

Thank you
ehm

28 Sep 2010, 9:02 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Download file with password and paypal

As you know, customers cannot access the file if they haven't paid for it, thus simply the fact of being paid or not is automatically handling authorized access to a large extent.
What is the reason for password-protecting the file on top of that?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

28 Sep 2010, 9:05 PM
#3
ehm avatar

ehm

New Zenner

Join Date:
Apr 2008
Posts:
19
Plugin Contributions:
0

Re: Download file with password and paypal

DrByte:

As you know, customers cannot access the file if they haven't paid for it, thus simply the fact of being paid or not is automatically handling authorized access to a large extent.
What is the reason for password-protecting the file on top of that?

I may be wrong, but would be possible to a 'smart' user to point his/her browser to the download path on zen cart and 'grab' the files from there?

28 Sep 2010, 9:25 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Download file with password and paypal

Sure, if you don't do anything to prevent that.
But, if your server supports Download by Redirect, then you can protect it this way: https://www.zen-cart.com/tutorials/index.php?article=280

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.