To configure the payment module:
- Go to the Components > Virtuemart menu.
- Select Payment methods in Virtuemart admin panel.
- Click on the New (+) button.
Fill in the payment module information as follows:
- Payment mode name: Lyra.
- Published: Yes.
- Payment description: Payment by credit card.
- Payment method: Select VM-Payment, Lyra multi payment.
- Shopper group: Select the shopper group you would like to offer the payment to, it is recommended to leave the Default value.
- List order: Leave empty or modify depending on the desired display order.
Click on the Save button then click on the Configuration tab.
|Logo|| Click the Browse button to access your hard drive and thus select the logo of your choice to modify it. |
The buyer will see this logo when choosing a payment method.
Allows to enable or disable module logs.
This parameter is disabled by default.
|Fee per transaction||Charges extra fees when this payment method is chosen.|
|Percentage of the total amount||Applies a markup on the total amount of the order when this payment method is chosen.|
|Tax||Tax to apply when this payment method is chosen.|
|Access to the payment gateway|
|Shop ID||Indicate the 8-digit shop ID, available in your Expert Back Office (Menu: Settings > Shop > Keys).|
|Test key||Specify the test key available via your Expert Back Office (Menu: Settings > Shop > Keys).|
Specify the production key available in your Expert Back Office (Menu: Settings > Shop > Keys).
Allows to indicate the operating mode of the module ( TEST or PRODUCTION).
The PRODUCTION mode becomes available only after the test phase has been completed.
The TEST mode is always available.
|Signature algorithm|| Algorithm used to compute the signature of the payment form. |
The algorithm must be the same as the one configured in the Expert Back Office ( Settings > Shop > Keys).
If the algorithm is different, the parameter will have to be modified via the Expert Back Office.
|Instant Payment Notification URL|
URL to copy in your Expert Back Office ( Settings > Notification rules > Instant Payment Notification URL at the end of the payment > Instant Payment Notification URL of the API form V1, V2 menu).
For more information, see the chapter and the sub-chapters on Configuring the notification URL.
|Payment page URL|
This field is pre-populated by default: https://secure.lyra.com/vads-payment/
This option allows to choose the default language of the payment page in case the language of Virtuemart is not supported by Lyra Collect.
If the language(s) used by the Virtuemart is (are) implemented into Lyra Collect, the payment page will be displayed in the language of Virtuemart when the buyer clicks on “Pay”.
Allows to customize the language displayed on the payment page.
The buyer will be able to select a language when he or she is redirected to the payment page.
If you do not select any language, all languages will be displayed on the payment page.
To select a language, press and hold the “ Ctrl ” key and click on the desired languages.
Available languages:German, English, Chinese, Spanish, French, Italian, Japanese, Dutch, Polish, Portuguese, Russian, Swedish, Turkish.
Indicates the delay (in days) before the capture.
By default, this parameter can be configured in your Expert Back Office (menu: Settings > Shop > Configuration - section: Capture delay).
It is recommended to not populate this parameter.
Back Office configuration: Recommended value.
Allows to use the configuration defined in the Expert Back Office (menu: Settings > Shop > Configuration section: validation mode).
Automatic:This value indicates that the payment will be captured in the bank automatically without any action on the merchant’s part.
This value indicates that the transactions will require manual validation by the merchant via the Expert Back Office.
Warning : if the transaction is not validated by the merchant before the expiration date of the authorization request, it will never be captured in the bank.
This field allows to select the cards logo to be displayed on the payment page.
The payment types offered to the buyer on the payment page depend on the contracts and options associated with your Lyra Collect offer.
It is recommended to leave this parameter empty.
|Payment in installments|
Amount of the first installment, expressed as a percentage of the total amount.
For an amount of EUR 100 in 3 installments, you can
set the percentage of the first payment at 50% of the
amount. This means that the amount of the
first installment will be EUR 50 an that the two
others will be of EUR 25.
For 50% enter 50.
If you want the amount of every installment to be the same, leave this field empty.
Number of installments:
3 for payment in 3 installments
4 for payment in 4 installments
|Period||Period (in days) between each installment.|
|Minimum amount||This field defines the minimum amount for which you wish to offer this payment method.|
|Maximum amount||This field defines the maximum amount beyond which you do not wish to offer this payment method.|
|Return to shop|
This option allows to automatically redirect the buyer to the merchant website. This option depends on the following settings.
This option is disabled by default.
During the redirection to the shop, these parameters are returned to the shop in GET or POST modes.The GET mode is more convenient for the buyer as it allows to prevent the browser from displaying a pop-up window that indicates that the buyer is leaving an https environment for an http environment which obliges the buyer to click on “Accept” to return to the shop.
|Time before redirection (success)||If the automatic redirection option is enabled, you can define the delay in seconds before your buyer is redirected to your shop in case of a successful payment.|
|Message before redirection (success)|
If the automatic redirection option is enabled, you can define the message that will appear on the screen following a successful payment before your buyer is redirected to the shop.
The default message is:
“Redirection to the shop in a moment”.
|Time before redirection (failure)||If the automatic redirection option is enabled, you can define the delay in seconds before your buyer is redirected to your shop in case of a failed payment.|
|Message before redirection (failure)|
If the automatic redirection option is enabled, you can define the message that will appear on the screen following a failed payment before your buyer is redirected to the shop.
The default message is:
“Redirection to the shop in a moment”.
|Order status (payment accepted)||Select the Registered orders status. It is recommended to leave the default value.|
|Order status (payment declined)||Select the status to apply to failed orders. It is recommended to leave the default value.|
Once you have completed the configuration, click Save.