Record credit or debit card payments on call center orders in Dynamics 365 Commerce
Menu item
RetailTransactionPaymentTransArchive
Setup steps
1 on this page
How this guide was checked
Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Old authorization data is archived”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone
1What it is and why
What it is
A batch job that archives to Azure Blob storage, or deletes, the stored credit card authorization data (auth blobs) for older payment transactions.
What you do here
Use this page to free database space by archiving or deleting credit card payment tokens and signature data older than a minimum age.
Example
For example, BEAT archives the card authorization data of payment transactions older than 180 days, after its 90-day refund window, and compresses it to save storage.
The page in Dynamics 365. page title tab to open what to set or check
About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.
When to run it
When to run it
When credit card authorization data (auth blobs) takes up too much database space, for transactions that are older than your linked-refund period.
How often
As a recurring batch job once the backlog is archived; later runs take less time.
Batch settings
A recurring batch job. Start with a large Minimum transaction age in days and lower it step by step, so each run handles fewer transactions.
What the output shows
Payment tokens and signature capture data (PaymentAuthorization, PaymentCaptureToken, PaymentCardToken and SigCapData) of older card transactions are exported to a ZIP file in Azure Blob storage and removed from the database, or just deleted. Returns of those transactions then need standalone refunds.
Move, or delete, the stored card authorization data of older payment transactions.
Steps from Microsoft
Go to Retail and Commerce > Retail and Commerce IT > Clean up > Archive credit card transaction data.
In Minimum transaction age in days, enter the period in which customers can still get linked refunds to the original card, for example 730 for two years. Corresponding transaction date then shows the date before which records are affected.
Set Delete data without archiving to Yes only if the payment tokens and signature data should be deleted instead of exported to Azure Blob storage. Archiving needs document management to be set up.
Leave Use compression off on version 10.0.49 and later; compression now has its own Compress credit card transaction data job.
Set the recurrence and batch group in Run in the background; batch processing is always on for this job.
Select OK and confirm the archive prompt with Yes, then check that the job finishes. The first run on a large backlog can take hours or days.
Archive with compression on a schedule, using a minimum transaction age that is past your refund window.The authorization data is needed for refunds against the original payment; old data only takes space.
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use it
To use itRetail operations manager RetailOperationsManagerGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Load order: Archive credit card transaction data has no data entity in Data management, so it can't be loaded from a file or a configuration template. It works on data that is already in the system, so there is nothing to load.Checked in Dynamics 365