Examples for implementing Omise Gateway using various libraries
PHP omise-php
The PHP example contains a front end form with the credit card which generates the token. The token is send to the checkout.php (server side) for creating a charge with Omise using the Secret Key.
Ruby on Rails - ActiveMerchant
A demo store using Spree and Omise-ActiveMerchant plugin