Coinbase has an awesome API, and it is quite easy to integrate onto any website. There are some features such as creating a widget with a user entered price, obtaining withdrawal address, validation of the address, etc which require certain steps which are are not 'pick-up' and go.
Here is some Ajax/ PHP code for the same.
It allows the user to easily modify security details.
Comprises of
coinbase-php library - for the button response code function
phpcoinaddress library - for some random number functions. I did want to use this to validate addresses as well, but not very accurate, hence the additional layer of blockchain.info
bootstrap - for modals and nice curves
![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
jquery of course
jquery ui
It is quite easy to get started.
The payment comes into the application and data is received back into the callback file which writes the mysql database. Security validation needs to be added to the callback file. Once the payment is received, a script checks the database and then can redirect the user to any part of your application which requires the payment.
It is running across few live implements. Demo is available at coinsecure.in/this-wallet.
Get the code here:
https://github.com/bensonsamuel/this-wallet