can this be done ?

Associate
Joined
8 Nov 2005
Posts
425
Location
Derbyshire UK
Am in process of setting up a site with a freind for mobile phone flash files

what we are looking to do is setup, A site so that the customer picks the item he wants the file, Goes to pay via nochex/paypal in background once payment authorised they are allowed a one time link to download the file ?

i think it can be done with PHP some how but would like some kind of script or app to use,
 
Yup. Look into Paypal's Instant Payment Notification. You can write a script to accept the IPN HTTP POST from Paypal and amend the database accordingly (ie, transaction processed, and have a column for a random hash value and the transaction id). Then send out an e-mail with a link to the download script with two GET parameters - one for the transaction id and one for the random hash (for security, so only this person can download it) and mark the transaction as downloaded.

That should be a fairly alright way of doing it:)
 
paulsheff said:
Sorry to hijack, does Worldpay offer IPN? I need to do something similar with Mp3s.

It offers a callback facility which is very similar to Paypal's IPN :).
 
All well known e-pay systems have an API, which is usually documented somewhere on the respective site.

However, as advised, if you are new to php and/or web dev, don't. You are dealing with financials.. the last thing you want is for someone to rake in craploads of cash from your customers, then you getting sued for not having sufficient security.

Pay someone who is at a sufficient level to do it for you, it's very much worth it.
 
Dj_Jestar said:
All well known e-pay systems have an API, which is usually documented somewhere on the respective site.

However, as advised, if you are new to php and/or web dev, don't. You are dealing with financials.. the last thing you want is for someone to rake in craploads of cash from your customers, then you getting sued for not having sufficient security.

Pay someone who is at a sufficient level to do it for you, it's very much worth it.

Not really an issue with Worldpay or Paypal though - they handle all of the sensitive stuff for you!
 
Adz said:
It offers a callback facility which is very similar to Paypal's IPN :).

Cheers Adz, yeah I’ve found numerous peeps struggling with it, not to mention other issues WP brings! Might recommend Nochex as Paypals reputation atm is hardly whiter than white.
 
Back
Top Bottom