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?

All versions of paytrail-for-woocommerce with dependencies

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

Paytrail is a payment gateway that offers 20+ payment methods for Finnish customers.

The payment gateway provides all the popular payment methods with one simple integration. The provided payment methods include but are not limited to credit cards, online banking and mobile payments.

To use this extension, you need to sign up for a Checkout Finland account. Transaction fees will be charged for every transaction. Transaction cost may vary from merchant to merchant, based on what is agreed upon with Checkout Finland when negotiating your contract. For more information and to register, please visit our website or contact [email protected] directly.

We employ the industry's best security practices and tools to maintain bank-level security for merchants and end customers. Paytrail is PCI DSS Level I and GDPR compliant.

Upon checkout, customers are redirected to the Paytrail payment service. The customer enters his or her payment information directly into our secure environment so that the web shop never comes into contact with the customers payment data. Once the payment process is complete, customers will redirected back to your store. Tokenization is used to run transactions with stored payment information. No confidential card data is ever stored on your server.

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

Version
Requires php Version >=7.3
paytrail/paytrail-php-sdk Version >=2
ext-mbstring Version *

The package paytrail/paytrail-for-woocommerce contains the following files

Loading the files please wait ....