Test environment
This section describes how to test your integrations in the XPay test environment.
Overview
During the implementation phase of the integrations, as well as in the plugin tests, a test area is made available, with the data necessary to make calls to XPay and payment cards to simulate purchases, in particular:
- Api-Key: the apikey is the key and identifying parameter of the merchant's terminal, which must be passed in the header of each API call. XPay provides a series of apikey divided by usable functionality. In production, this key can be recovered from the merchant's back office.
- Payment cards: in the test area it is possible to use specific cards to simulate positive or negative payments.
It is always recommended to run tests before going into production. Also for plugins, Nexi invites you to carry out payment tests to verify that there are no problems with the notifications sent by Nexi servers, which could be filtered by firewalls or other systems; to verify that there are no incompatibilities with third party plugins installed in the CMS.
At this stage, in case of integration difficulties or errors returned by the plugins, please refer to the support contacts at the bottom left.
XPay Intesa - Payment Cards
in the test area, it is possible to use specific cards to simulate positive or negative payments. Below are the cards that can be used to make payments in the test area.
| Schema | Card No. | Expiry date | CVV | Result |
|---|---|---|---|---|
| Visa | 4595 9800 0882 4993 | 03/2027 | 298 | OK |
| Visa | 4595 9800 0883 9496 | 03/2027 | 301 | OK |
| Mastercard | 5251 6693 4000 3331 | 11/2029 | 516 | OK |
| Mastercard | 5251 6693 4000 0758 | 11/2029 | 649 | OK |
| Visa | 43499 4019999 7007 | 12/2028 | 829 | KO |