 <p>You will get the source code for any gateway for any platform in the help/documentation/ download sections of the payment gateway/payment processor website. Compile these codes and host it on codeplex.com. This will be the open source project you want...</p> <p>And do remember to upgrade the code regularly, since the APIs for the payment gateways changes often for to security measures...</p>