Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

h) By default a transaction is shown on the customer's bank account statement as "PB*XXXXXXX, PORTO ALEGRE".

  • "PB" is what is called the hard descriptor (cannot be changed).

  • "XXXXXXX" is the soft descriptor (customizable).

  • "PORTO ALEGRE" is the city where the payment processor is located (cannot be changed).

The soft_descriptor parameter accepts letters, digits and spaces (regular expression [a-zA-Z0-9\s]). The string is truncated to the maximum allowable length of 13 characters. When receiving the parameter soft_descriptor with invalid characters, we will accept it but remove those characters from the string. When this parameter is blank, it is replaced by the default soft descriptor defined in the PagBrasil Dashboard. If there's no default soft descriptor defined in the dashboard, this parameter is replaced by the merchant commercial name.

...

Field

Description

Length

secret

Secret phrase as defined in the PagBrasil Dashboard

128

payment_method

D = Debit card

1

order

Order number

64

amount_brl

Amount in Brazilian Real

7.2

payment_status

A = Authorized
F = Failed
P = Refund Processed (see item 6.2)
J = Refund rejected (see item 6.2)

1

error_code

Used when order_status equals equal to PF.

See table in item 7.

2

signature

HMAC-MD5 hash that authenticates the IPN.

See note "b"   

32

...