Share via E-Mail
Share on Google Buzz
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Allowing Downloads on My Site Using Redirect



rockthenroll
member
Posts: 3


I'm trying to allow downloads on my site's redirection page. Everything is working fine and getting me back to the download page, but the variables d & d_id are not available in the url string to give users access to the files.

I know you can use <?php echo $_GET['first_name']; ?> with PHP, but the only available strings are txn_id, first_name and last_name.

I see from the default download page that the link to download a file is:

http://www.e-junkie.com/ecom/df.php?txn_id=XXXXXXXXX&d_id=XXXXXXX, but d_id isn't available in the string.

Help please!


#
POSTED ON: April 10, 2008 @ 10:19 GMT -7




E-junkieChef
E-Junkie Crew
Posts: 936


You don't need d_id or d (which are the same btw) .. you simply need to link to

https://www.e-junkie.com/ecom/rp.php?txn_id=XXXX&noredirect=true


#
POSTED ON: April 11, 2008 @ 07:32 GMT -7




rockthenroll
member
Posts: 3




#
POSTED ON: April 11, 2008 @ 08:40 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 3486


I just responded to you via email, but for the benefit of others playing along at home:

First, make sure that you have specified your remotely-hosted download URL for the relevant product(s) in your E-junkie Seller Admin; that done, all you really need is for your PHP to dynamically fetch the contents of:
https://www.e-junkie.com/ecom/rp.php?noredirect=true&txn_id=XXX
... for each download (where XXX is the txn_id we POSTed to you for that transaction), and then use your code to parse the output of that URL to extract the unique-expirable download URL we provide to each buyer and then re-output that unique URL in the context of your own page.


#
POSTED ON: April 21, 2008 @ 17:44 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam