Download the PHP package paytrail/paytrail-for-woocommerce without Composer

On this page you can find all versions of the php package paytrail/paytrail-for-woocommerce. 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 paytrail-for-woocommerce

Paytrail for WooCommerce

Paytrail payment service for WooCommerce

Required WordPress version: 4.9
Required WooCommerce version: 3.5
Required PHP version: 7.3

Accept all popular payment methods for Finnish B2C and B2B customers with one agreement and one plugin.

Paytrail provides you with:

To use this plugin, first register for a Paytrail account.

For pricing, please visit our website.

Installation

From WordPress plugin directory

Open WordPress Admin panel and go to Plugins -> Add New. Search for Paytrail for WooCommerce, click install and then activate.

After installation go to WooCommerce -> Settings -> Payments and select "Manage" next to Paytrail for WooCommerce to review settings.

Via Composer

  1. If you have Composer installed:
    • You can use the command line to install the plugin:
  1. Activate the plugin.
  2. Go to WooCommerce Settings and open Payments tab.
  3. Enable Paytrail for WooCommerce with the toggle switch.
  4. Configure your own Checkout Finland payment service settings.

Updating from Checkout Finland

Checkout Finland for WooCommerce plugin has been deprecated.
All of its functionality now exists as the rebranded Paytrail for WooCommerce plugin.

Update instructions

  1. Install Paytrail for WooCommerce (see previous chapter)
  2. Go to WooCommerce Settings and open Payments tab
  3. Disable the old Checkout Finland for WooCommerce payment method

Warning! Removing previous plugin results in payments made with Checkout Finland not refundable through WooCommerce. Payments can still be refunded through Paytrail’s Extranet.

Please also note that the module configurations will not carry over from the old plugin. You will need to reapply them yourself. This also applies to the payment page customizations. Certain classes, functions and CSS classes have also been renamed and any third party customizations will have to be revised.

You can move card tokens from the old plugin by enabling Token migration in the new plugin's settings. This will also update tokens for the WooCommerce Subscriptions orders, if module is in use.

Configuration

There are several settings you can configure via the options page.

Test mode

If test mode is enabled, your store will automatically use Paytrail's test credentials.

Debug log

Enable logging all payment gateway events. Recommended only for debugging purposes as this might save personal data.

Payment provider selection

Choose whether you want the payment provider selection to happen on the checkout page or on a separate page.

Merchant ID and Secret key

Your Paytrail credentials. You can obtain the keys by registering at our website or contact [email protected] directly.

Fallback Country

Setup fallback country to be used if no country is provided from Woocommerce checkout. Use only if billing_country/shipping_country is removed from checkout fields.

Token migration

Choose this to update card information (tokens) from the old Checkout Finland for WooCommerce -plugin. The update is done upon saving settings.

Router

Callback Routes

Permalinks enabled:

Success: /paytrail-payment-service/callback/index
Cancel: /paytrail-payment-service/callback/index

Permalinks disabled:

Success: /index.php?paytrail-payment-service-route=callback&paytrail-payment-service-action=index
Cancel: /index.php?paytrail-payment-service-route=callback&paytrail-payment-service-action=index

Disclaimer: This open source plugin is provided to help merchants get started with our payment service. However, we do not offer any warranty or guarantee that the plugin will work as intended and provide limited support for it. Use at your own risk.


All versions of paytrail-for-woocommerce with dependencies

PHP Build Version
Package Version
Requires php Version >=7.3
ext-mbstring Version *
paytrail/paytrail-php-sdk Version ^2.7.3
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 paytrail/paytrail-for-woocommerce contains the following files

Loading the files please wait ....