Menu

Payment receipt

When a transaction has been successfully completed, Centralpay can send a payment confirmation email to the address that is fulfilled in the receiptEmail parameters of the transaction request.

This payment confirmation has a formatted layout displaying the different payment information, however you can configure several settings from the Back-Office at your convenience.

Please check below an example of a payment confirmation email:

List of the elements marked with arrows:

  1. Sender's email address
  2. Email sender’s name
  3. Company logo
  4. Point of sale name
  5. Footer content
  6. Receipt language

Point of sale information:

The elements 1, 2, 3, 4 highlighted are set up in the "Point of sale" prameters of your account:

  • In the "Back office", go into "Dashboard" > Point of sales > Settingss.
  • Click on the edition icon: you can complete or edit the fields 1, 2, 3 4 to update your email template.
    1. Sender's email address
    2. Email sender’s name
    3. Company logo
    4. Point of sale name

Bottom content of the receipt:

  • Go to Configuration > "Receipt email templates" and click on the "create" button.

Note: a Merchant Admin profile is requirred to proceed to thoses set ups.


You can now go to the Receipt Email edition page and enter the following parameters:

 

  • A name for the new receipt email template.
  • The language selected for this template.
  • The point of sale selected for this template.
  • Insert a footer template.

The content of the Footer (field number 5) will be displayed at the end of the email.

This template will be used only for the selected point(s) of sale.

The language depends on the parameters of the browserUserAgent, browserAcceptLanguage and enduserLanguage sent in your transaction request.


The Payment Confirmation Language:

If you want the card holder to receive the payment confirmation in a specific language, you must fill in the endUserLanguage value.

Otherwise, the value filled in the browserAcceptLanguage field is used and English by default if nothing is completed.

Parameters
endUserLanguage
string (2)
User language (browser default)
Required: NO
Validation: [a-z]{2} Alpha2 ISO 639-1 language code
Note: Payment Receipt language will be defined by endUserLanguage.
browserAcceptLanguage
string (255)
List of languages installed in the browser
Required: NO
Validation: [a-z]{2}([-A-Z]{2})? Alpha2 ISO 639-1 language code and, optional, Alpha2 ISO 3166-2 country code (optional)
Examples: de, en-US, en-GB | fr, es-ES, it | es, en-GB, nl, ru
browserUserAgent
string (255)
Browser and operating system identifier
Required: NO
Validation: .{0,255}
Example: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36