Skip to main content

Test Data

Specific tests for collection payments

This section provides an overview of the information needed to make test payments and obtain all possible transaction outcomes. A detailed table lists the parameters and configurations required to simulate different payment scenarios, allowing for accurate verification of the system's operation.

The goal is to support developers and testers in managing test transactions, ensuring a complete analysis of the system's responses in different scenarios.

As is known, if the credit account is a Fabrick account (for example, Banca Sella), it will also be possible to test the case of a payment reconciled on the account itself, a test that will not be possible in the case of accounts at other banks.

Obviously, the credential sets refer to the debtor banks, so the tests refer to the collection payment mode.

Test cases are, of course, only available in the pre-production environment.

  • bank: identifies the name of the debtor bank

  • product: type of payment, sepa-credit-transfers or instant-sepa-credit-transfers

  • amount: transfer amount

  • status: final payment status to be obtained at the end of the test.

  • threshold: time after which the final status indicated in the status column will be reached. The time interval is indicated in seconds.

In all cases, if the payment flow is not completed within 5 minutes, the KO status will be returned.

Example

Suppose we want to test the positive case, for example a successful instant credit transfer. The credit account is Banca Sella.

In this case, it will be sufficient to refer to the table in the first paragraph, which shows that the first two rows satisfy the conditions indicated above. Both are identical, so I can decide whether to use Banca Sella or Banca Popolare di Sondrio. I will need to pay attention to the amount, since it will be necessary to set the amount variable to €1.

I will then proceed with the payment flow and, depending on the bank chosen, enter the relevant credentials indicated in the "Credentials" section.

By making this type of payment, after 45 seconds the status will be converted to executed, i.e. OK.

# TestProductBankUserIBAN in inputAmountThreshold (s)PSD2 Status
1instant-sepa-credit-transfersMockuser05noany value0EXECUTED
2instant-sepa-credit-transfersMockuser04no2-20-20060PENDING -> EXECUTED
3instant-sepa-credit-transfersMockuser04no5-50-50060PENDING -> REJECTED
4instant-sepa-credit-transfersMockuser06IT...114any value0REJECTED
5sepa-credit-transfersMockuser05noany value0EXECUTED
6sepa-credit-transfersMockuser04no2-20-200120PENDING -> EXECUTED
7sepa-credit-transfersMockuser04no5-50-500120PENDING -> REJECTED
8sepa-credit-transfersMockuser06IT...114any value0REJECTED
9instant-sepa-credit-transfersMockuser04no3-30-30060PENDING -> SETTLED
10sepa-credit-transfersMockuser04no3-30-300120PENDING -> SETTLED
11instant-sepa-credit-transfersMockuser04IT...11212260PENDING -> SETTLED
12sepa-credit-transfersMockuser05IT...212152120PENDING -> SETTLED

Additional notes:

  1. The test cases where the final status is settled are only available if the credit account is an account managed by Fabrick (for example Sella or Fabrick). The behavior is therefore identical to that of production, since the service setup configurations are different.

  2. user05 allows simulating IBAN selection, i.e. the choice between two IBANs. This behavior is only available in redirect mode as per the directives. Only for testing purposes has it been decided to also leave the embedded case functional, obviously without allowing the IBAN choice.

  3. The "IBAN in input" column indicates whether the case requires an IBAN as input or not, i.e. whether it is necessary to pass the IBAN in the body of the request (in any of the various modes made available by the product). In the required cases, in the absence of an IBAN it will not be possible to complete the payment flow, while in the others the rule will not be enforced.

Credentials

BankIBANUsercodePasswordOTP methodOTP
MockIT32X3615900000000000000112user04passwd04SMS11111111
MockIT09Y3615900000000000000113,
IT41K3615900000000000000212
user05passwd05SMS22222222
MockIT83Z3615900000000000000114user06passwd06SMS33333333

Generic test cases for AIS and PIS

This section lists additional sandbox credential sets that can be used for both the aggregation and the payments parts.

BANKSERVICE CODEUSERNAMEPASSWORDOTP
Mockuser01passwd0112345678
Mockuser02passwd0223456789
Mockuser03passwd0334567890
Credem13384000000Ab!123456
Intesa San PaoloRetailHYND34G754321any 6 digits
664266620897
JYBD3W7Z15896any 6 digits
Cassa Rurale di TrentoINBANK07391366Test07391366automatic
BPERSMART6556169365561693not required
BANCO BPMINTERNET BANKING PER CLIENTELA PRIVATA12345671234567any 6 digits
76543217654321any 6 digits
CREDITO EMILIANO (CREDEM)RETAIL (Privati e Famiglie)13384000000Ab!123456
BUDDY BANKALLituser1bgkpwituser1bgkSee Notes
UnicreditALLituser2bgkpwituser2bgkNot required
MONTE DEI PASCHI DI SIENAretail (Single Account)4542132312344321000000
retail (Multi Accounts)3944289812344321000000
BANCA GENERALIIB0010214-77pswpsw01Not required

The mock bank is a bank managed by Fabrick; in case of malfunctions, please report it via ticket so that it can be resolved immediately.

As for the other banks, we would like to clarify that they are entirely managed by the reference gateway. We have noticed that these accounts are sometimes under maintenance and/or not working for a short period. In case of error, it is therefore recommended to continue testing using another account and try again later with the previous one. In case of prolonged malfunction, it will be possible to open a Jira ticket with our Service Desk, which will forward the request to the relevant gateway. As for the payments part, for example, the final status is often a constant and therefore the payment will not go through the various states up to the final one; for this reason, for collection payment tests it is advisable to use the previous specific section.