ForumsnerdyDownload Store Question…

This topic has 2 voices, contains 9 replies, and was last updated by  Brad 1778 days ago.

Viewing 10 posts - 1 through 10 (of 10 total)
Author Posts
Author Posts
March 26, 2007 at 11:45 am #6468

misterseth

First of all, thanks for developing the store, its a really decent solution for a lot of people!

Now forgive my ignorance, I’m a novice in this area. I have set up an Amazon S3 account, PayPal account and the mysql server. I’ve installed and configured your store on my server, and it works so far except that the links to the files that are generated upon payment link to nothing. They are creating nonexistent folder locations on my site (e.g. http://www.mysite.com/s54hjf983qx). I feel like I’m really stupid here but how the hell do you get your audio files into the Amazon S3 bucket so that they eventually show up in the purchased links? I’m missing a vital step somewhere. Can anyone clarify this?

March 26, 2007 at 12:35 pm #6469

Brad

Hi misterseth,

I used S3 Firefox Organizer to get my files into S3. Then you put the corresponding filename info into your items.ini file.

Does that clear it up? Let me know.

March 27, 2007 at 5:59 am #6470

misterseth

Hi Brad,

Thanks for the speedy reply.
I managed to get the files onto S3 now, in a folder with the same name as the variable BUCKETNAME in config.php and everything set up correctly in the items.ini file but its still not working. The link that I’m sent once the paypal transaction is completed is something like http://www.blahblah.com/downloadshop/8FHXQFZ8YAUP6
And of course there’s no such page or directory. I’m assuming this is supposed to point to what’s in the S3 bucket, and I can’t figure out why it isn’t working while everything else is. Any ideas?

March 27, 2007 at 12:36 pm #6471

Brad

It doesn’t email the user a link to the bucket & object, it emails them a link to their download page, which contains links to any files they’ve purchased. By default that would be:

/your-dds-directory/index.php?userid=8FHXQFZ8YAUP6

The “8FHXQFZ8YAUP6″ is their Paypal user ID.

March 28, 2007 at 10:18 am #6472

misterseth

Okay, I appendend “index.php?userid=” to $GLOBALS['ROOT'] in notify.php…

(as such: $store_url = $GLOBALS['ROOT'] . “index.php?userid=” . $payer_id;)

…in order to get the correctly formatted url into the email. That worked fine, the page displays the purchased downloads etc.

Now I’m encountering a different problem: even though I’ve purchased a download and received the link, the status in the database never changes from ‘Pending.’ The downloads are definitely active; I’ve changed the expiry time to 10 days but I had to temporarily disable part of the listPurchases function:

if($info['status'] == “Pending” OR $info['currency'] != “USD”) {
$link = “waiting”;
}

…in order to get the download links to show up. The links themselves are working fine now.

March 28, 2007 at 12:02 pm #6473

Brad

Why are they showing up as Pending? (I think) that should only happen if people pay with eChecks. And when they do you need to approve them manually using the admin page.

March 28, 2007 at 1:31 pm #6474

misterseth

I know why – its because I’m paying in GBP and the PayPal account is also set up in GBP! Got there in the end :)

March 28, 2007 at 1:34 pm #6475

Brad

Ah-ha!

March 28, 2007 at 2:11 pm #6476

misterseth

Thanks for all your help Brad.

March 28, 2007 at 7:10 pm #6477

Brad

No problem. Let me know when the store’s operational, I’d love to check it out.

Viewing 10 posts - 1 through 10 (of 10 total)

ForumsnerdyDownload Store Question…

You must be logged in to reply to this topic.