shop.ini [OrderReceiptSettings]
The block [OrderReceiptSettings] of settings/shop.ini, with 2 setting(s).
Never edit settings/shop.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/shop.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/shop.ini.append.phpfor one siteaccess,extension/<extension>/settings/shop.ini.append.phpin an extension (read when the extension is active).
Secret
The secret that signs receipt addresses. Leave empty to have one generated
for this installation on first use and kept in <VarDir>/secrets/orderreceipt.key
(mode 0600, outside the web root's served paths). Set it (32 characters or
more) to share receipts between installations that share a database. Set it
in an override file, never here. Changing it changes every receipt address.
Default: empty.
# settings/override/shop.ini.append.php
[OrderReceiptSettings]
Secret=
*/ ?>BcryptCost
bcrypt cost for the receipt signature, 4 to 6: enough work to make guessing
expensive, little enough that a receipt opens instantly. Receipts made at an
earlier cost keep working.
Default: 5.
# settings/override/shop.ini.append.php
[OrderReceiptSettings]
BcryptCost=5
*/ ?>Related
Generated by ./console exp:help:examples from settings/shop.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.