Odoo 8 Point of Sale (POS) Bluepay Integration


We have implemented Odoo 8 with BluePay with more functionalities compare to V7 that we did. BluePay with OpenERP V7 In this development we have also made changes for POS Transaction. It is working based on TOKEN concept so it is storing only TOKEN into odoo database and that token will be use for future transactions.

After installing module, it requires to configure Bluepay credentials into Odoo. It is also require to enable accounting journal for BluePay.

BluePay Configuration
BluePay Configuration

There are 2 ways to generate TOKEN and make transactions.
(1) Generate Token from customer form
(2) Generate Token during payment process.

We have added new tab ‘Credit Card’ into customer form which is giving information that how many tokens stored into database with last 4 digits of credit card number.

Get BluePay Tocken
Get BluePay Tocken

There is one button ‘Get Token’ into credit card TAB which is asking for information related to credit card and send token request to Bluepay server and store it into database.

After generating token, you can check available balance with customer credit card and get appropriate message from server.

Check Customer Balance
Check Customer Balance
Credit Card Balance Message
Credit Card Balance Message

During payment process from POS, first it requires to select journal which is enable for Bluepay transactions. And you will get following screen for credit card payment. You can register new credit card during transaction and it will store into customer credit card token list.

POS Card Selection
POS Card Selection
Swipe Card for BluePay payment
Swipe Card for BluePay payment
POS New card process
POS New card process

After successfull transaction, it is printing transaction id and auth code on POS receipt.

Odoo POS Receipt
Odoo POS Receipt

You can check all information in POS record and make refund or cancel transaction.

POS Order with BluePay information
POS Order with BluePay information

You can return order from POS interface based on receipt number and also move them to Scrap location.

POS Return process for bluepay
POS Return process for bluepay

Same operations are possible to perform from Customer Payment form. (normal accounting process of Odoo)

Odoo Payment Voucher
Odoo Payment Voucher
Payment voucher with new card
Payment voucher with new card
BluePay Payment Status
BluePay Payment Status
Odoo customer payment voucher
Odoo customer payment voucher

OpenERP SagePay with Token


SagePay is providing very good feature to process with Credit Card. It is not necessary to store credit card details into database.
SagePay server will provide you TOKEN like below {5C0DC8AD-DE7A-F65C-C53D-CC6C23BF3BEF}.

This TOKEN can be used for further transactions and make your work very easy. User can also remove current token and generate new one.

We have implemented functionality in such a way that we can store more than one TOKEN for customer. First we have to make configuration for SagePay server authentication.

SagePAy Configuration
SagePAy Configuration

It requires to generate token from SagePay server. It will not store credit card number into database.

Generate SagePay Tocken
Generate SagePay Tocken

Once we will click on Generate button, it will store some required information into openerp database with TOKEN for further operations.

Credit Card details
Credit Card details

In Customer Payment, we will find new button “Pay by SagePay” which will open popup window like below screen. User can select one credit card to process with SagePay. It will display only valid credit card number which has TOKEN generated from server.

Credit Card Selection
Credit Card Selection

After successful transaction, sagepay server will return transaction ID and messages which are stored into Customer Payment for future reference.

SagePay Transaction Success
SagePay Transaction Success

We are also keeping history of all successful transactions into OpenERP.

SagePay Transaction History
SagePay Transaction History

OpenERP integration with BluePay


Recently we have made integration with OpenERP with Authorize.net for payment services. Now we have integrated OpenERP with another Payment services, BluePay. We can have more information from http://www.bluepay.com. With help of this module, it is very easy to process with credit card from OpenERP interface.

First of all we have to create account on BluePay and get required information and use those information to connect with BluePay from OpenERP. We have tested each transaction in TEST mode.

OpenERP BluePay Configuration
OpenERP BluePay Configuration

It requires credit card information to make transactions. We are storing required details into Customer form. We are using AES algorithm for securing credit card number into database.

OpenERP Customer Form
OpenERP Customer Form

Sometimes it is require to know that customer has enough balance in his credit card or not. We are giving facility that user will enter amount that he has to check for particular customer and get relevant message.

Check Credit Card Balance
Check Credit Card Balance

As we are storing credit card number in a secure way in database so it is not allow to change credit card number directly.

Check Credit Card Number
Check Credit Card Number

We have improved GUI of voucher for sending payment request to BluePay. It allows to send request only one time if it will succeed. And also stroing transaction related information into voucher for future purpose. It will cancel payment request with BluePay if we are going to cancel voucher.

OpenERP Account Voucher
OpenERP Account Voucher
Voucher Process Completed
Voucher Process Completed

Sometimes it is require that customer wants to pay amount in installment. We are allowing to create recurring payment request with BluePay.

Recurrent Process
Recurrent Process

We are keeping track of messages for each and every transactions occur during recurring payment.

Recurrent Messages
Recurrent Messages

User can change any parameter during recurring payment process execution. And can cancel it also.

Update Recurrent Payment
Update Recurrent Payment

We are tracking details of each and every transactions with BluePay.

Transaction History
Transaction History

User can print transaction details on PDF report by entering date range and proper parameter selection.

Print BluePay Transaction
Print BluePay Transaction