Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 948 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 948 Bytes

Opn Payments Source Code Examples

Examples for implementing the Opn Payments Gateway using various libraries:

The PHP example contains a front end form with the credit card that generates the token. The token is sent to checkout.php (server side) for creating a charge with Opn Payments using the Secret Key.

Ruby on Rails - ActiveMerchant

A demo store using Spree and the Omise-ActiveMerchant plugin.

Java

Example Java server to receive the token generated using Omise.js, and then create a Customer object and charge it.

ASP.NET Web Forms

Example ASP.NET Web Forms integration, with two pages. One uses Omise.js for a customer to enter credit card details, and the other receives the form and charges the token.