Skip to content

BioLink Pro v1.1.0

Choose a tag to compare

@github-actions github-actions released this 16 May 13:47
· 21 commits to main since this release

Real integrations — no more hook-only scaffolding. Stripe + PayPal accept real payments; Mailchimp / MailerLite / Resend receive real subscribers.

Added — Stripe Checkout

  • Integrations\Stripe\Checkout service — talks to /v1/checkout/sessions via wp_remote_post (no SDK). Mode (test/live) auto-detected from the sk_test_ / sk_live_ prefix.
  • Api\CheckoutController exposes POST /biolink/v1/stripe/checkout — anonymous, accepts { page_id, block_uuid, amount, currency, name }, returns { id, url } pointing at the hosted Checkout page.
  • Integrations\Stripe\StripeWebhookListener — hooks biolink/webhook/stripe/verify (HMAC SHA-256 against stripe_webhook_secret) and biolink/webhook/stripe for checkout.session.completed. Logs to biolink_stripe_log (capped 200) and fires biolink/stripe/completed.

Added — PayPal Orders v2

  • Integrations\PayPal\Checkout — OAuth client_credentials + transient-cached access token, creates orders via /v2/checkout/orders. Sandbox/live toggle in Settings.
  • POST /biolink/v1/paypal/checkout returns approval URL; POST /biolink/v1/paypal/capture captures an approved order. biolink_paypal_log option + biolink/paypal/captured action.

Added — Email provider adapters

  • Integrations\Email\AbstractEmailAdapter — common plumbing; hooks biolink/newsletter/subscribed.
  • MailchimpAdapter — PUT /3.0/lists/{list_id}/members/{email_md5}, auto-detects datacenter from API key suffix.
  • MailerLiteAdapter — POST connect.mailerlite.com/api/subscribers with optional groups[].
  • ResendAdapter — POST /audiences/{id}/contacts.

Added — Donation block: real provider flow

  • New provider field (link / stripe / paypal) on the block schema.
  • Provider auto-falls-back to link if the chosen provider isn't configured.
  • When provider is stripe or paypal, block renders a <form> that POSTs to the checkout endpoint and redirects to the hosted page.
  • Amount chips become clickable submit buttons that pre-fill the amount.
  • data-action="checkout" handler in biolink.js.

Added — Settings UI

  • New fields: Stripe webhook secret (encrypted), PayPal sandbox toggle, Mailchimp list_id, MailerLite group_id, Resend audience_id (plain text fields).
  • PLAIN_INTEGRATION_KEYS allowlist in SettingsController for non-secret integration settings.

Stats

  • 36 REST endpoints under /wp-json/biolink/v1/ (was 33).
  • 60 unit tests still pass.

Install: download biolink-pro-v1.1.0.zip below and upload via Plugins → Add New → Upload Plugin.
Auto-update: if you already have BioLink Pro installed, this release will appear under Dashboard → Updates within ~12 hours (or click "Check Again" to force a refresh).