PayPal payment

Search for Lyra Collect - PayPal payment and select it and click on Enable.

Once the module activated, click on Lyra Collect PayPal payment > Enable payment method: Lyra Collect - PayPal payment.

For the merchant

The process of adding the PayPal payment option to your merchant website is simple. It consists in:

  • Creating a PayPal account if you do not have one.
  • Using a PayPal account if you have one.
  • Enabling the Payment via PayPal option with the help of your payment gateway sales representative.

For the buyer

Signing up to PayPal is free and is done on the PayPal website. The buyer must:

  • Create a PayPal account by entering an e-mail address and a password.
  • Fill in all his or her personal details, address, etc.
  • Fill in all the credit card details.
Access to the payment gateway
Shop ID Specify 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).
Production key

Specify the production key available in your Expert Back Office (Menu: Settings > Shop > Keys).

Mode

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).

Payment page URL

This field is pre-populated by default: https://secure.lyra.com/vads-payment/

Payment page
Default language

This option allows to choose the default language of the payment page in case the language of Drupal_Commerce is not supported by Lyra Collect.

If the language(s) used by the Drupal_Commerce is (are) implemented into Lyra Collect, the payment page will be displayed in the language of Drupal_Commerce when the buyer clicks on "Pay".
Available languages

Allows to customize the language displayed on the payment page.

Buyer will be able to select a language when he is redirected on the payment page.

If you do not select any language, all the 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.
Capture delay

Indicates the delay (in days) before the capture.

By default, this parameter is managed in your Expert Back Office. (Menu: Settings > Shop > Configuration - section: Capture delay)

It is recommended to not populate this parameter.

Validation mode

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.

Manual:

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, it will not be captured in the bank.

Remember to configure the Instant Payment Notification rule on an operation coming from the Back Office to update the order status in Drupal_Commerce.

Card types

This field allows to select the cards logo to be displayed on the payment page.

Warning:

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 empty the parameter.
Selective 3DS
Restrictions
Return to shop
Automatic redirection

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.

Time before redirection (success) In case 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)

In case the automatic redirection option is enabled, you can define the message that will appear on the platform 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) In case 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)

In case the automatic redirection option is enabled, you can define the message that will appear on the gateway following a failed payment before your buyer is redirected to the shop.

The default message is:

"Redirection to the shop in a moment".

Return mode

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.
Conditions
Customer
Limit by billing address

Check the box to limit the payment module by the billing address of the customer.

Add the countries or postal codes for which you want to enable the payment module.

Limit by role

Check the box to limit the payment module by role.

Then, select roles (authenticated users, administrators...) for which the payment module is enabled.

Limit by email

Check the box to limit the payment module by customer's email.

Add the email for which you want to enable the payment module.

Order
Limit by currency

Check the box to limit the payment module by currency.

Then, select the currencies for which you want to enable the payment module.

Limit by store

Check the box to limit the payment module by store.

Then, select the stores for which you want to enable the payment module.

Limit by total price

Check the box to limit the payment module by total price.

Then, select the operator and enter the amount.

  • Greater than: The payment module will be available only if the total amount is greater than the filled amount.
  • Greater than or equal to: The payment module will be available only if the total amount is greater than or equal to the filled amount.
  • Less than or equal to: The payment module will be available only if the total amount is less than or equal to the filled amount.
  • Less than: The payment module will be available only if the total amount is less than the filled amount.
  • Equal to: The payment module will be available only if the total amount is equal to the filled amount.
Limit by type

Check the box to limit the payment module by type of order.

Then, select the type of order for which you want to enable the payment module.

Conditions

You can apply several conditions at the same time.

There are two choices:
  • All conditions must be filled in.
  • At least one condition must be filled in.
Status

Allows to enable or disable this payment method.

This parameter is enabled by default.

Once you have completed the configuration, click Save.