lyra.com
Search
Categories
Tags
Europe (English)
France
Spain
Europe (English)
India
Home
Implementation
Embedded form
Hosted payment page
REST payment API
Webservices implementation guide
File exchange payment
Mobile payment
Marketplace
Helpers and tools
Free payment plugins
Snippets
Back Office
Back Office Expert
Back Office Merchant
Guides
Help
FAQ
Support

Proceeding to test phase

Before the shop goes into production, it is necessary to carry out tests to make sure that the merchant website and the payment gateway function properly.

Test payment requests must be made with:

  • Test password
  • Public test key
  • HMAC-SHA-256 test key

Several payment cases can be simulated using the test card numbers provided in the debug bar, Test cards tab. The merchant will be able to test the different 3D Secure authentication results (if the Merchant is 3DS-enrolled and the 3DS option is not disabled).

The list of tests to be performed for generating the production key is provided in the Expert Back Office, Settings > Shop > REST API keys menu.

Each line of the list groups together the card numbers associated with the same scenario (i.e. 2 accepted payments and 2 refused payments).

Each column corresponds to a different card type: CB/VISA, MASTERCARD, MAESTRO, VISA ELECTRON).

To perform the test phase:

  1. Place an order on your merchant website as if you were one of your buyers.

  2. Once the form is displayed, click the Test cards tab of the debug bar and select the type of card you want to use.

  3. Refer to the test list to identify the number of the card to be used.

  4. When a test is validated, its status on the list is updated. Use the Refresh the table button if the status has not refreshed automatically.

  5. Once the 4 tests have been validated, the Generate the password and the HMAC-SHA-256 production key button becomes available.

  6. Click Generate the password and the HMAC-SHA-256 production key and accept the various warning messages.

The HMAC-SHA-256 key and production password are now available.

Shift the shop to PRODUCTION mode

  1. Change your implementation to use:
  • The production password.
  • The public production key.
  • The HMAC-SHA-256 production key for calculating the signature contained in the kr-hash field.
  1. Enter the notification URL correctly at the end of the payment in PRODUCTION mode via the Settings > Notification rules menu.

The TEST mode remains available even after the generation of the production key.

Making the first production payment

We recommend you to check the two following aspects:

  • Proper functioning in an end-to-end production environment.

To do so, make a real transaction of at least €2.

This transaction can be cancelled later from the Expert Back Office via the Management > menu; Transactions > Pending Transactions tab. This transaction will not be presented in bank.

However, it is recommended to let the transaction be captured in order to confirm that the merchant's account has been credited. It will then be possible to make a refund.

  • The proper operation of the IPN (Instant Payment Notification at the End of Payment) specified in the Expert Back Office.

Display the transaction details in the Expert Back Office and check that the Status of the Instant Payment Notification is Sent .

Recruitment

Head Office :

LYRA NETWORK
109, rue de l’innovation
31670 Labège
FRANCE