=== WeArePlanet ===
Contributors: Planet Merchant Services Ltd
Tags: payment, WeArePlanet, e-commerce, invoice, psp
Requires at least: 6.0
Tested up to: 7.0
Stable tag: 3.4.4
License: Apache-2.0
License URI: http://www.apache.org/licenses/LICENSE-2.0

Accept payments in WooCommerce with WeArePlanet.

== Description ==

Website: [https://www.weareplanet.com/](https://www.weareplanet.com/)

The plugin offers an easy and convenient way to accept credit cards and all other payment methods listed below fast and securely. The payment forms will be fully integrated in your checkout and for credit cards there is no redirection to a payment page needed anymore. The pages are by default mobile optimized but the look and feel can be changed according the merchants needs.

This plugin will add support for all WeArePlanet payments methods and connect the WeArePlanet servers to your WooCommerce webshop.
To use this extension, a WeArePlanet account is required. Sign up on [WeArePlanet](https://www.weareplanet.com/contact/sales).

== Documentation ==

Additional documentation for this plugin is available:
[here](https://plugin-documentation.weareplanet.com/weareplanet/woocommerce/3.4.4/docs/en/documentation.html).

== Source code and build process ==

This plugin ships a compiled WooCommerce Blocks bundle at `assets/js/frontend/blocks/build/index.js`. The human-readable source code is included in `assets/js/frontend/blocks/src/` alongside `webpack.config.js`.

To rebuild the bundle from source:

1. `cd assets/js/frontend/blocks`
2. `npm ci`
3. `npm run build`

This regenerates `build/index.js` and `build/index.asset.php` from the sources included with the plugin.

== External Services ==

This plugin loads a device-identification script from the WeArePlanet gateway to secure checkout and payment flows.

- **Service:** WeArePlanet device identification
- **Endpoint/domain:** Base gateway URL (default `https://paymentshub.weareplanet.com/`), script path `/s/{spaceId}/payment/device.js`
- **Data sent:** `sessionIdentifier` (value from cookie `wc_weareplanet_device_id`, a unique device/session ID) and the configured space ID in the request path; no payment or PII fields are sent by this script
- **When:** Enqueued on cart/checkout page load; the identifier is stored in the browser for up to one year to keep sessions consistent and prevent fraud
- **Purpose:** Device fingerprinting/session continuity to secure transactions
- **Policies:** See the service provider’s terms of use and privacy policy linked below in the “Privacy Policy” and “Terms of use” sections

== Support ==

Support queries can be issued on the [WeArePlanet support site](https://paymentshub.weareplanet.com/space/select?target=/support).

== Privacy Policy ==

Enquiries about our privacy policy can be made on the [WeArePlanet privacy policies site](https://www.weareplanet.com/privacy-policy).

== Terms of use ==

Enquiries about our terms of use can be made on the [WeArePlanet terms of use site](https://www.datatrans.ch/en/terms-conditions).

= Features = 

However, weareplanet is not only a payment provider we are also a payment platform that connects your systems and simplifies your processes: 

* We are able to connect to your bank to simplify reconciliation. 
* We can connect to your Slack channel to report payment issues or simply send you an email
* We can take over the dunning process for you if you want to provide invoices
* We create the PDF invoices, packing slips and send them to your customers if you like (via E-Mail or postal services).
* We have a mobile SDKs for Android & iOS if you want to connect other channels
* Invoices and dunning processes can be created
* better conversion as integrated payment pages lead to a direct checkout in your shop without redirection
* reasonable packages for small, medium and bigger shops
* scale into new markets with a click. Payment methods can be activated easily

= PAYMENT METHODS = 

* Alipay Global
* Bank Transfer
* Credit / Debit Card
  * American Express
  * Bancontact
  * China Union Pay
  * Dankort
  * Diners Club
  * Discover
  * JCB
  * Maestro
  * MasterCard
  * PostFinance Card
  * Visa
  * Visa Electron
* Direct Debit (SEPA)
* Direct Debit (UK)
* EPS
* Giropay
* iDeal
* Invoice
* MasterPass
* Online Banking
  * Aktia
  * Ålandsbanken 
  * Belfius Direct Net
  * Citadele
  * Danske Bank
  * DNB Bank
  * Handelsbanken
  * ING HomePay
  * KBC
  * Krediidipank
  * LHV Pank
  * Nordea
  * OP-Pohjola
  * POP Pankki
  * PostFinance E-Finance
  * Säästöpankki
  * SEB
  * S-Pankki
  * Swedbank
* POLi
* Paybox
* Paydirekt
* Paylib
* PayPal
* paysafecard
* Przelewy24
* QIWI
* SOFORT Banking
* Skrill
* TWINT
* Tenpay
* Trustly

= SUPPORTED PAYMENT SERVICE PROVIDERS =

* Adyen
* Alipay Global
* Authipay
* Barclaycard ePDQ DirectLink
* Barclaycard ePDQ E-Commerce
* Braintree
* Computop
* ConCardis PayEngine DirectLink
* Concardis PayEngine E-Commerce
* Datatrans
* E-PAY
* EMS eCommerce
* FirstData Connect
* FirstData TeleCash
* Heidelpay Payment Platform
* ISR (orange inpayment slip)
* Ingenico ePayments DirectLink
* Ingencio ePayments E-Commerce
* InterCard
* KBC PayPage DirectLink
* KBC PayPage E-Commerce
* Mercanet 2.0
* mPAY24
* Open Payment Platform
* PayUnity.CONNECT
* Paydirekt
* Payone
* PayPal
* PostFinance E-Payment DirectLink
* PostFinance E-Payment E-Commerce
* PowerPay
* SOFORT Banking
* Saferpay
* Sage Pay
* Sips 2.0
* SlimPay
* Sogenactif 2.0
* Trustly

== Installation ==

= Minimum Requirements =

* PHP version 5.6 or greater
* WordPress 4.7 up to 6.6
* WooCommerce 3.0.0 up to 9.8.5

= Automatic installation =

1. Install the plugin via Plugins -> New plugin. Search for 'WeArePlanet'.
2. Activate the 'WeArePlanet' plugin through the 'Plugins' menu in WordPress
3. Set your WeArePlanet credentials at WooCommerce -> Settings -> WeArePlanet (or use the *Settings* link in the Plugins overview)
4. You're done, the active payment methods should be visible in the checkout of your webshop.

= Manual installation =

1. Unpack the downloaded package.
2. Upload the directory to the `/wp-content/plugins/` directory
3. Activate the 'WeArePlanet' plugin through the 'Plugins' menu in WordPress
4. Set your credentials at WooCommerce -> Settings -> WeArePlanet (or use the *Settings* link in the Plugins overview)
5. You're done, the active payment methods should be visible in the checkout of your webshop.


== Frequently Asked Questions ==

= Where can I report issues? =

If you have an issue please use the [issue tracker](https://github.com/weareplanet/woocommerce/issues).

== Changelog ==

= 3.4.3 - March 9th 2026 =
- [Feature] Tested against Wordpress 7
- [BugFix] Solved issue with session type detection
- [Tested Against] PHP 8.2
- [Tested Against] Wordpress 7.x-beta
- [Tested Against] Woocommerce 10.5.1
- [Tested Against] PHP SDK 4.8.1
