Piraeus Bank WooCommerce Payment Gateway

설명

This plugin adds Piraeus Bank paycenter as a payment gateway for WooCommerce. A contract between you and the Bank must be previously signed. Based on original plugin “Piraeus Bank Greece Payment Gateway for WooCommerce” by emspace.gr [https://wordpress.org/plugins/woo-payment-gateway-piraeus-bank-greece/]

It uses the redirect method, and SSL is not required.

Requires SOAP installed in the server / hosting.

Important Notice

  1. Piraeus Bank has announced that it will gradually abolish the Preauthorized Payment Service for all merchants, beginning from the ones obtained MIDs from 29/1/2019 onwards.
    You are highly recommended to disable the preAuthorized Payment Service as soon as possible.

  2. We would like to inform you that our Plugin is compatible with the 3D Secure version 2 changes required from Piraeus bank.

Features

Provides pre-auth transactions and free instalments.

HTTP Proxy

In case your server doesn’t provide a static IP address for your website, you can use an HTTP Proxy for outgoing requests from the server to the bank. The following fields need to be filled for http proxying:
HTTP Proxy Hostname: Required. If empty then HTTP Proxy is not used.
HTTP Proxy Port: Required if HTTP Proxy Hostname is filled.
HTTP Proxy Login Username/Password: Optional.

설치

Just follow the standard WordPress plugin installation procedure.

Provide to Piraeus bank at epayments@piraeusbank.gr the following information, in order to provide you with test account information.
WITH PERMALINKS SET
* Website url : http(s)://www.yourdomain.gr/
* Referrer url : http(s)://www.yourdomain.gr/checkout/
* Success page : http(s)://www.yourdomain.gr/wc-api/WC_Piraeusbank_Gateway?peiraeus=success
* Failure page : http(s)://www.yourdomain.gr/wc-api/WC_Piraeusbank_Gateway?peiraeus=fail
* Cancel page : http(s)://www.yourdomain.gr/wc-api/WC_Piraeusbank_Gateway?peiraeus=cancel

WITHOUT PERMALINKS (MODE=SIMPLE)
* Website url : http(s)://www.yourdomain.gr/
* Referrer url : http(s)://www.yourdomain.gr/checkout/
* Success page : http(s)://www.yourdomain.gr/?wc-api=WC_Piraeusbank_Gateway&peiraeus=success
* Failure page : http(s)://www.yourdomain.gr/?wc-api=WC_Piraeusbank_Gateway&peiraeus=fail
* Cancel page : http(s)://www.yourdomain.gr/?wc-api=WC_Piraeusbank_Gateway&peiraeus=cancel

Response method : GET / POST
Your’s server IP Address

FAQ

CardHolder Name Field

According to Piraeus bank’s technical requirements related to 3D secure and SCA, the cardholder’s name must be sent before the customer is redirected to the bank’s payment environment. You choose not to show this field by uncheck the “Enable Cardholder Name Field” in plugin’s settings, we will automatically send the full name inserted for the order, with the risk of having the bank refusing the transaction due to the validity of this field.

Enable Debug Mode

In order to enable the debug mode, you should add in your wp-config file (in the root folder of installation) the following lines:
define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, false);

Then you have to enable the debug mode from plugin’s settings page.

Missing states information from a country

Woocommerce have a list of states for each country, from where we send the information to the Piraeus Bank for the fields BillAddrState, ShipAddrState.
But for some countries i.e. Cyprus, Germany woocommerce don’t have the appropriate informations.
In these cases you should follow the instructions of Woocommerce to add/edit States.

후기

2022년 12월 10일
Επιλεγοντας τις νεοτερες εκδοσεις PHP (8.0.26 και μετα) το προσθετο ενω λειτουργεί κανονικα και ολοκληρωνει τις πληρωμες, δημιουργεί προβλημα σε αλλο, ασχετο σημειο του site. το προβλημα διαγνωστηκε με το Query Monitor. το συγκεκριμενο προβλημα σταματα στην εκδοση PHP 7.4.33. Εχω στείλει στους δημιουργους του προσθετου μηνυματα για το συγκεκριμενο προβλημα και δεν ανταποκριθηκε κανενας.....ποτε............
모든 24 평가 읽기

기여자 & 개발자

“Piraeus Bank WooCommerce Payment Gateway”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Piraeus Bank WooCommerce Payment Gateway”(이)가 1(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Piraeus Bank WooCommerce Payment Gateway”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.7.1

Fix bug in 1.7.0

1.7.0

Fix vulnerability for sql injection

1.6.5.1

Compatibility with Woocommerce 6.2.1

1.6.5

Added technical specs needed for the bank, rendered in the settings page
Render error descriptions
Update Translations
Add option to enable/disable for the 2nd payment email with transaction details

1.6.4

Extra validations checks for phone numbers
Compatibility with Woocommerce 5.0
Add text for “without installation” option

1.6.3

Extra validations checks for phone numbers
Add Germany’s states list in woo commerce

1.6.2

Add cardholder name input field in checkout
Extra validation for foreign countries state field
Add cyprus states list in woocommerce
Add debugging mode, to log certain information
Replaced deprecated reduce_order_stock with wc_reduce_stock_levels
Fix minor php warnings

1.6.1

extra validation for country calling number
extra fallback if no shipping address available
add transaction id in order note

1.6.0

Compatibility with PSD2 (3D Secure version 2)

1.5.8

fix an issue with proxy settings

1.5.7

Sanitize Data
update compatibility status with WooCommerce 4.3.0

1.5.6

update compatibility status with WooCommerce 4.1.0

1.5.5

update compatibility status with WooCommerce 4

1.5.4

fix release version

1.5.3

Update translations

1.5.2

Added max size for Logo of Piraeus Bank

1.5.1

For downloadable products, auto mark the order as completed only if all the products are downloadable
Update translations
Added option to display or not Piraeus Bank’s logo in checkout page.

1.5.0

POST response method is now available
Added Max number of instalments based on order total
Support for English, German and Russian language in redirect page.

1.4.2

Fix issue for failed status of order but with paid transaction

1.4.1

Bug Fixes (Pay again, after failed payment attempt)

1.4.0

New Piraeus API encryption algorithm

1.3

Added Proxy configuration option.

1.0.6

WooCommerce backwards compatible

1.0.4

WooCommerce 3.0 compatible

1.0.3

Text changed. New Title[GR]: Με κάρτα μέσω Πειραιώς

1.0.2

Bug Fixes

1.0.1

Bug Fixes

1.0.0

Initial Release