Linux 软件免费装
Banner图

WebHosting4U Secure Card Gateway for ePay Paycenter (Piraeus Bank)

开发者 webhosting4ugr
更新时间 2026年5月22日 02:08
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce payment gateway credit card greece piraeus bank

下载

1.0.30 1.0.31 1.0.27 1.0.28

详情介绍:

What sets this plugin apart Ελληνικά: Ανεξάρτητο πρόσθετο πύλης πληρωμής WooCommerce από τη WebHosting4U για την υπηρεσία ePay Paycenter Redirection της Τράπεζας Πειραιώς / Euronet Merchant Services. Υλοποιεί πλήρως την επίσημη προδιαγραφή Redirection v2.9: Προϋπόθεση: πρέπει να έχετε υπογεγραμμένο συμβόλαιο αποδοχής με την Euronet Merchant Services / Τράπεζα Πειραιώς και να διαθέτετε τα διαπιστευτήρια AcquirerId, MerchantId, PosId, Username, Password. Το πρόσθετο δεν παρέχει δικούς του δοκιμαστικούς λογαριασμούς. Η πλήρης ελληνική μετάφραση της σελίδας του προσθέτου στο WordPress.org θα είναι διαθέσιμη μέσω του translate.wordpress.org μόλις εγκριθεί από την κοινότητα. Δείτε επίσης το συνοδευτικό readme-el.txt για την ολοκληρωμένη ελληνική τεκμηρίωση. English: This plugin integrates WooCommerce with the ePay Paycenter Redirection service operated by Piraeus Bank / Euronet Merchant Services. It implements the official Redirection v2.9 specification end to end: You must have signed an acquiring contract with Euronet Merchant Services / Piraeus Bank and obtained AcquirerId, MerchantId, PosId, Username and Password credentials before using this plugin. The plugin does not provide test or sandbox accounts on its own; please contact Euronet Merchant Services to request one. Affiliation and trademark notice This plugin is independent software published by WebHosting4U and is not affiliated with, endorsed by, sponsored by, or otherwise officially connected to Piraeus Bank S.A., Euronet Merchant Services, or Automattic Inc. The third-party names "ePay", "Paycenter", "Piraeus Bank" and "WooCommerce" are trademarks of their respective owners and are used here in good faith, after the unaffiliation marker "for", solely to describe the third-party service this plugin integrates with, in line with the WordPress.org Detailed Plugin Guidelines on third-party trademarks. The bundled accepted card brands image (assets/img/wp-cards.png) is included with the rights-holder's authorization for the merchant distribution scope of this plugin. User tracking and consent This plugin does not load any analytics, telemetry, advertising, fingerprinting, profiling or behavioural tracking code, neither on the storefront nor in the WordPress admin. It does not set cookies on visitor browsers, does not contact any first-party or third-party analytics endpoint, and does not collect aggregated or individual usage statistics from the merchant's installation. The only outbound network traffic the plugin generates is the strictly transactional traffic documented in the External services section below, which is required to complete a payment the merchant has explicitly configured the plugin to perform. No user-tracking consent prompt is therefore required by this plugin (Plugin Review Team Guidelines 7 and 9).

安装:

  1. Upload the plugin ZIP through Plugins → Add New → Upload Plugin, or extract it into wp-content/plugins/wh4u-secure-card-gateway-for-epay-paycenter-piraeus-bank/.
  2. Activate the plugin.
  3. Go to WooCommerce → Settings → Payments and enable ePay Paycenter (Piraeus Bank).
  4. Enter your AcquirerId, MerchantId, PosId, Username and Password exactly as provided by Euronet Merchant Services.
  5. Set the environment (Test / Live), language, and transaction type.
  6. Provide Euronet Merchant Services with the following URLs for your merchant record:
  7. Referrer URL: your shop checkout page.
  8. Success URL: https://your-site.tld/wc-api/epay_paycenter/
  9. Failure URL: https://your-site.tld/wc-api/epay_paycenter/
  10. Backlink URL: https://your-site.tld/wc-api/epay_paycenter/
  11. IP address: the outbound IP of your web server.
  12. Response method: POST (recommended).
  13. Execute the mandatory test cases documented in Section 7 of the Redirection v2.9 manual before requesting live credentials.

屏幕截图:

  • Gateway settings page: **Merchant credentials** (AcquirerId, MerchantId, PosId, Username, Password) above **Bank integration data** with the Success / Failure / Backlink URLs grouped into a single grey block with a one-click Copy button. / Σελίδα ρυθμίσεων πύλης: **Στοιχεία πρόσβασης εμπόρου** πάνω από τα **Στοιχεία σύνδεσης με την τράπεζα**, με τα Success / Failure / Backlink URLs σε ενιαίο γκρι πεδίο και κουμπί αντιγραφής με ένα κλικ.

升级注意事项:

1.0.31 Docs-only release. Readme Description trimmed to fit the wp.org 2,500-word limit (the 1.0.30 plugin page was truncated). No code or behaviour change — the in-admin WAF diagnostic, IRIS support, installments picker and tiered installments from 1.0.30 are all preserved. 1.0.30 Adds IRIS payments support per Redirection Manual v2.9 (transparently recognised when Euronet Merchant Services enables IRIS on your account) AND customer-selectable installments on classic WC checkout with tiered max-installments by order amount. The previous flat installments configuration is preserved and still works. WooCommerce Blocks checkout: customers default to one-time payment (Blocks picker scheduled for 1.0.31). All card installments via this gateway are interest-free for the customer per Piraeus Bank policy; IRIS does not support installments or refunds. 1.0.28 Compatibility with WordPress 7.0 (Modern admin theme, iframed editor, PHP 7.4 minimum). No payment-flow, database, or callback-handler change. 1.0.27 Settings screen reorganized: merchant credentials now sit above bank integration data, the bank-data card is collapsed by default, and the five callback URLs share one grey "Copy" block. No payment-flow, database, or callback-handler change. 1.0.20 Text domain corrected to match plugin slug. Cloudflare IP fetch documented in External services. echo wrapped with wp_kses_post(). No payment-flow or database change. 1.0.19 Plugin renamed to "WebHosting4U Secure Card Gateway for ePay Paycenter (Piraeus Bank)" with slug wh4u-* per Plugin Review Team feedback. External services fully documented with terms / privacy links. Deprecated libxml_disable_entity_loader() removed. No payment-flow change. 1.0.18 Checkout icon changed from piraeus.svg to a responsive wp-cards.png image (400 px desktop, scales on mobile). Block checkout now shows card brands. Front-end CSS enqueued on checkout. Drop-in upgrade. 1.0.17 Greek translation backfilled with all strings from 1.0.10-1.0.16: scenario labels, decline notices, admin notes, WAF self-test UI. POT regenerated. No PHP/database/payment-flow change. 1.0.16 Fixes decline notice not appearing after bank redirect. Hook priority collision with WooCommerce core resolved (priority 5 vs core 10). Works on every theme. No database or payment-flow change. 1.0.15 Aligns with Redirection Manual v2.9 section 5 scenario table. Fixes misleading ResultCode 1048 message, widens 50x matching to 500-599, adds AdminTool hint on 1045. Drop-in upgrade. 1.0.14 Fixes decline message not appearing after bank redirect due to SameSite=Lax stripping the session cookie. Notices now queued as order-scoped transients. No database or payment-flow change. 1.0.13 Fixes "-1" body when Success/Failure URL is doubled in the Euronet portal. Malformed wc-api values normalised at parse_request. Please also correct the URL in the portal. 1.0.12 Declined-transaction handling per Redirection Manual v2.9 section 5. Issuer decline shown to customer, failures redirect to pay-for-order URL. Fixes "-1" body via plugins_loaded binding. 1.0.11 Adds "Test callback URL" button on the settings screen. Detects host WAF interception (cPFence, ModSec, Imunify360, BitNinja, LiteSpeed). No database or payment-flow change. 1.0.10 Adds a "Callback envelope" forensic log line at every callback reach so host-WAF-blocked transactions can be distinguished from plugin-rejected ones, and refines the customer-facing wording per Paycenter ResultCode and ResponseCode. Safe drop-in upgrade, no database change. 1.0.9 Greek translation rewritten in plain, merchant-friendly Greek. Banking jargon replaced with everyday terms; field labels shortened so the WooCommerce settings layout is not stretched. Safe drop-in upgrade. 1.0.8 Plugin Check compliance: adds the standard defined( 'ABSPATH' ) || exit; guard at the top of the performant-translations .l10n.php file. No runtime or database change, safe drop-in upgrade. 1.0.7 Plugin Review compliance: the bank redirect auto-submit helper is now loaded via wp_enqueue_script() from a standalone asset file instead of an inline <script> block in the receipt template. Safe drop-in upgrade, no database or payment-flow change. 1.0.6 Adds a complete Greek (el) translation, regenerates the POT catalog from the live source, and ships WP 6.5+ performant-translations .l10n.php files next to every .mo. Safe drop-in upgrade, no database change. 1.0.5 Plugin Check compliance: sanitizes $_SERVER input on the settings screen, switches statistics queries to $wpdb->prepare() with the %i identifier placeholder, and trims the 1.0.2 upgrade notice under the 300-char limit. No functional change. 1.0.4 Adds Cloudflare auto-detection and a help notice on the gateway settings page instructing store owners to email Euronet Merchant Services to whitelist Cloudflare's IPv4 ranges. Safe drop-in upgrade. 1.0.3 Stops the WC-API callback endpoint from spamming the WooCommerce error log with "Callback missing MerchantReference" entries when hit by bots, scanners or direct browser visits. No functional or security change. 1.0.2 Redesigned settings screen with status overview and an auto-generated Bank integration data block listing the exact Website, Referrer, Success, Failure and Backlink URLs, server IP and response method asked for by Euronet Merchant Services. Safe drop-in upgrade. 1.0.1 Compliance, security and packaging fixes. Recommended for all users; no database migration required. 1.0.0 Initial release.

常见问题:

Which cards are supported?

Visa, Mastercard, Maestro, and (subject to agreement with Euronet Merchant Services) Diners / Discover and American Express.

Does the plugin support IRIS payments?

Yes. When IRIS is enabled on your merchant agreement by Euronet Merchant Services, customers can choose between card and IRIS directly on the bank's hosted payment page — the plugin does not need a separate setting to "turn IRIS on" because the choice is made server-side at the bank, not in your checkout. The plugin recognises IRIS responses (CardType=15 or PaymentMethod=IRIS in the bank's HMAC-verified callback), shows IRIS-tailored messages for the IRIS-only decline scenarios (user cancelled in their banking app, 5-minute QR timeout, IRIS service error, etc.) and records the payment channel on the order so card and IRIS transactions are distinguishable in your reports. Per Piraeus Bank policy, IRIS payments do not support installments (the full amount is charged) and refunds are not supported for IRIS transactions (ResponseCode 9167). These restrictions are enforced by the bank, not by the plugin.

Does the plugin store any card data?

No. Cardholder data is entered exclusively on the Paycenter secure payment page and never transits your server. The plugin stores only non-sensitive metadata such as approval code, response code and SupportReferenceID for reconciliation.

What happens if the HashKey cannot be verified?

The order is set to On hold and a notice is logged. Verification is mandatory before an order is marked paid; a mismatching HashKey is treated as a potentially forged callback.

Is this plugin GDPR-compatible?

The plugin transmits only the minimum data required for the transaction (order total, currency, merchant reference, and 3-D Secure auxiliary fields such as billing email and address). No analytics or telemetry is collected.

My host's WAF (cPFence, ModSecurity, Imunify360, BitNinja, LiteSpeed) is blocking the bank callback. What do I do?

Shared-hosting firewalls sometimes flag Paycenter's decline-callback payload because it contains patterns (dash-only TransactionDateTime, empty HashKey on declined transactions, Greek ResponseDescription text) that overlap with default attack signatures. Symptoms: callbacks for failed transactions never arrive and orders get stuck in pending payment. The plugin's settings page includes a Test callback URL diagnostic that POSTs a realistic declined-transaction payload to your own callback URL via loopback and reports whether a host WAF intercepts it. Run it once before going live. If a WAF is intercepting, ask your hosting provider to whitelist the URL /?wc-api=epay_paycenter (callback-URL scope only — never disable rules server-wide). CDN-level WAFs (Cloudflare, Sucuri, Akamai) must be configured separately at the CDN — the in-admin diagnostic only exercises the origin server's WAF.

My customer sees only "-1" after the bank return. What happened?

The literal -1 comes from WooCommerce core's WC_API handler. For this plugin it usually means one of three things:

  1. The callback URL in the Euronet portal does not match the plugin's URL. Use exactly https://<your-site>/?wc-api=epay_paycenter (no trailing slash, no extra path). Copy it from the gateway settings page where the plugin displays the canonical form.
  2. A host WAF intercepted the callback before it reached PHP (see the WAF FAQ above).
  3. The plugin handled the callback but a downstream redirect target suppressed the notice. Since 1.0.14 decline messages survive cross-origin redirect cookie stripping, so this is rare on current versions.
Check WooCommerce → Status → Logs for epay-paycenter-* entries around the transaction timestamp. The Callback envelope INFO line is written on every callback that reaches PHP, so its presence or absence distinguishes WAF-level blocks from plugin-level rejects.

更新日志:

1.0.31 1.0.30 1.0.28 1.0.27 1.0.26 1.0.22 1.0.21 1.0.20 1.0.19 1.0.18 1.0.17 1.0.16 1.0.15 1.0.14 1.0.13 1.0.12 1.0.11 1.0.10 1.0.0