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.
It requires to generate token from SagePay server. It will not store credit card number into database.
Once we will click on Generate button, it will store some required information into openerp database with TOKEN for further operations.
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.
After successful transaction, sagepay server will return transaction ID and messages which are stored into Customer Payment for future reference.
We are also keeping history of all successful transactions into OpenERP.