BILLIE- provide the building blocks for this process. They belong on the order overview page (ws_place_order.htm), because that is where the payment method is decided.
Guide: Billie purchase on invoice
The process in the template
Four steps belong together, and none of them works on its own.The session
BILLIE-SessionID
Outputs the Billie session ID.The negative area is part of it. Otherwise, if Billie cannot be reached, a payment method is offered whose button does nothing.
BILLIE-MerchantName
Outputs the configured merchant name that the widget displays. As an area tag, it applies if a name is configured.BILLIE-OrderData
Outputs the order data as a JSON object, as the Billie widget expects it.Returning the response
The widget runs in the browser. Its result must therefore be sent back to the shop via a form.
The address of the form is provided by
FORM-BillieResponse.
The two
id attributes can be chosen freely; the JavaScript accesses the fields through them. The name attributes cannot: they must come from the tags, otherwise the shop does not recognise the response.Evaluating the response
Both output the content unencoded. As area tags, they apply if any response is present.
The payment terms
BILLIE-Duration
Outputs the configured payment period in days.BILLIE-Duration is the only tag in this group that you also need outside the order process, for example on an information page about payment methods. The others belong on the order overview page.Related topics
- Guide: Billie purchase on invoice
- Guide: Overview of payment and shipping methods
- Reference: FORM-BillieResponse
