Ok so I have already started making a website like scriptfodder or coderhire, now how do I make a purchase button, then after you purchase you download the file.
Thanks
- Scalyfishmon :vrreact:
First you [B]really[/B] need to read up on the applicable law for setting up something like this.
If you collect any personally identifiable data you may have to register with your country and explain which. (It's that way in Britain at least.)
Also look into liability. If you don't want to be personally liable if something goes wrong (which, with respect, it likely will if you have to ask this question), in Australia you will have to register a Proprietary Limited company (Pty. Ltd.). The UK equivalent seems to cost £15 but the price differs really widely between countries.
(You can also technically incorporate somewhere else depending on the legislation you want to run this under.)
I suppose the gist is:
- Ask a lawyer about this stuff. (There may be government services for start-ups helping out with that.)
- Hire someone who is confident in setting up a secure online shop that fulfils the legal requirements.
[QUOTE=Scalyfishmon;48407370]Ok so I have already started making a website like scriptfodder or coderhire, now how do I make a purchase button, then after you purchase you download the file.
Thanks
- Scalyfishmon :vrreact:[/QUOTE]
[url]https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/buynow_buttons/[/url]
Here's the basic:
[code]<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="business" value="dexon@live.ca">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="item_name" value="Hot Sauce-12 oz. Bottle">
<input type="hidden" name="amount" value="10.00">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="return" value="https://www.dexontech.net/">
<input type="image" name="submit" border="0" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif"
alt="PayPal - The safer, easier way to pay online">
<img alt="" border="0" width="1" height="1"
src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" >
</form>[/code]
[url=http://facepunch.com/showthread.php?t=1479970&p=48405398]This guy has no idea what he's doing anyway.[/url]
[QUOTE=Rocket;48412008]That's not really what they're asking for. That just sends you an email with the payment details so you can send them the product. It's not automated.[/QUOTE]
yes it is, he's not selling real objects, he said 'like scriptfodder'.
You can change the return link to a .zip file and bam!
I gave him something to start with at least.
No offense intended by this, but if you have to ask basic questions like this you probably shouldn't be building applications that are handling people's financial information yet.
[QUOTE=dexon;48412390]yes it is, he's not selling real objects, he said 'like scriptfodder'.
You can change the return link to a .zip file and bam!
I gave him something to start with at least.[/QUOTE]
Thank you!
[QUOTE=Rocket;48412831]Then you can just copy the link from the HTML to avoid paying, or change the payment amount to $0.01.
The "buy now" button is not meant for automation, it's meant to be checked by a human.[/QUOTE]
"Then you can just copy the link from the HTML to avoid paying, or change the payment amount to $0.01. " Yes.
"The "buy now" button is not meant for automation" Was it wrote somewhere or is it some kind of rule? I think I missed it.
Yep, it's not secure. Even it wasn't ever meant to be secure.
I'll probably not spend 1 hour on making a perfect payment system for free.
[QUOTE=KmartSqrl;48412457]No offense intended by this, but if you have to ask basic questions like this you probably shouldn't be building applications that are handling people's financial information yet.[/QUOTE]
I couldn't say better.
Well I guess this is finished?
Thanks :mindblown:
[QUOTE=Scalyfishmon;48413372]Well I guess this is finished?
Thanks :mindblown:[/QUOTE]
Seems not.
[QUOTE=Rocket;48413459]It's pretty obvious that the Buy Now button is not intended for automation. Yes, you can hack something together, but you should just use the PayPal API for that. It's much easier.
If you don't want to give them the right answer, don't give them the wrong answer. Just don't respond.[/QUOTE]
Looks like Senpai still has things to say.
@Rocket Why wouldn't you then tell him how to do it since you've only been saying my help is wrong till now?
Eh, it's confusing. I thought you get a PayPal button and after you purchase it brings you to a download page. I don't know how scriptfodder does it.
- Scalyfishmon :nope:
You'll need the ipn: [url]https://developer.paypal.com/docs/classic/ipn/gs_IPN/[/url]
Use this to confirm payments from users, then, once payment confirmed, allowing the user to access the download page.
(or generate a temporary download page)
[sp]Watch out tho, Senpai might rate this as 'wrong' again.[/sp]
I had a feeling it had something do do with PayPal IPN
[editline]9th August 2015[/editline]
It's all mumbo jumbo, I give the sandbox a try later
[QUOTE=Scalyfishmon;48407370]Ok so I have already started making a website like scriptfodder or coderhire, now how do I make a purchase button, then after you purchase you download the file.
Thanks
- Scalyfishmon :vrreact:[/QUOTE]
That's a REALLY broad question. You'd need to hire a lawyer about this stuff as Tamschi mentioned, and also probably someone who knows about e-commerce in a startup environment.
Just to start, look into paypal APIs. You can probably do something so that after the purchase is confirmed, the download the file. Then again, paypal bounces a lot so you would definitely need a buffer period to actually make sure the purchase is approved which would take a couple days.
I'd say build the full website first [I]then[/I] worry about payment stuff.
Sorry, you need to Log In to post a reply to this thread.