This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
cc:cc_token_upgrade [2020/01/28 09:50] dtucker [Card Cleanup Prior to Upgrade to TWBS CC Tokenized Version – Highly Recommended] |
cc:cc_token_upgrade [2023/02/03 09:16] (current) dtucker [Migration of In-Process Transaction Records] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== TWBS Credit Card Token/ | ====== TWBS Credit Card Token/ | ||
| + | |||
| + | This section contains important information for Partners and Consultants that should be reviewed prior to the implementation of the fully tokenized version of the TWBS CC Processing application. This applies to new customer installations and the upgrade of existing TWBS CC customers. Also, please remember that this is a new major release of the application and should always be fully tested in a separate Test environment prior to implementation. | ||
| + | |||
| + | <WRAP center round important> | ||
| + | For customers upgrading from a previous version of TWBS Credit Card who need to migrate existing cards to the gateway, a copy of the TWBS_SBO-Common **MUST** be restored in the environment. The TWBS CC application will access a key piece of information during the migration process. This is also required even if just performing a full or partial test migration. | ||
| + | </ | ||
| + | |||
| + | <WRAP center round info> | ||
| + | The latest version of TWBS CC can **only** be used with the Authorize.Net, | ||
| + | </ | ||
| + | |||
| + | <WRAP center round info> | ||
| + | In this version of TWBS CC, the profiles are gateway account dependent, **not** database dependent. All testing, including test card migrations, should be done on gateway sandbox/ | ||
| + | </ | ||
| + | |||
| + | <WRAP center round info> | ||
| + | While latest version of TWBS CC is compliant with the use of TLS 1.2 for data transactions, | ||
| + | </ | ||
| Line 24: | Line 42: | ||
| ===== Card Cleanup Prior to Upgrade to TWBS CC Tokenized Version – Highly Recommended ===== | ===== Card Cleanup Prior to Upgrade to TWBS CC Tokenized Version – Highly Recommended ===== | ||
| - | Expired cards will migrate to the gateway. Due to some of the gateway limitations discussed in the gateway | + | Expired cards will migrate to the gateway. Due to some of the gateway limitations discussed in the gateway specific sections, it is advised that prior to the card migration that the data be cleaned up. This can include |
| - | specific sections, it is advised that prior to the card migration that the data be cleaned up. This can be | + | |
| - | identifying the cards that are already expired | + | |
| - | need to be updated followed by removal of all cards that aren’t update and remain expired. Other customers | + | |
| - | may simply choose to remove all cards that have already expired. | + | |
| <WRAP center round info> | <WRAP center round info> | ||
| Selection Query to determine how many cards have expired prior to the current month (SQL) | Selection Query to determine how many cards have expired prior to the current month (SQL) | ||
| - | SELECT * FROM [@TWBS_CC_BPCC] WHERE CONVERT(INT, | + | SELECT * FROM [@TWBS_CC_BPCC] WHERE CONVERT(INT, |
| - | CONVERT(INT, | + | |
| - | = CONVERT(INT, | + | |
| - | CONVERT(INT, | + | |
| <WRAP center round info> | <WRAP center round info> | ||
| Query to remove cards that have expired prior to the current month (SQL) | Query to remove cards that have expired prior to the current month (SQL) | ||
| - | DELETE FROM [@TWBS_CC_BPCC] WHERE CONVERT(INT, | + | DELETE FROM [@TWBS_CC_BPCC] WHERE CONVERT(INT, |
| - | CONVERT(INT, | + | |
| - | = CONVERT(INT, | + | |
| - | CONVERT(INT, | + | |
| <WRAP center round info> | <WRAP center round info> | ||
| Selection Query to determine how many cards have expired prior to the current month (HANA) | Selection Query to determine how many cards have expired prior to the current month (HANA) | ||
| - | SELECT * FROM " | + | SELECT * FROM " |
| - | CAST(RIGHT(YEAR(NOW()), | + | |
| - | CAST(RIGHT(YEAR(NOW()), | + | |
| - | CAST(LEFT(MONTH(NOW()), | + | |
| <WRAP center round info> | <WRAP center round info> | ||
| Query to remove cards that have expired prior to the current month (HANA) | Query to remove cards that have expired prior to the current month (HANA) | ||
| - | DELETE FROM " | + | DELETE FROM " |
| - | CAST(RIGHT(YEAR(NOW()), | + | |
| - | CAST(RIGHT(YEAR(NOW()), | + | |
| - | CAST(LEFT(MONTH(NOW()), | + | |
| {{: | {{: | ||
| Line 71: | Line 73: | ||
| Please remember to factor that migration timeframe into any estimates provided for the time to complete the | Please remember to factor that migration timeframe into any estimates provided for the time to complete the | ||
| upgrade process. | upgrade process. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ===== Verification of the Card Gateway Data Migration Process ===== | ||
| + | |||
| + | During the card migration process, the SAP status bar will provide an update on the progress of the migration | ||
| + | (“Migrating credit card 2418 of 2600” for example). At the completion of this process, if any of the cards failed | ||
| + | the migration to the gateway, the status bar will present the user with an error (red) message stating “Credit | ||
| + | Card information migration failed.” | ||
| + | Any cards that failed the migration process will have their encrypted card # replaced with a message starting | ||
| + | with the text “Migration failed for…” | ||
| + | Example: “Migration failed for C130000-C130000 VISA4-You cannot add more than 10 payment profiles.” | ||
| + | |||
| + | <WRAP center round info> | ||
| + | To determine how many cards completed the migration process you can run the following query: | ||
| + | |||
| + | SELECT * FROM [@TWBS_CC_BPCC] WHERE U_CardNumber LIKE ' | ||
| + | |||
| + | <WRAP center round info> | ||
| + | To determine how many cards failed the migration process you can run the following query: | ||
| + | |||
| + | SELECT * FROM [@TWBS_CC_BPCC] WHERE U_CardNumber LIKE ' | ||
| + | |||
| + | A list of the cards that failed migration can be exported from the SQL results into a spreadsheet and provided to the customer as these cards will not be visible in the front end of the application because they will not be stored in the new user table for payment profile information | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ===== New UDTs in SAP B1 Company DB ===== | ||
| + | |||
| + | * **@TWBS_LICENSE** – New UDT in all add-ons for local storage of license checking to prevent applications from verifying the license with TWBS web service on every start. Will only create if it does not already exist. | ||
| + | * **@TWBS_CC_CCTOKEN** – New UDT to store payment profile information (cards) that have been stored on the gateway. | ||
| + | * **@TWBS_CC_CUSTPROFILE** – New UDT to store customer profile information (BP) that have been stored on the gateway. | ||
| + | * **@TWBS_CC_TRX** – New UDT to store transaction table information. This table will replace the AM_CCAD table for existing customers. | ||
| + | |||
| + | <WRAP center round info> | ||
| + | The TWBS Credit Card application does not convert/ | ||
| + | |||
| + | {{: | ||
| + | |||
| + | |||
| + | ===== Removal of the Encrypted Card Number for Upgrading Customers ===== | ||
| + | |||
| + | During the card migration process, the application will remove all of the encrypted card #’s from the UDT that stored the BP associated cards. However, the application will not remove the encrypted card numbers from the prior transaction table (AM_CCAD). | ||
| + | |||
| + | <WRAP center round info> | ||
| + | Query to remove encrypted card numbers from the old transaction table (SQL) | ||
| + | |||
| + | UPDATE AM_CCAD Set CrCardNum = NULL | ||
| + | </ | ||
| + | |||
| + | <WRAP center round info> | ||
| + | Query to remove encrypted card numbers from the old transaction table (HANA) | ||
| + | |||
| + | UPDATE “AM_CCAD” Set “CrCardNum” = NULL </ | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ===== Migration of In-Process Transaction Records ===== | ||
| + | |||
| + | While the application will migrate the business partner associated credit cards into payment profiles on the | ||
| + | gateway, it will not migrate any transaction records from the old table to the new table if there are | ||
| + | authorizations that are in-process and have not been settled prior to the upgrade to the latest version of the | ||
| + | application. To migrate these in-process transactions you will need to run the following queries. | ||
| + | |||
| + | <WRAP center round info> | ||
| + | Long-term TWBS Credit Card Processing customers may not want to migrate all of the old transaction data into the new table. Usually the last year or so is sufficient to cover all the customer' | ||
| + | |||
| + | <WRAP center round info> | ||
| + | INSERT INTO [@TWBS_CC_TRX] (Code, Name, U_DocNum, U_DocType, U_LineID, U_OrigVoucherNum, | ||
| + | |||
| + | SELECT | ||
| + | CONVERT(nvarchar, | ||
| + | CONVERT(nvarchar, | ||
| + | A.DocNum, A.DocType, A.LineID, A.OrigVoucherNum, | ||
| + | |||
| + | FROM AM_CCAD A (NOLOCK) | ||
| + | |||
| + | WHERE CONVERT(int, | ||
| + | </ | ||
| + | |||
| + | <WRAP center round info> | ||
| + | Additional years can be added to the WHERE clause at your discretion to migrate larger volumes of data. </ | ||
| {{: | {{: | ||