Skip to content

Conversation

@wjrosa
Copy link
Contributor

@wjrosa wjrosa commented Oct 22, 2025

See peNR48-1Qg#comment-1095-p2

Changes proposed in this Pull Request:

In this PR, we are introducing a mechanism to onboard plugin merchants to the Jetpack Transact Platform. It follows the same standard we have in PayPal, with most of the code ported from there.

The onboarding logic is triggered upon saving the Stripe settings or by performing a plugin upgrade.

Testing instructions

  • Apply the 194549-ghe-Automattic/wpcom to your WPCOM Sandbox
  • Checkout to this branch on your test environment (dev/jetpack-onboarding-class)
  • Make sure it is externally accessible
  • And that the /etc/hosts file contains an entry for your WPCOM sandbox:
<WPCOM Sandbox IP> public-api.wordpress.com
  • Connect your Stripe account
  • Attempt to save any Stripe setting, like toggling OCS on/off
  • Check the value of the Stripe settings option on your database (wp_options, woocommerce_stripe_settings key)
  • Confirm transact_onboarding_complete is present with the yes value

  • Covered with tests (or have a good reason not to test in description ☝️)
  • Tested on mobile (or does not apply)

Changelog entry

  • This Pull Request does not require a changelog entry. (Comment required below)
Changelog Entry Comment

Comment

Post merge

@wjrosa wjrosa self-assigned this Oct 22, 2025
@wjrosa wjrosa changed the title Jetpack onboarding class Onboarding to Jetpack upon saving the settings or upgrading the extension Oct 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants