Skip to content

Payment

A Payment field adds a payment button to the form. When the client clicks it, the page of your payment provider opens in the form: a credit card payment page with Credit Guard MPI, or the bank connection page with Open Banking. Details that the provider returns, such as the authorization number, can be written into fields of the form.

The Payment field is available in HTML and PDF templates, when payment integrations are included in your organization’s plan. It is on the palette for users with the Implementer, Project manager or Organization manager role. For the settings that all fields share, such as permissions, dependencies and style, see Field settings.

A new Payment field is required, and only the client can use it.

Create a payment integration on the Integrations screen. See Payment integration.

  1. Add the fields that hold the details the provider needs, for example a Number field for the amount.
  2. Drag Payment onto the form or the PDF page.
  3. On the Values & Display tab, type the Button text. The default is “Credit Card details”.
  4. On the Developer tab, select the integration in Payment Integration. The project’s payment integrations are listed by their alias.
  5. Select the fields for the provider’s parameters. See Credit Guard MPI parameters or Open Banking parameters.
  6. Optionally, write the details that the provider returns into fields. See Map the payment details to fields.

Developer tab of a Payment field: Payment Integration, the amount field, Transaction type and one detail mapping

Payment fields created in earlier versions show their saved settings, for example Transaction type and Select the amount input field, in the same place.

Setting What it does
Select the amount input field The field that holds the amount to pay, usually a Number field. Required: without an amount, the payment can’t start. The field can have a default value, be filled in by the agent, or be hidden.
Transaction type debit: a one-time payment, the default. recurringDebit: a recurring payment.
recurrence (in weeks) For a recurring payment: the number of weeks between payments, from 1 to 52 (“min week amount 1, max weeks 52”). Default: 4.
Unlimited For a recurring payment: the payments continue with no end date.
Setting What it does
ID The field that holds the ID number of the customer. Required. Digits only: 5 to 9 digits for an individual, 8 or 9 for a business.
Organization Type A List Of Values or Radio field whose value is individual or business. Required.
provider_id Optional. A field with the provider ID of one bank, to connect to that bank only.
psu_id Optional. A field with the ID number of the account holder, when it isn’t the ID. 5 to 9 digits.

If a value isn’t valid, the connection doesn’t start.

You can write the details that the provider returns into fields of the form, for example to show the last digits of the card, or to send the authorization number to the archive.

  1. On the Developer tab, click Add Mapping.
  2. In Source, select a detail returned by the provider. The list shows the details of the selected integration.
  3. In Target, select the field that receives it: a Text, Number or Image field.

Each source and each target can be used only once, and a field that you selected for a parameter, such as the amount, can’t be a target. To remove a mapping, click its remove button (Remove Mapping).

The mapped fields are filled in when the payment succeeds. Don’t map confidential data to fields that people can see, and make sure that your archive may receive it.

Source Description
card_expiration The expiration date of the card.
cguid The unique ID of the transaction.
card_no The card number.
card_mask The masked card number.
card_name The name of the card owner.
card_brand The brand of the card.
card_aquirer The acquirer of the card.
credit_company The credit card company.
club_id, club_code The club ID and the club code of the card.
currency The currency of the transaction.
total The total amount of the transaction.
life_style Whether the card is a Life Style card.
auth_number The authorization number of the transaction.
personal_id The ID number of the card owner.
blocked_card Whether the card is blocked.
verify_error_code The result code. A value other than 000 usually means an error.
verify_error_description The result message. Usually has a value when the result code isn’t 000.
Source Description
connection_id, connection_status, provider_id, mode, expiry_date The connection to the bank: its ID and status, the bank, the connection mode, and when the connection expires.
accounts_count, cards_count, savings_count, loans_count, securities_count, transactions_count How many accounts, cards, savings, loans, securities and transactions were read.
error_type, error_message The error, when the connection failed.
final_score, scoring_status, score_customer_id, score_org_id, score_created_at The score of the customer, when Enable Scoring is on in the integration.
  1. The field shows a button with the Button text.
  2. The client clicks the button. The page of the provider opens in the form.
  3. The client completes the payment or the connection. When it succeeds, the page closes, and the mapped fields are filled in. If it fails, an error is shown in the field, and the client can try again.

When the field is required, as a new Payment field is, the client can’t submit the form before the payment succeeds. The content and the look of the provider’s page are managed by the provider, not by Cellosign.

The Payment field isn’t printed in the signed PDF. To show payment details in the PDF, map them to fields.

In the archive data, the Payment field holds the status and the type of the payment, the transaction ID, the provider’s reference and result, and the amount.