Redsys Integration
Registering the Redsys integration is done in two stages:
To enable this option and to see the settings, the user must belong to the "Administrators" group.
- In Settings → Settings → Integration, enable "Use Redsys payments".
- In the My Company card, a new tab will appear where you must enter the parameters provided by the bank after signing the agreement for the Redsys virtual TPV.
☑ After the connection test is completed successfully, a Redsys account is created.
In the order, the option to generate a payment link becomes available.
The link points to the gateway where the integration service operates.
The integration service generates a link with a unique number for each payment attempt according to the following rules, allowing the order number to be visible in Redsys emails and in the Redsys web interface:
-
Standard case:
0PPPPPPPP[P|X]AA, where:PPPPPPPP— order number without dots[P]— Pedido (order)X— reserved letters for other document typesAA— payment number + attempt number (letters or digits)
-
If numbering settings are used and the number is longer than 9 characters:
- The number is generated as a timestamp in milliseconds.
The gateway calls the service, which creates a payment transaction to the Redsys account and immediately links it to the order.
- The order payment status changes to
Paid.
- As a result, the payment confirmation can be viewed directly in 1C:Gestión Integral without needing to access the Redsys website or email notifications.
- You can also verify the payment status of the link simply by opening it. The system will display a message indicating that the link has already been paid.
- In the banking integration, it is possible to allocate the consolidated payment received from Redsys using the "Redsys payment" operation.
Additional Information
- It is possible to generate additional payment links for an order if new items are added after the original link has already been sent to the customer.
- In the order, under the "Redsys Payments" section, you can see the link status: paid or unpaid.
- When saving the order, unpaid links are blocked if the order amount has changed.
- This does not prevent the customer from paying links that have already been sent.
- It is possible to edit the payment amount for unpaid links.
- The "My Company" value in the order cannot be changed if there are already paid links, since the payment is linked to the account of the selected company.
- To the left of the "Create Link" button, the remaining amount to be paid is displayed:
(Current order amount - Amount of paid links)- The payment link will be generated for this amount.
- In the Redsys settings in the My Company card, you can test the connection.
- Redsys settings for a company are available only to users with the "Administrator" role.