composer require wallee/magento-2-2
If you don’t already have one, create a wallee account.
composer.json file in the root directory of your Magento store and wait for Composer to finish updating the dependencies.
composer require wallee/magento-2-2
Enable the extension and clear the static view files.
bin/magento module:enable Wallee_Payment --clear-static-content
Register the extension and initiate the database migrations.
Recompile the Magento project.
Clear the Magento store’s cache.
Navigate to Stores → Configuration → Sales → wallee Payment in your Magento backend and in the section General enter the wallee User ID and Authentification Key that you can create in the setup assistant. Alternatively, you can manually create an application user.
You need to switch the configuration scope to Main Website to enter the space id.
After saving the configuration, the payment methods are created in the Magento store and the necessary webhooks are set up.
The setup is now finished. You should see the payment methods in your checkout. To view the payment method configuration in the backend of Magento go to Stores → Configuration → Payment Methods. Make sure you are in the Website configuration scope to view the payment methods.
Most of the payment method configuration is done in wallee. After following the steps of the previous steps, the wallee payment method configurations will be synchronized automatically into the Magento store. There are just a few payment method settings in the Magento store in Stores → Configuration → Sales → Payment Methods.
The wallee payment method configurations are synchronized automatically into the Magento store. There are just a few payment method settings in the Magento store in Stores → Configuration → Sales → Payment Methods. To see the wallee payment methods, you need to switch the configuration scope to Website
Additional payment methods are directly added in wallee. This can be done in the setup assistant. Changes are synchronized automatically.
If you want to change the payment method description, title, logo, etc you need to do this in the payment method configuration. Changes will be synchronized automatically.
The Payment Process of wallee is completely standardized for every payment method you can process. This gives you the ability to simply add a payment method or processor without changes inside of your Magento configuration. An overview about the states and the payment processes of wallee can be found in the Payment Documentation.
In the following section we provide you an overview about how the wallee states are mapped into the Magento State graph for orders and invoices.
Below you find a diagram that shows the state machine of Magento for orders including additional information for the state transitions.
Below you find a diagram that shows the state machine of Magento for Invoices including additional information for the state transitions.
You can capture, cancel and refund transactions directly from within the Magento backend. Please note if you refund, void or capture transaction inside wallee the events will be synchronized into Magento. However, there are some limitations (see below).
You have the possibility for your transactions to have the invoice created and the payment only authorized after the order is placed. Inside the connector configuration you have the option, if the payment method supports it, to define whether the payment should be completed immediately or deferred.
In order to capture a transaction, open the invoice and click on
|When the completion is pending in wallee the invoice will stay in pending state.|
In order to void a transaction, open the invoice and click on the
cancel button. This will cancel the invoice and void the transaction.
|You can only void transactions that are not yet completed.|
You have the possibility to refund already completed transactions. In order to do so, open the invoice of the captured order and click on
Credit Memo. In case the payment method does not support refund, you will not see the possibility to issue online refunds.
You can make refunds based on product quantity. In order to do so, enter the amount of products you wish to refund to your customer.
You can carry out as many individual refunds as you wish until you have reached the quantity of the original order. The status of the order then automatically switches to complete.
|It can take some time until you see the refund in Magento. Refunds will only be visible once they have been processed successfully.|
As long as the delivery should not be done the state of the order will be in
On Hold. This happens when the transaction in wallee
has not reached the fulfill state.
There are essentially two reasons why this can happen:
The transaction is not completed. In this case you have to complete the transaction as written above.
As long as we are not able to tell you if you should fulfill the order. The delivery decision is done automatically. If this does not happen within the defined time frame, wallee will generate a manual task which you should observe and follow the instructions. When there is a manual task we will also display it in the Magento Backend.
You can find more information about manual tasks in our Manual Task Documentation.
Please note that captures, voids and refunds done in wallee are synchronized. However, there are some limitations. Inside wallee you are able to change the unit price and the quantity at once. This can not be done in the Magento backend. We therefore recommend that you perform the refunds always inside the Magento backend and not inside wallee. If a refund cannot be synchronized it will be sent to the processor but it could be that you do not see it inside your Magento backend.
You can find more information about Refunds in wallee in our Refund Documentation.
In case the payment method supports tokenization you can store the payment details of your customer for future purchases.
In order to use this feature make sure that the One-Click-Payment Mode in your payment method configuration is set to
|Tokenization is not available for guest checkouts.|
You can create orders inside Magento also from the Magento Backend. If you create the transaction from the backend and select a payment method created by wallee then we are using the Charge Flow Feature of wallee. This means that we first check if the payment method allows to charge the customer without customer interaction (i. e. invoice). If not and you did not select from the dropdown to use a token with stored payment information we are going to trigger the charge flow process you configured to ask the buyer for the payment details.
You can find more information about charge flows in our charge flow documentation.
Make sure that you followed the Configuration section by stating your wallee space ID and application user’s access information in the Magento backend. By saving the configuration form the synchronization of the payment methods and the set up of the webhooks are initiated.
If this does not solve the problem, it could be that you use a special fee or coupon module that we do not support. Try to disable this plugin and see if it helps. The payment methods are only displayed if the plugin’s total calculation matches the actual order total.
Our wallee Magento 2 Plugin supports the major one-step checkouts out of the box. In case you use one of the listed checkouts below we can guarantee operability with the latest build of the plugin.
The following OneStepCheckout for Magento 2 are supported:
If you need help, feel free to contact our support.