Linux 软件免费装
Banner图

ifthenpay | Payments for LatePoint

开发者 ifthenpay
更新时间 2026年9月9日 23:38
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv3
版权网址: 版权信息

标签

booking payments invoices ifthenpay latepoint

下载

2.0.2 2.1.0 2.0.3 2.0.5 2.1.1 3.0.0

详情介绍:

This plugin integrates the ifthenpay payment gateway with LatePoint to enable seamless payment processing for appointment bookings. It supports multiple payment methods, including local options like Multibanco, MB WAY and Payshop, as well as international ones like PIX. Instant methods (MB WAY, cards, PIX, …) are handled via secure pay-by-link, with no sensitive card data stored on your site; Multibanco and Payshop are deferred — the customer gets a reference to pay at an ATM, via homebanking, or at a Payshop agent, and the booking confirms automatically once it's paid. When a customer books an appointment, they can select their preferred payment method, and a secure payment page (or reference) is shown for completion. In plain terms you get:

安装:

  1. In your WordPress admin, go to Plugins → Add New and search for ifthenpay | Payments for LatePoint, then click Install Now.
  2. Or download ifthenpay-payments-for-latepoint.zip and upload under Plugins → Add New → Upload Plugin.
  3. Activate LatePoint and ifthenpay for LatePoint.
  4. Navigate to LatePoint → Settings → Payments, enter your ifthenpay Backoffice Key & Gateway Key, and click Connect.

屏幕截图:

  • (Admin Only) Pay Later Configuration — Multibanco and Payshop, each with their own Reference Validity and Minimum Lead Time.
  • (Admin Only) The ifthenpay Tools page — callback URL registration status, with one-click re-registration.
  • (Admin Only) Outstanding Deferred Payments — recheck or cancel a stuck Multibanco/Payshop reference from wp-admin.
  • (Admin Only) Unclaimed Realtime Payments — a payment confirmed by ifthenpay that never matched a completed booking.
  • (Admin Only) Resolved realtime payments, with an Unresolve action if marked by mistake.
  • (Customer Experience) Choosing when to pay: instantly (Pay Now) or by reference (Pay Later).
  • (Customer Experience) Choosing a deferred method: Multibanco or Payshop.
  • (Customer Experience) Multibanco reference shown on the booking confirmation.
  • (Customer Experience) The ifthenpay secure payment page for instant methods (MB WAY, cards, Pix).
  • (Customer Experience) The Multibanco reference is also available later in the customer's own dashboard.
  • (Customer Experience) The "Appointment Confirmation" email — LatePoint's own booking-created notification, with the Multibanco reference attached.
  • (Customer Experience) The "Payment Received" email this plugin adds, sent once a payment actually settles.

升级注意事项:

3.0.0 Reconfiguration required: after updating, open the ifthenpay settings in LatePoint and reconnect your Backoffice Key and Gateway Key. The previous Gateway Key is not carried over automatically, and no ifthenpay payment method will be offered at checkout until this is done. If no Gateway Key shows up after reconnecting, it's because Gateway Keys are now fetched live and scoped specifically to the LatePoint context — a Gateway Key provisioned for a different platform will not appear here. Contact ifthenpay support/helpdesk to have a Static Gateway Key provisioned for LatePoint on your account. 2.1.1 Payments now reconcile by token for easier merchant bookkeeping; longer payment confirmation timeout; formatting cleanup. 2.1.0 Controller access whitelist fixes for proper payment endpoint routing. 2.0.5 Bump tested up to 6.9; Filter out of invisible methods added. 2.0.3 Generic class naming fixes and other improvements. 2.0.1 Versioning fixes. 2.0.0 Invoice payments now supported;

常见问题:

What do I need to get started?

  • A valid ifthenpay account (register at ifthenpay.com/aderir)
  • LatePoint 5.6+ active
  • WordPress 6.5+ and PHP 7.4+

How do I get my Backoffice Key?

Your Backoffice Key is assigned by ifthenpay at the time your contract is validated at ifthenpay.com/aderir — it's the same key used by ifthenpay's other website and app integrations. If you don't have it — setting up a new site, or you've lost it — ifthenpay support is who can resend it.

How do I get a Gateway Key for LatePoint?

A Gateway Key must be provisioned specifically for the LatePoint context before this plugin can use it — a Gateway Key created for a different platform (e.g. a generic website or another CMS) will not appear here, even with a valid Backoffice Key. Ask ifthenpay support to provision a Gateway Key for LatePoint on your account, then pick which payment methods (Multibanco, MB WAY, Payshop, cards, …) should be enabled on it — they'll guide you through activation for each. Once that's done, the plugin's settings page picks it up automatically; there is nothing to enter by hand beyond the Backoffice Key itself.

How do I configure it?

  1. Go to LatePoint → Settings → Payments.
  2. Enter your Backoffice Key and click Connect — this checks it against ifthenpay and shows your available Gateway Key(s).
  3. Pick a Gateway Key, select the payment methods (including invoices) you want to offer, then save.
  4. Save again any time you change the Gateway Key — this also re-registers the payment notification (callback) URL ifthenpay uses to confirm a payment automatically; see below.

Does ifthenpay need access back into my site?

Yes — after a Gateway Key is saved, the plugin registers a payment notification URL with ifthenpay (https://yoursite.com/wp-json/ifthenpay-lp/v1/callback) so a payment can be confirmed automatically once it's completed. This happens automatically; there's nothing to copy or paste. If your server sits behind a firewall, WAF, or security plugin that blocks unfamiliar inbound requests, allow GET requests to that URL path through — otherwise a completed payment may not be confirmed automatically. If registration itself fails (for example, your site isn't reachable from the internet yet), the settings page shows which Gateway Key failed and why, without needing to re-enter anything.

How does the payment process work?

Payments are processed securely through ifthenpay's pay-by-link system. Customers select a payment method during booking, and a secure payment page opens for completion. Once paid, the status is verified and the booking is confirmed automatically.

How does Multibanco payment work?

Multibanco is deferred, not instant: at checkout the customer gets an Entity/Reference/Amount to pay at an ATM or via homebanking, instead of a card-style payment page. The booking is created right away — pending, not confirmed — and the reference is shown on the confirmation page, in the confirmation email, and later in the customer's dashboard, so it isn't lost. The booking confirms automatically once ifthenpay notifies the site the reference was paid, typically within minutes of payment.

How does Payshop payment work?

Payshop works the same way as Multibanco: a deferred reference, shown at checkout, in the confirmation email, and on the customer's dashboard, payable in person at any Payshop agent or CTT post office. The booking is created pending and confirms automatically once ifthenpay notifies the site it was paid.

What happens if a Multibanco or Payshop reference is never paid?

The booking still holds the time slot while the reference is pending — nobody else can book it in the meantime, so an unpaid reference blocks that slot until it expires. An hourly job cancels bookings whose reference has passed its validity window, releasing the slot back for others to book. Set how many days a reference stays valid, and the minimum lead time before an appointment a reference can still be issued for, under LatePoint → Settings → Payments → Pay Later Configuration → [Multibanco/Payshop] → Timing. Each agent also gets a daily email listing their own appointments whose reference lapsed unpaid, so nothing falls through unnoticed.

A customer says they paid a Multibanco or Payshop reference but the booking still shows pending — what do I do?

This is rare (a network hiccup between ifthenpay and your site), but recoverable without touching the database or a server. Go to Settings → ifthenpay for LatePoint in wp-admin — the Outstanding Deferred Payments table lets you Recheck a specific payment (confirms it with ifthenpay directly before settling anything, so it's safe to run even if the payment never actually completed) or Cancel it to release the slot.

A customer paid instantly (MB WAY, card, …) but no booking shows up — where did the money go?

This can happen if the customer's connection dropped right after paying, before their booking could be finalised. Go to Settings → ifthenpay for LatePoint in wp-admin and check the Unclaimed Realtime Payments table — it lists any payment that was confirmed paid by ifthenpay but never matched to a completed booking, along with whatever contact and booking details were captured at checkout, so you can follow up with the customer directly. Mark a payment Resolved once you've handled it with them; if you did that by mistake, the Resolved tab lets you undo it.

Are payment details stored?

No. The plugin does not store card numbers or full bank details. Only small references needed for matching payments are kept.

Is there a sandbox?

ifthenpay may provide test entities; if unavailable, use a low-value live test.

Which payment methods are supported?

Any ifthenpay method attached to your Gateway Key (e.g. Multibanco, MB WAY, Payshop, Pix, Credit Card if provisioned).

How secure is the integration?

Requests are encrypted over HTTPS; data is minimized; no card details are stored. Payments are handled off-site by ifthenpay, ensuring PCI compliance.

Why are payment links failing or setup timing out?

Your server firewall or VPN may be blocking outbound requests. The plugin must connect to ifthenpay APIs to function. Ensure your network administrator allows outbound HTTPS traffic to ifthenpay domains.

A booking or payment confirmation email never arrived — is that this plugin?

Usually not a payment problem — check who was actually supposed to get it. LatePoint's own New Booking Notification workflow emails both the agent ("New Appointment Received") and the customer ("Appointment Confirmation") when a booking is made. The Payment Received workflow this plugin adds emails the customer only, once payment settles — an order can span bookings with different agents, so there's no single agent to notify there. Both live under LatePoint → Automation → Workflows and both send through WordPress's own mail function; if your host doesn't relay mail reliably (common on shared hosting), they silently fail to send — install and configure an SMTP plugin (e.g. WP Mail SMTP) with a real mail provider. Either way, the booking status and any Multibanco/Payshop reference are always also shown on-screen at checkout and in the customer's LatePoint dashboard, so a missing email doesn't put the payment itself at risk.

更新日志:

3.0.0 2.1.1 2.1.0 2.0.5 2.0.3 2.0.1 2.0.0 1.0.0