Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dsolovay/ShortConfirmationCodes
Short Confirmation Codes for Sitecore Experience Commerce
https://github.com/dsolovay/ShortConfirmationCodes
sitecore-commerce
Last synced: 3 months ago
JSON representation
Short Confirmation Codes for Sitecore Experience Commerce
- Host: GitHub
- URL: https://github.com/dsolovay/ShortConfirmationCodes
- Owner: dsolovay
- License: mit
- Created: 2020-02-02T17:13:48.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-03T17:11:16.000Z (almost 5 years ago)
- Last Synced: 2024-04-15T16:27:33.369Z (7 months ago)
- Topics: sitecore-commerce
- Language: C#
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-Sitecore - Short Confirmation Codes - Provides six-character confirmation codes (configurable), randomly generated, and tracked in the commerce database to avoid conflicts, as shorter codes are easier to communicate over support calls and for some clients may be more convenient than the 25 character confirmations that are provided out of the box. (Commerce)
README
# Short Confirmation Codes
Short confirmation code plugin for Sitecore Experience CommerceThis plugin provides six character confirmation codes (configurable), randomly
generated, and tracked in the commerce database to avoid conflicts. Shorter codes
are easier to communicate over support calls and for some clients may be
more convenient than the 25 character confirmations that are provided out of
the box.## Technical notes
* As a precatution against codes being reused ("collisions"), the plugin creates tracking entities.
* The code checks for and creates tracking entities within a transaction, to ensure uniqueness.
* If a unique code is not generated in the allowed number of tries (default 3), a 32 character guid is returned.
* The default setting uses 26 characters, and a six character code, allowing for 308,915,776 possible codes.## To Use
1. Add project to your soluton.
1. Update NuGet references to appropriate version for your Sitecore Commerce install.
1. Add reference to your commerce engine project.
1. (Optional) Create policy JSON to modifty settings (allowed characters, number of tries, length of code).
1. (Optional) Modify Sharding policy to put confimration code entities into a separate table. By default, they will go
to CommerceEntities.