Sample code for the web payment integration is available on GitHub.