Looks nice actually for a starter, gj.
|
Media:
Spoiler for Media:
How to configure:
Spoiler for configuration:
Feel free to change the design of the page and then re-sell it if you you want. I don't mind.
To make the site work all you need is an IPN listener script that hooks up with your database, as well as enabling IPN on your paypal account.
If anyone want me to set it up for them, I'm willing to do it for a fee. Just pm me or write me on skype - username: Stav5.
Link: https://www.dropbox.com/s/5zkob7s6dzdk1i1/shop.zip?dl=1
Looks nice actually for a starter, gj.
Looks nice, sad to hear about that you got deceived...
Thank you it's been a long time since I'm looking for a code like this
Sorta looks like one of foxtrots
This is a perfect example why fonts are so important.
Try adding a suitable font and then compare.
Saw my name so i'll add some input hehehe.
Opened the first shop.php i saw and saw this form:
normally wouldn't be a problem, except this submits directly to paypal and the form can be modified beforehand. You should be submitting to your own script where each and every field is verified, then redirect to the paypal page.Code:<form id="donate_form" action=<?php echo ' "https://www.'.$SandboxMode.'paypal.com/cgi-bin/webscr" ' ?> method="post"> <input type="hidden" name="cmd" value="_cart"/> <input type="hidden" name="upload" value="1"> <input type="hidden" name="business" value=<?php echo '"'.$Paypal.'" ';?> /> <input type="hidden" name="currency_code" value=<?php echo '"'.$Currency.'"'; ?> /> <input type="hidden" name="return" value=<?php echo '"'.$Return.'" ';?> /> <input type="hidden" name="custom" id="donate_custom_input" value=""/> </form>
idk, didn't look at it super thoroughly, but if you intend to use this, just be warned of that
EDIT:
Why is there a class in a config file? o.o
https://hastebin.com/ogomirudik.xml
and i don't see any way that this is automated..OH JESUS THIS IS FROM LAST YEAR X.X
I'll take that as a compliment
You are right, I tried adding some better fonts and it looks way cleaner. Thanks for the advice
I apologize for the horrors you might have seen in my code. I was hoping nobody would look at it
I think my idea was that you would only do verification on the actual notification from paypal (which you would have to write yourself). That way if somebody did something malicious like change the currency or change the price from 100$ to 1$ you would just mark it as a faulty donation and not give the player the items while you still get to keep whatever money they did send (unless they refund if of course, which they probably will)
I don't really remember my reasoning for the class....probably i was just thinking that it was the easiest thing to do at the time. (also, I had just done a lot of java so my mind was in a very "object-orianted" state at the time)EDIT:
Why is there a class in a config file? o.o
https://hastebin.com/ogomirudik.xml
and i don't see any way that this is automated..OH JESUS THIS IS FROM LAST YEAR X.X
And yeah im sorry it's not really fully automatic since it doesn't include anything to actually verify the donations and store them. but its great clickbait
If anyone is actually trying to use this for their server i defiantly recommend you to buy a proper made one instead. Like one of Foxtrots.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |