|
Charmande Petion
Registered User
Join date: 4 Jan 2006
Posts: 118
|
09-08-2006 20:57
I recently built and scripted my own multi-item, multi-option per item vendor. I was wondering if there is anything important I should know about scripting a vendor? Things like... loopholes in common vendor coding styles that could allow others to buy things from my vendor for incorrect prices, or for them to purposely pay a wrong price and get more money back than they paid.
Things like that.
|
|
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
|
09-09-2006 00:37
set pay price, it had a mega flaw in it if you didnt check to see how much money you got, you could buy stuff for a buck ... its "fixed" now, but be shure to check your data anyways, its just good practice
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
09-09-2006 11:35
Log everything.
|
|
Charmande Petion
Registered User
Join date: 4 Jan 2006
Posts: 118
|
09-09-2006 22:43
Ah, thanks you too, I currently have it set to email with the details of each and every sale. I'll double check and test the buying, too.
|