Download the PHP package checkout-finland/checkout-finland-for-magento-2 without Composer

On this page you can find all versions of the php package checkout-finland/checkout-finland-for-magento-2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package checkout-finland-for-magento-2

Checkout Finland Magento 2 Module

Checkout Finland's payment methods for your Magento 2 web store

DEPRECATED

This extension has been deprecated. All of its functionality now exists as the rebranded paytrail/paytrail-for-adobe-commerce module. It is advised to upgrade to the new module.

Updating to Paytrail for Adobe Commerce

Updating from this module requires manual installation.

Warning! Removing op-merchant-services/op-payment-service-for-magento-2 results in payments made with Checkout Finland not refundable through Magento Admin. Payments can still be refunded through Paytrail’s Extranet.

  1. Follow the installation instructions of paytrail/paytrail-for-adobe-commerce found here.
  2. Navigate to Adobe Commerce admin interface and select Stores -> Store Configuration -> Sales -> Payment Methods -> Checkout Finland
  3. Change Enabled to No to disable Checkout Finland payment method on checkout page

Please note that the module configurations will not carry over from Checkout Finland to Paytrail for Adobe Commerce! You will need to save these values and reapply them yourself. This also applies to the Payment Page Personalization settings!
Certain classes, functions and CSS classes have also been renamed and any third party customizations will have to be revised.

Always perform a backup of your database and source code before installing any Magento 2 extensions.

This module has been tested on Magento 2.4.2, 2.4.1 and 2.3.X {community|commerce} versions. Support for 2.2.X has ended and compatibility with older versions cannot be guaranteed.

Magento system requirements per tested version can be found on https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements.html

Features

This payment module has the following features:

Installation

Via Composer

After introducing Checkout Finland PHP-SDK in version 1.2.0, the module only supports installation via composer.

Steps:

  1. Make sure that you have Magento file system owner rights.
  2. Navigate to your Magento root folder on the command line and enter:
  3. If your credentials are asked, enter your Magento marketplace access keys.
  4. Enter command:
  5. Run the following commands:



  6. Navigate to Magento admin interface and select Stores -> Store Configuration -> Sales -> Payment Methods -> Checkout Finland
  7. Enter your credentials and enable the module (Test credentials: 375917 - SAIPPUAKAUPPIAS)
  8. Clear the cache

Usage

The module settings can be found from: Stores -> Configuration -> Sales -> Payment Methods -> Checkout Finland

The module has the following settings:

Refunds

This payment module supports online refunds.

Steps:

  1. Navigate to Sales -> Orders and select the order you need to fully or partially refund
  2. Select Invoices from Order View side bar
  3. Select the invoice
  4. Select Credit Memo
  5. Define the items you want to refund and optionally define an adjustment fee
  6. Click Refund

Canceled order payment email notification

If the customer closes the browser window right after completing the payment BUT before returning to the store, Magento is left with a “Pending payment” status for the order. This status has a timeout, so if the payment confirmation does not arrive within 8 hours of the purchase, Magento automatically cancels the order. Checkout Finland informs Magento of a payment that has gone through, but it may take over 8 hours.

When the confirmation is finally made, Magento registers the transaction to the order and changes the order status to Processing. But since the stock may have changed in the interim, the items are still cancelled. The merchant will receive an email informing about the payment that has gone through, but they have to manually go to said order, make sure the items are still available, and click “Restore order” to be able to ship it.

Adjust the timeout
The timeout period of 8 hours can be adjusted in Magento configuration. A longer period may allow for Checkout Finland to confirm the order before it gets canceled, but it also reserves the stock for that exact time.

  1. Go to Stores -> Configuration -> Sales -> Sales -> Orders Cron Settings
  2. Adjust the Pending Payment Order Lifetime (minutes) value to your liking.

Order status

Pending Payment
Assigned to an order when customer is redirected to the payment provider of their choosing.

Pending Checkout
Assigned to an order if Checkout Finland is still waiting for a confirmation of payment. Applies to invoices, such as Collector.

Processing
Assigned to an order once payment is completed and items are ready for shipping.

Canceled
Assigned to an order if Pending Payment status has been active for over 8 hours.

Available statuses:

Multiple stores

If you have multiple stores, you can set up the payment module differently depending on the selected store. In configuration settings, there is a selection for Store View.

By changing the Store View, you can define different settings for each store within the Magento 2 instance.

Rounding problems with certain providers (Collector)

In some cases, this module might send a so-called "rounding-row" item in the order data, which might result in an error if this value is negative (this has been observed with Collector method). This is related to how Magento calculates and rounds taxes and how this module compensates for possible mismatches between the total and sum of individual items.

There are three algorithms for tax calculation in Magento which can be set in Stores -> Configuration -> Sales -> Tax -> Tax Calculation Method Based On

If the described error occurs when the calculation algorithm is Total based, changing it to Unit Price based might result in tax calculation with no mismatches.

Note: Changing the setting does not mean that the Unit Price based algorithm is better than Total or Row Total based, all three can have rounding issues in certain situations that can be resolved by choosing one of the other algorithms. The algorithms end up with the same calculations majority of the time.


All versions of checkout-finland-for-magento-2 with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1
checkout-finland/checkout-finland-php-sdk Version 1.5.*
ext-curl Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package checkout-finland/checkout-finland-for-magento-2 contains the following files

Loading the files please wait ....