The QR code payment plugin can be used for any kind of offline payment when QR code invoices are issued. The booking itself has the state On hold, when not changed in the settings, as soon as the user has finished the booking process. This means the web site admin needs to QR manually activate the booking when the payment has arrived on the bank account.
The Qr code plugin actually support the Swiss QR code invoice system. Therefor the global DPCalendar configuration needs to be set as currency either "CHF" or "EUR" as only these two are supported.
The DPCalendar QR code plugin allows to add unlimited Swiss bank accounts to DPCalendar. When the plugin is opened in the back end, then you can click on the "+" button to add a new configuration. There you can fill the following fields:
The invoice is sent out as soon as the attendee has selected the QR code payment provider and clicks on the confirm button. The invoice is rendered from the file /plugins/dpcalendarpay/qr/tmpl/invoice.php, means the site admin can do a layout override, when some adaptions are needed.
A special parameter in the invoice is the "qrcode" parameter which contains the QR code HTML text from the payment provider configuration. The DPCalendar PDF options like header, logo or address are used in the invoice as well to be inline with the other system generated PDF files.
The subject of the mail is created from the language string "PLG_DPCALENDARPAY_QR_INVOICE_SUBJECT_TEXT" and the message from "PLG_DPCALENDARPAY_QR_INVOICE_MESSAGE_TEXT". The available variables are explained below.
We are using the mustache templating system to inject and render variables in the language strings as described in the Output rendering article. Means you can use a variable like {{price}} in the string and it will be replaced with the real value. For every language string below are the following variables available:
Comments (0)