Skip to content

Changelog

What's new in SutraPay for PayPal

Every release of SutraPay for PayPal, newest first.

Latest release

Version 0.10.1

  • Changed: new SutraPay brand: the SutraPay for PayPal logo (now a PNG) in the plugin’s screens.

Release

Version 0.10.0

  • Changed: every internal name (code, settings, gateway id, webhook address, styles, scripts) is now sutrapay_paypal; earlier builds used flexwoopaypal.

Release

Version 0.9.0

  • Changed: the plugin is now called SutraPay for PayPal and lives in the sutrapay-for-paypal folder. Settings, webhooks and saved payment methods are kept; a copy in the previous folder (flex-paypal-payments) is switched off and can be removed with one button.
  • Changed: updates come through WordPress’s Updates screen when MemberSutra (website download) or MemberSutra Pro for WooCommerce is active.

Release

Version 0.8.4

  • Changed: renamed to Flex PayPal Payments (formerly MemberSutra). The plugin now lives in the flex-paypal-payments folder (text domain flex-paypal-payments). Installing this version next to the old flexwoo-paypal-payments copy switches the old copy off and keeps all settings and data; a notice then offers to remove the old copy safely.

Release

Version 0.8.3

  • Maintenance: released with MemberSutra 1.43.3; no code changes since 0.8.2.

Release

Version 0.8.2

  • Changed: the plugin’s home page and author links point to https://sutraplugins.com.
  • Security: the settings screen’s JSON and the checkout error reports are sanitized as they are decoded.

Release

Version 0.8.1

  • Security: the General tab no longer writes the PayPal Client Secrets into the page. The fields show a mask with the last 4 characters; leave it unchanged to keep the saved secret, or type a new one to replace it.
  • Changed: the admin menu and main page are named “SutraPay for PayPal” (was “PayPal Payments by MemberSutra”), matching the plugin name.

Release

Version 0.8.0

  • Changed: the plugin is now named SutraPay for PayPal, like the other MemberSutra plugins. The folder, slug and text domain stay sutrapay-paypal-payments, so updating replaces the installed copy and settings are kept.
  • Maintenance release: production-readiness review with MemberSutra 1.41.0 (Plugin Check clean, full regression including PayPal sandbox subscriptions). Its scheduled cleanup job is listed under MemberSutra > Tools > Cron Jobs. No functional changes.

Release

Version 0.7.0

  • Added: a subscription plugin can ask for its plan to be sold as a PayPal-run subscription even when the payment method could be saved (‘paypal_billing’), and can describe one discounted run of renewals after the first payment (‘discount’). The discount becomes the plan’s second trial cycle.
  • Added: filters to read, cancel, suspend and re-activate a PayPal-run subscription (sutrapay_paypal_billing_subscription_get, _cancel, _suspend, _activate).
  • Added: the plan filter (sutrapay_paypal_recurring_plan) receives the order being paid, so the plan can depend on its coupons.
  • Fixed: a plan limited to a number of payments without a trial billed one payment too many. total_cycles now counts every payment, the first included. Billing plans are re-created once for new subscriptions; running subscriptions keep their plans.

Release

Version 0.6.0

  • Changed: the storefront runs on PayPal’s JavaScript SDK v6 (v5 is deprecated by PayPal). The SDK is started with paypal.createInstance() and the components each page needs, payment methods are checked with findEligibleMethods(), the buttons are PayPal’s web components (<paypal-button>, <venmo-button>, <paypal-pay-later-button>, <paypal-credit-button>) started through payment sessions, Pay Later messages use <paypal-messages>, and the hosted card fields use the v6 card fields session. Sandbox credentials load PayPal’s sandbox SDK.
  • Added: Google Pay and Apple Pay at checkout through the v6 sessions. Both are off by default: turn them on once the wallet is enabled on your PayPal account; Apple Pay also needs the domain-association file from PayPal’s dashboard, which is pasted on the Apple Pay / Google Pay screen and served for Apple. (Before, they could be switched on but no button was ever shown.)
  • Added: Pay Later messages on the checkout page (“Show on checkout page” had no effect), and PayPal Credit as a button.
  • Fixed: the Cards “3D Secure” setting was not applied. Card orders now ask for 3-D Secure always / when required, and an approved card payment is only captured when its 3-D Secure result allows it (a failed or unknown authentication is refused and nothing is charged).
  • Changed: button settings follow v6: colours gold, blue or white (silver is shown as white, black as blue), labels “Pay with PayPal”, “PayPal Checkout” or “PayPal Buy Now”; the Pay Later message style is now a logo and text colour choice. The “Credit/Debit Card button” funding option is gone (cards are paid in the card fields).
  • Changed: a purchase that renews automatically is only offered the PayPal button, the card fields and saved methods (Venmo, Pay Later, Credit and the wallets cannot be saved for renewals).
  • Changed: orders built for a PayPal redirect use payment_source.paypal.experience_context instead of the deprecated application_context.

Release

Version 0.5.0

  • Added: saved payment methods (PayPal Vault v3) for PayPal accounts and cards. A subscription always saves the method it is paid with; for other purchases customers can tick “Save this payment method”. Saved methods are offered at checkout (classic and block) and on the order Pay page.
  • Added: subscription renewals are charged off-session with the saved method through woocommerce_scheduled_subscription_payment_{gateway} for any subscription engine (WooCommerce Subscriptions, MemberSutra …), with the outcome written on the order and announced by sutrapay_paypal_renewal_payment_result. A renewal PayPal holds for review waits On hold for the webhook; a renewal that needs the customer fails with a note and can be paid from its Pay page.
  • Added: the order Pay page (a failed renewal, an invoice) can be paid with the PayPal buttons, the card fields or a saved method; a 3-D Secure challenge takes the customer to PayPal and back.
  • Added: My Account -> Add payment method saves a PayPal account (approved at PayPal, nothing charged); a free trial saves the PayPal account the same way at checkout. Cards are saved together with a payment, so the card gateway is not offered on that page.
  • Added: My Account -> Payment methods names saved methods (“PayPal (email)”, “Visa ending in 1111”) instead of “N/A”.
  • Added: WooCommerce Subscriptions: the saved method per subscription (editable by the admin), payment method changes after a failed renewal, and moving subscriptions to another saved method when one is deleted.
  • Added: the Saved Payment Methods tab shows whether your PayPal account can save payment methods; “Test connection” checks it.
  • Changed: a recurring plan described by the sutrapay_paypal_recurring_plan filter is bought with a saved method and renewed by the site; it is only sold as a PayPal-run subscription when the method cannot be saved. Existing PayPal-run subscriptions are unchanged.
  • Fixed: express checkout (product, cart and mini-cart buttons) now builds the order like WooCommerce’s checkout — cart coupons, fees, shipping and taxes are kept, so a cart with a coupon no longer fails the amount check — attaches the logged-in customer and fills the buyer’s e-mail and address from PayPal when none was typed.
  • Fixed: card payments were recorded as the PayPal gateway instead of the card gateway.
  • Fixed: a capture PayPal holds for review (PENDING) marked the order paid; it now waits On hold for PayPal’s decision.
  • Fixed: capture webhooks for orders paid with the buttons could not find their order; a partial refund at PayPal marked the whole order Refunded.
  • Removed: the “retry failed renewals” settings, which did nothing — the subscription plugin owns retries.

Release

Version 0.4.10

  • Security: the webhook event-ledger cleanup no longer instantiates objects from stored values (allowed_classes disabled).
  • Verified against the PayPal sandbox: OAuth handshake, order creation and read-back, refusal of a capture the buyer has not approved, forged-signature rejection, webhook registration.
  • Fixed: the card fields never rendered on the classic checkout (rendered once into a hidden panel and never retried); they now render when visible, retry on failure and re-render after a checkout refresh. Cross-origin “Script error.” events are no longer logged as plugin errors.
  • Fixed: settings saves accepted any value; every field is now validated (allowed lists, integer ranges) and an invalid save is refused with a message.
  • Fixed: the Logs screen used WooCommerce log helpers deprecated since 8.6.
  • Added: “External services” disclosure in readme.txt. WC tested up to 11.1.1.

Add PayPal to your checkout today

Free forever. You pay only PayPal’s own fees.