This follows on from a thread (http://drupal.org/node/257177) where I was setting up an mp3 shop using Paypal - PhilK helped me out, and I thought I'd try to help others here.
So, to go through the steps i went through to get the site live (www.3m30.com - I didn't do the design, and won't share my views right now...).
-
Install a clean version of Drupal 5.7 (audio is still not supported on 6)
-
Download and enable the following modules:
- Audio 5.x-2.x-dev (this has audio attach included)
- Poormanscron (makes sure the database is constantly updated, if you dont have cron on your server)
- Sitepass 5.x-1.x-dev
- Token
- Views
- ec one click login
- Download and install the ECommerce module, which has loads of modules within. I think it's important to enable the modules in a specific order, but I can't completely remember the order now - i think it's:
- Store
- File Product
- The rest that you want (Paypal, COD, etc)
- Change the permissions for Anonymous Users, making sure they can
- download audio
- play audio
- use sitepass
- view uploaded files
- access views
-
Under Content Types, edit the Product type and enable 'attach Audio files'
-
Create a Product piece of content, FTP an audio track to your server and point to it under File Path, attach a 30 sec snippet of the same song and fill in the rest of the details.
-
I used Cash on Demand (COD) to test and make sure it was working, and under the COD settings set the transaction to mark as complete when done, meaning an email is sent to the user. Now, when the user clicks the link in the email it should take them to %myfiles (make sure that's in the default customer invoice) and log them in at the same time. Sometimes it doesnt work like that, and they have to click My Files.
-
Enable Paypal and get the basic settings working - main thing is putting the IPN (mine is http://www.3m30.com/paypal/ipn) into your paypal profile settings, under Instant Payment Notification Preferences
It took a bit of working out to get the email and the link right, so that users are logged in and sent to the right place, but it worked out in the end.
If you need any help wiht this drop me a line - PhilK was a legend in helping me work through it, and am happy to try to do the same for someone else.