Jump to content

not sure the best way to do this...


barrowvian

Recommended Posts

as part of my university project i am implementing a payment option to my website. For simplicity I will more than likely be using paypal standard. What I want to do though is accept an image from my user (in the form of a jpg or gif) only after they have made a payment. However, I dont want anyone else to access the tools to upload an image unless they have made the payment.

 

So this process being;

 

1 - user goes on website

2 - user makes a payment

3 - user uploads image that gets sent to my email address

4 - end

 

or;

 

1 - user goes on website

2 - uploads an image which is temporarily stored

3 - makes the payment

4 - if the payment is accepted then the image will be sent to me in a email

5 - end

 

can anyone suggest the easiest way to go about doing this please, with maybe a few pointers and tips :)

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/201203-not-sure-the-best-way-to-do-this/
Share on other sites

Just make sure that your code is flawless otherwise they may end up paying and then cocking it up and not being able to access it to upload the file. Probably best to use an authentication system (Assign them a login to upload the file with, then once they've used it, it expires. Or just a normal login, so you can identify who pays).

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.