composer require postfinancecheckout/magento-2
If you don’t already have one, create a PostFinance Checkout account and set up a space by following the setup assistant.
Update the composer.json
file in your Magento stores root directory and wait for Composer to finish updating the dependencies.
composer require postfinancecheckout/magento-2
Enable the extension and clear the static view files.
bin/magento module:enable PostFinanceCheckout_Payment --clear-static-content
Register the extension and initiate the database migrations.
bin/magento setup:upgrade
Recompile the Magento project.
bin/magento setup:di:compile
Clear the Magento store’s cache.
bin/magento cache:flush
Navigate to Stores → Configuration → Sales → PostFinance Checkout Payment in your Magento store’s backend and in the section General enter the PostFinance Checkout application user’s access information that you created before.
You need to switch the configuration store view 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.
Most of the payment method configuration is done in PostFinance Checkout. After following the steps of the previous steps, the PostFinance Checkout 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.
Make sure that you followed the Configuration section by stating your PostFinance Checkout 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.
All these configurations are done directly in PostFinance Checkout. For more information have a look at the PostFinance Checkout documentation.
If you need help, feel free to contact our support.