PostFinance for WooCommerce Plugin

The plugin datatrans for WooCommerce connects your online shop with the Swiss e-payment provider datatrans and adds 30 different payment methods to your online shop.

All essential payment gateways in one plugin

The plugin supports not only all common payment methods such as credit card, PostFinance and TWINT but also other useful forms of payment such as Swisscom Easypay and Migros Bank. All payment methods can be activated separately or combined in one payment method. Apart from this plugin you will need a datatrans account and contracts with the different payment service providers to use the payment methods. You can find a list of all payment methods further down. Notice: some payment methods can only be used with certain currencies.

Two transaction modes

The transaction can be processed with two different modes: The redirection mode redirects the customer to the website of datatrans while the lightbox mode allows you to implement the payment form directly in your website. This way the customer will never leave your website during the payment process (except for the 3D check). Credit card data will never be processed on your server and are directly sent to datatrans via an embedded iFrame, which makes the payment process PCI conform.

Transaction management

You can manage your transactions directly form the WooCommerce order administration screen without logging into the datatrans account. This allows you to settle or cancel transactions and retrieve the status of a transaction. Furthermore, you can sell subscription products with automatic renewals (available for certain payment methods) together with the separately available plugin WooCommerce Subscriptions.

Plugin updates are available on the plugins screen of your WordPress backend after activating the license.

Features

  • Adds various payment methods such as credit card, TWINT, PostFinance, Maestro to your online shop.
  • Secure transmission of order data to datatrans.
  • Automatic payment processing via two different modes: redirection and lightbox.
  • Connect multiple online shops to the same datatrans account (multiple licenses needed).
  • 30 different WooCommerce payment methods.
  • Administration of transactions directly from within your WordPress backend.
  • Automatic subscription renewals (WooCommerce Subscriptions required).
  • Compatible to WooCommerce 7.x – 9.x, WordPress 4.4 – 6.x.
  • Compatible with WooCommerce HPOS.
  • The license grants you updates and support (by email) for one year for the number of websites the license is valid for.
  • The plugin will not be locked when a license expires and you are allowed to use it for the number of websites the license was initially purchased for but only a valid license guarantees that the plugin works flawlessly in the future.
  • Documentation in English and German.
  • Compatible with WPML.
  • Plugin in English and German.
  • Supports all currencies supported by datatrans.
  • Update your plugin directly from the WordPress backend.
  • Optional installation service (CHF 50.- per website/shop).
  • 30% discount if the license is renewed before it expires.

Requirements

  • WooCommerce plugin
  • Datatrans account
  • Contracts with the payment providers.
  • Valid SSL certificate (for order administration from the WordPress backend)

Payment methods

  • PostFinance eFinance
  • PostFinance Card
  • American Express
  • VISA
  • MasterCard
  • JCB
  • Diners Club
  • Discover
  • Availabill
  • Apple Pay
  • Loyalty & Gift Cards
  • Byjuno
  • Dankort
  • EPS
  • Giropay
  • Google Pay
  • iDEAL
  • Maestro
  • Migros Bank
  • PayPal
  • Paysafecard
  • Powerpay
  • Reka
  • Samsung Pay
  • SEPA (ELV)
  • Klarna
  • Klarna (ex Sofort)
  • Swissbilling
  • Swisscom Pay
  • TWINT
  • China Union Pay

License

  • The license entitles you to use the plugin for the purchased number of end products (end product: One application, e.g. one website).
  • The license includes updates and support (by e-mail) for one year for the purchased number of websites.
  • You can cancel automatic renewals of payments anytime. In this case, the license will be valid until the end of the paid period.
  • You are allowed to use the plugin for the purchased number of websites after the expiration of the license. However, the plugin is only guaranteed to work in the future with a valid license.
  • For WordPress multisite installations you need to purchase the plugin for the installed number of sites.
  • Licenses may be transferred to other natural or legal persons under the following conditions:
    • The entire license is transferred, which means that the license and the plugins associated with the license can no longer be used by the original holder of the license.
    • The new holder accepts these terms and conditions as well as all other contracts and conditions that you have agreed to in connection with the license.
  • You are not allowed to sell or distribute the plugin.
  •  x 

    Billed once per year until cancelled

  •  x 

    Billed once per year until cancelled

Pricing

  •  x 

    Billed once per year until cancelled

  •  x 

    Billed once per year until cancelled

Installation service

Setup of the plugin and connection to a datatrans account (1 website).

Documentation

Read the documentation

Info

Version: 2.7.2
Changelog

Changelog

Version 2.7.2 – 18.11.2024

  • Enhancement – Added POT file for translations.

Version 2.7.1 – 08.11.2024

  • Fix – Check if user agent is set for Apple Pay check.

Version 2.7.0 – 18.07.2024

  • Update – Send required VISA parameters.

Version 2.6.4 – 11.07.2024

  • Fix – Deprecation errors in WC_Gateway_Datatrans.

Version 2.6.3 – 19.04.2024

  • Enhancement – Added WC_Order as argument to mame_dt_response_redirect_url filter.

Version 2.6.2 – 18.04.2024

  • Enhancement – Added filter mame_dt_response_redirect_url to filter the redirect URL.

Version 2.6.1 – 02.02.2024

  • Enhancement – Removed wcs_user_has_subscription check on payment change_payment_method page for subscriptions.

Version 2.6.0 – 24.10.2023

  • Feature – Added WooCommerce HPOS compatibility.

Version 2.5.0 – 18.09.2023

  • Feature – Byjuno: automatically set customer relation based on company field.
  • Fix – TWINT: only process initial subscription payment if order amount is larger than 0.

Version 2.4.2 – 30.06.2023

  • Fix – Round formatted amount in Request_Handler.

Version 2.4.1 – 10.03.2023

  • Fix – Check if headers are sent before starting session for Byjuno.

Version 2.4.0 – 09.03.2023

  • Feature – Added option to check transaction status of pending orders.
  • Fix – Set session ID in constructor of Byjuno payment method.

Version 2.3.0 – 13.02.2023

  • Feature – Added setting to set WC orders with failed payments to status failed.
  • Feature – Added setting to set WC orders with cancelled payments to status cancelled.
  • Enhancement – WC orders with failed payments are not set to failed by default.
  • Enhancement – WC orders with cancelled payments are not set to cancelled by default.

Version 2.2.4 – 18.01.2023

  • Fix – Check if subscription order when saving payment method.

Version 2.2.3 – 17.01.2023

  • Fix – Use inline function for Polylang fix.

Version 2.2.2 – 30.12.2022

  • Enhancement – Added webhook verification.

Version 2.2.1 – 15.12.2022

  • Fix – PreventDefault for datatrans payment button.

Version 2.2.0 – 29.11.2022

  • Feature – Added payment method Klarna (KLN).

Version 2.1.0 – 16.09.2022

  • Feature – Added payment method Byjuno.

Version 2.0.0 – 01.09.2022

  • Update – Updated to datatrans API version 2.0 (JSON API).
  • Feature – Partial refunds.
  • Dev – Changed textdomain.

Version 1.12.1 – 03.05.2022

  • Fix – Redirection mode: submit payment methods as separate form fields.

Version 1.12.0 – 01.04.2022

  • Feature – Added option to change payment method of WC_Order to the one used by the customer on the datatrans payment page.
  • Enhancement – Only display subscription payment methods when payment method datatrans is selected for subscription orders.

Version 1.11.1 – 23.03.2022

  • Enhancement – Make phone number field required for Billpay, Accarda and Swissbilling.
  • Fix – Correctly pass gender in Accarda.

Version 1.11.0 – 02.03.2022

  • Feature – Added tax support for Swissbilling.
  • Fix – Only update order if not complete yet.
  • Fix – Don’t handle empty response.

Version 1.10.0 – 10.01.2022

  • Feature – Added subscription support for TWINT.

Version 1.9.0 – 30.12.2021

  • Feature – Swissbilling: send article details and tax.

Version 1.8.2 – 17.09.2021

  • Fix – Check if license status is not false before accessing array offset.

Version 1.8.1 – 22.07.2021

  • Enhancement – Added logs tab to datatrans settings.
  • Logs – Changed logs directory.
  • Logs – Log more data.

Version 1.8.0 – 21.06.2021

  • Feature – Allow partial refunds.
  • Feature – Allow refunds via WooCommerce refund button.
  • Fix – Allow refunds of already settled payments.

Version 1.7.2 – 30.12.2020

  • Fix – Use plugin name instead of item ID for update check.

Version 1.7.1 – 17.09.2020

  • Fix – Added parameter pmethod for payment method other than credit cards.

Version 1.7.0 – 06.09.2020

  • Enhancement – Display errors and license data on license activation/deactivation/check.
  • Enhancement – Log license errors.
  • Enhancement – Raised POST request timeout for license check.
  • Dev – Updated Plugin_Updater.

Version 1.6.1 – 02.09.2020

  • Fix – Use non-blocking AJAX requests for license activation/deactivation/check.

Version 1.6.0 – 16.06.2020

  • Feature – Added Apple Pay payment method.
  • Enhancement – Use svg icons on checkout page.
  • Enhancement – Removed payment gateway iDEAL Sofort which is not in use anymore.
  • Fix – Show status in order metabox.
  • Fix – Alias title in order metabox.

Version 1.5.2 – 20.04.2020

  • Fix – Always include Datatrans_Subscription_Handler to prevent fatal error on checkout.

Version 1.5.1 – 12.04.2020

  • Fix – Datatrans_Payment_Handler: always create a new reference number for subscription orders.
  • Fix – Datatrans_Payment_XML_Authorization_Handler: get correct parameter for request type.
  • Fix – Check for correct environment value to enqueue production JS from datatrans.

Version 1.5.0 – 24.11.2019

  • Feature – Powerpay: allow users to save ESR data as PDF and download it from the order admin screen.

Version 1.4.8 – 04.10.2019

  • Update – Added Powerpay payment method to custom gateways.
  • Tweak – Added filter to custom gateway POST args check.
  • Tweak – Added filters to Powerpay payment fields.
  • Dev – Renamed namespace of Log class.

Version 1.4.7 – 23.09.2019

  • Tweak – Added de_CH_informal translations.

Version 1.4.6 – 20.09.2019

  • Tweak – Added missing payment descriptions for payment change.
  • Tweak – Added missing translations.

Version 1.4.5 – 20.09.2019

  • Fix – Swissbilling: birthdate check, additional parameters.

Version 1.4.4 – 18.09.2019

  • Fix – Use redirect mode for adding payment methods if set in the settings.
  • Tweak – Hide datatrans form on payment methods page.

Version 1.4.3 – 12.09.2019

  • Fix – Check if order id is not null before checking for subscription orders.

Version 1.4.2 – 12.09.2019

  • Fix – Check if order object exists before checking if it is a subscription order.

Version 1.4.1 – 11.09.2019

  • Fix – Check if order exists (ID is not 0) before setting alias parameters.

Version 1.4.0 – 09.09.2019

  • Feature – Added functionality to save payment methods in customer accounts (tokenization) and use saved payment methods on the checkout.
  • Feature – Allow customers to update the payment method of all subscriptions.
  • Tweak – Added new Log class which writes logs into debug.log in the plugin folder.

Version 1.3.2 – 21.08.2019

  • Fix – Create WC_Product_Variation objects instead of WC_Product to check if a variation is virtual.
  • Fix – Correct API payment return URL when using the Polylang plugin.

Version 1.3.1 – 29.07.2019

  • Fix – Only use useAlias for PaymentPage and aliasCC for XML authorization.

Version 1.3.0 – 12.07.2019

  • Feature – Added powerpay payment method.
  • Fix – Error messages on the checkout page for additional payment fields.

Version 1.2.9 – 10.07.2019

  • Fix – Remove buttons from metabox for subscriptions.

Version 1.2.8 – 10.07.2019

  • Feature – Added option to write logs to the debug.log.

Version 1.2.7 – 04.07.2019

  • Feature – Allow admins to manually change payment method.
  • Tweak – Added payment data metabox to subsriptions.

Version 1.2.6 – 02.07.2019

  • Fix – Get data from parent order if not available in subscription order.

Version 1.2.5 – 01.07.2019

  • Fix – Payment handler: deep conversion of object to array to prevent serialization of XML objects when saving transaction data.

Version 1.2.4 – 28.06.2019

  • Fix – Orders with multiple subscriptions and products: save alias, card data and reqtype in all contained subscriptions.

Version 1.2.3 – 31.05.2019

  • Fix – Correctly update completed order status.

Version 1.2.2 – 31.05.2019

  • Fix – Use function_exists instead of is_plugin_active to check if Subscriptions plugin is active.

Version 1.2.1 – 31.05.2019

  • Fix – Correctly update db version after db update.

Version 1.2.0 – 27.05.2019

  • Feature – Added setting fields to set order status based on request type and product type (virtual/physical).
  • Feature – Added support to change payment method of subscriptions for some products.
  • Feature – Added db update notice if update required.
  • Tweak – Renewal orders use card data and request type from subscription instead of parent order.
  • Dev – Added gulp dev tools.

Version 1.1.4 – 06.05.2019

  • Fix – Use property instead of constant for display name.

Version 1.1.3 – 11.04.2019

  • Fix – Correctly check, activate and deactivate licenses of the current blog.

Version 1.1.2 – 09.04.2019

  • Fix – Correctly check activated licenses in multisite installations.

Version 1.1.1 – 12.01.2019

  • Tweak – Added settings fields for test environment.

Version 1.1.0 – 10.01.2019

  • Feature – Added support for multiple subscriptions on the checkout.
  • Feature – Added settings to override checkout texts.

Version 1.0.2 – 19.11.2018

  • Fix – Datatrans_Order_Admin: status handler was not instantiated correctly.
  • Fix – Systeminfo: get license info from Mame_Licensing class.
  • Fix – Systeminfo: removed unnecessary nonce check.
  • Fix – Mame_Licensing: option name.
  • Fix – Mame_Licensing: check if WC is active and if the field has to be loaded in the settings tab.
  • Tweak – Systeminfo: removed unnecessary nonce.
  • Tweak – Use constant MAME_SUBSCRIPTIONS_ACTIVE.

Version 1.0.1 – 06.08.2018

  • Tweak – Updated Mame_Licensing.

Version 1.0.0 – 26.06.2018

Initial release.

Free registration for PostFinance E-Payment

If you don't have a PostFinance e-Payment account you can fill out the form below to get a free Test-Account. You will be contacted by PostFinance for more information. This registration is completely free and non-binding.

[contact-form-7 id="123" title="PF Registration form EN"]