- No pages viewed yet
This is an old revision of the document!
This installation guide shows the step-by-step installation of the plugin to your installed shop system on your web server. Please test your online shop and the configuration of the plugin on a test system before installing the plugin on your production system.
The installation needs to be done in the command line. Download the plugin via composer.
composer require wirecard/magento2-wcp
There are two ways the plugin can be enabled, via command line or in the Magento 2 Setup Wizard.
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy php bin/magento cache:clean # Depending on your server configuration you might want to use the following command chown -R www-data:www-data .
Navigate to “System” → “Web Setup Wizard” → “Component Manager”.
Search for the extension Wirecard_CheckoutPage and enable it.
Follow the wizard and wait.
Next you need to navigate to “Stores” → “Configuration” → “Sales” → “Wirecard Checkout Page”.
For a basic configuration enter your customer ID, shop ID and your secret and set the URL to imprint page. You can additionally go over the settings and configure the plugin according to your requirements. Please refer to the section advanced configuration for a more detailed description about the configuration possibilities.
To enable the payment methods navigate to “Stores” → “Configuration” → “Sales” → “Payment Methods”.
To verify the installation please check if all selected payment methods are shown at checkout.
As described in Step 2 the plugin allows for some additional customization.
Automated deposit: To prevent the expiration of uncaptured payments you may select this feature which enables an automated deposit and day-end closing of payments. Please contact our sales teams to enable this feature. If you select this feature without previous enabling you will get an error message.
Payment method sort order: The payments can be sorted in the order of the “Payment method sort order”. The payment with the smallest number entered in this field will be displayed first. You may take into consideration which payments are mostly used by your consumer and which payments you want your consumers to use and thus sort the payment methods accordingly.
If this feature is enabled the plugin automatically identifies the consumer device (either desktop, smartphone or tablet). If a mobile device is identified, the corresponding request parameter
layout is automatically set to the value
smartphone and Wirecard Checkout Page is optimized for the corresponding mobile device.
To improve usability for smartphones and tablets, the plugin automatically disables the embedding in an iframe on tablets and smartphones and redirects the consumer to Wirecard Checkout Page. After the payment process is completed, your consumer is redirected to your online shop.
Please contact our sales teams if you wish to use the feature in your Magento online shop.
To use the payment methods “invoice” or “installment” you must enable the input field “date of birth” for your consumers in your Magento configuration. To enable the field please navigate to “Stores” → “Configuration” → “Customers” → “Customer Configuration” → “Name and Address Options” and set “Show Date of Birth” to “Required”.
“Invoice” or “installment” are only visible if the criteria defined in your contract concluded with the relevant financial institution (e.g. payolution or RatePAY) are met. For more information please check the payment method specific documentation for your invoice / installment provider:
Why is the “Order with obligation to pay” text not translated?
Because the text is cached. Delete the file
pub/static/frontend/Magento/luma/[YOUR_LANGUAGE]/js-translation.js. For example, German
[YOUR_LANGUAGE] would be