bystymiee04-06-201107:32 AM - edited 10-20-201109:57 AM
In the first six parts of this series we have built a web form capable of handling online payments and have begun the process of refining and improving it. In Part 7 we continue to improve upon it by learning how to prevent bots from automating form submissions and potentially costing us big bucks.
bystymiee03-16-201110:59 AM - edited 04-24-201204:41 AM
The payment form we created in the first five parts of this series is very good. But it could be better. Part 6 begins a new chapter in this series where we improve upon our payment to make it more usable, secure, and maintainable. We begin by preventing users from making duplicate form submissions by using the POST/REDIRECT/GET design pattern.
bystymiee12-07-201010:50 AM - edited 10-20-201110:01 AM
Handling dollar amounts isn't as simple as adding two numbers together. PHP, and other programming languages, have limitations to how precise they can be. This blog post will show you how to do precise money calculations using PHP's BC Math extension.