Skip to content

Conversation

@Mayisha
Copy link
Contributor

@Mayisha Mayisha commented Oct 23, 2025

Fixes STRIPE-<linear_issue_id>
Fixes #<github_issue_id>

Changes proposed in this Pull Request:

Testing instructions


  • 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

@Mayisha Mayisha marked this pull request as draft October 23, 2025 22:04
* @return array|null The API response body, or null if the request fails.
*/
public function send_wpcom_proxy_request( $method, $endpoint, $headers = [], $request_body = [] ) {
$site_id = \Jetpack_Options::get_option( 'id' );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may want to add a check for $this->is_transact_api_enabled(), just to make sure we fail quickly if those conditions are not met.

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.

4 participants