Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

shop.ini [OrderReceiptSettings]

The settings of [OrderReceiptSettings] in shop.ini: Secret, BcryptCost

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/shop/OrderReceiptSettings.md

On this page

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.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/shop.ini.append.php for one siteaccess,
  • extension/<extension>/settings/shop.ini.append.php in 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.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# settings/override/shop.ini.append.php
[OrderReceiptSettings]
BcryptCost=5
*/ ?>

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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x