Automattic / Automattic/jetpack

"Enable payment button" and "Enable donation form" links redirect to an unexpected place

Open
#35,393 3 comments 0 reactions 0 assignees View on GitHub
[Feature] Earn Blocks [Plugin] Jetpack [Pri] Normal [Status] Needs Author Reply Earn Enhancement Triaged
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Jetpack

### Quick summary

When in the Jetpack > Settings > Monetize dashboard, the `Enable payment button` and `Enable donation form` links redirect to an unexpected place.

### Steps to reproduce

1. On an ads-enabled Jetpack site, go to Jetpack > Settings > Monetize.
2. Scroll to Collect Payments and click `Enable Payment Button` OR
3. Scroll to Accept donation and tips and click `Enable donations form.`

### A clear and concise description of what you expected to happen.

Each link should go to a page specific to that setting, or maybe the main `Monetization Options` tab.

### What actually happened

Redirect goes to the `Payment Settings` tab (https://wordpress.com/earn/payments/URL), which is not related to either of above mentioned options. Might make the user feel lost.

Screenshot 2024-02-01 at 14 41 42

### Impact

Most (> 50%)

### Available workarounds?

Yes, difficult to implement

### Platform (Simple and/or Atomic)

Self-hosted

### Logs or notes

_No response_

Contributor guide

Open the contributing guide

Research direction

The affected entry point is Jetpack > Settings > Monetize, specifically Collect Payments and Accept donation and tips. Reproduce both links, trace their configured destinations, and verify that each reaches the relevant setting or Monetization Options tab rather than Payment Settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
frontend, payments
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.