Since OBAS version 4.1.6 you may migrate to Sage Pay Token.
This article describes conversion procedure of the saved credit cards details into SagePay tokens.
Reconfigure SagePay plug-in:
- Set API version equals 2.23
- add "
SagePay token method" to the list of allowed payment method types.
- Download attached script to the OBAS container.
Create credit cards data backup of the tables
~# mysqldump aspc --tables plugin_pm > backup_plugin_pm ~# mysqldump ss --tables sstore > backup_sstore
Migrate credit cards to SagePay tokens using the downloaded script
~# ./migrate_cc_to_sagepay_token.pl Script for migration credit card to SagePay tokens usage: migrate_cc_to_sagepay_token.pl -s [-c -d] where options are: -s Start migrate -c Credit Card ID added in OBAS, if skiped all credit card will be migrated -d Delete credit card after migration (without this option cards will be disabled)
To migrate all credit cards only option "-s" is required:
~# ./migrate_cc_to_sagepay_token.pl -s
Use option "-c" to specify the list of credit card ids. If this option is not specified all credit cards will be migrated. To specify several credit card IDs use option -c multiple times.
~# ./migrate_cc_to_sagepay_token.pl -s -c 1 -c 2 -c 3
Specify the "-d" option to delete credit card data after the migration. Without specifying this option credit cards will be disabled.
~# ./migrate_cc_to_sagepay_token.pl -s -d
- Remove the backup once you will make sure that migration completed successfully.