BioLink Pro v1.1.1
Added — Closed loops
- PayPal
ReturnHandler—template_redirectlistener onbiolink_pageCPT catches?biolink_paypal=return&token={order_id}after approval, callsCheckout::captureAndLog(), thenwp_safe_redirect()s to a clean URL with?biolink_payment=success|failed. Cancel returns redirect to?biolink_payment=cancel. Checkout::captureAndLog($order_id)— extracted fromCheckoutController::paypalCapture. Shared between the REST endpoint and the new return handler. Returns the compact entry array on success, null on failure.- ProductCard provider support — new
providerfield (link | stripe | paypal | stripe_and_paypal),price_value(numeric for checkout),currencyfields. Same flow as DonationBlock. - "Stripe + PayPal" dual-provider option on both DonationBlock and ProductCardBlock — when both providers are configured AND the block is set to
stripe_and_paypal, renders Stripe primary button + secondary "or pay with PayPal" button below. Falls back to whichever single provider is configured if one is missing.
Fixed
PageRenderernow passes$uuidto ProductCardBlock (was already passed to LinkBlock + DonationBlock).
Changed
DonationEditor/ProductCardEditorprovider dropdown order: Stripe first (recommended), then Stripe+PayPal, then PayPal only, then External link.
Install: download biolink-pro-v1.1.1.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).