portal.payment.acquirer

This is an HTML form template to submit a payment through this acquirer. The template will be rendered with Mako, so it may use Mako expressions. The Mako evaluation context provides:

  • reference: the reference number of the document to pay
  • kind: the kind of document on which the payment form is rendered (translated to user language, e.g. "Invoice")
  • currency: the currency record in which the document is issued (e.g. currency.name could be EUR)
  • amount: the total amount to pay, as a float
  • object: the document on which the payment form is rendered (usually an invoice or sales order record)
  • quote(): a method to quote special string character to make them suitable for inclusion in a URL
  • cr: the current database cursor
  • uid: the current user id
  • ctx: the current context dictionary
If the template renders to an empty result in a certain context it will be ignored, as if it was inactive.

portal.payment.acquirer portal.payment.acquirer Payment Acquirers portal.payment.acquirer