Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payments: Add visual clues for donation products #24074

Closed
Copons opened this issue Apr 25, 2022 · 7 comments · Fixed by #25397
Closed

Payments: Add visual clues for donation products #24074

Copons opened this issue Apr 25, 2022 · 7 comments · Fixed by #25397
Assignees
Labels
[Block] Paid Content aka Premium Content [Block] Payment Button aka Recurring Payments Earn Earn features [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it

Comments

@Copons
Copy link
Contributor

Copons commented Apr 25, 2022

Users now have the ability to manually create products of type donations both in the editor and in the Calypso Earn section.

Donation products don't have any visual clue to distinguish them from regular products.

We should add some visual indications (label, icon, etc.) in the Product Management selector component in the editor, and in the Calypso Earn section.

Editor Calypso
Screenshot 2022-04-25 at 15 31 18 Screenshot 2022-04-25 at 15 31 41
@Copons Copons added [Block] Payment Button aka Recurring Payments [Block] Paid Content aka Premium Content [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it labels Apr 25, 2022
@BogdanUngureanu
Copy link
Contributor

BogdanUngureanu commented Apr 29, 2022

In Calypso I think adding a label after the name of the subscription would be similar to what we do in Calypso Pages with the "homepage" tag.
Screenshot 2022-04-29 at 17 04 28
Screenshot 2022-04-29 at 17 03 27

We could also add an icon with a heart, since we already use one for the Donations block, so the label would look like ":heart: Donation"

As for the Editor, not sure. We don't have enough real estate in that menu, so an icon would be ideal. However, not sure if it has enough context, since users might assume it's some kind of bookmarking button if we opt for the ❤️ icon.

What do you think?

@Copons
Copy link
Contributor Author

Copons commented Apr 29, 2022

cc @SaxonF

@SaxonF
Copy link

SaxonF commented May 13, 2022

I wonder if we need to differentiate as whether something is a donation or could we just rely on the name added by the customer? If a payment plan is marked as a donation, could we update the name of the plan to be something like "Monthly donation" if the plan name wasn't already changed? The same could be done for one-off payments.

This might be a silly question but can you mark a plan as a donation if added from Earn?

image

@Copons
Copy link
Contributor Author

Copons commented May 13, 2022

This might be a silly question but can you mark a plan as a donation if added from Earn?

@SaxonF Not yet!
We have a PR ready to go, but were waiting for a JP release — which has happened now (cc @BogdanUngureanu): Automattic/wp-calypso#62208

I wonder if we need to differentiate as whether something is a donation or could we just rely on the name added by the customer? If a payment plan is marked as a donation, could we update the name of the plan to be something like "Monthly donation" if the plan name wasn't already changed? The same could be done for one-off payments.

Ah, something like this?
Normally the default product name is "Monthly subscription", but if the user flips some toggles, it could automatically be updated to something else, provided it hasn't been manually updated already.

E.g.

Frequency Type Default Name
one-time default Payment
one-time donation Donation
monthly default Monthly Subscription
monthly donation Monthly Donation
yearly default Yearly Subscription
yearly donation Yearly Donation

In the editor, we have used a fairly custom approach for the strings, which are controlled by the block, but it should be doable. 🤔

@SaxonF
Copy link

SaxonF commented Jun 8, 2022

@Copons yep exactly!

@jeherve jeherve added Earn Earn features and removed Payment Blocks labels Jul 8, 2022
@dsas dsas self-assigned this Aug 5, 2022
@dsas dsas reopened this Aug 5, 2022
@dsas
Copy link
Contributor

dsas commented Aug 5, 2022

#25397 fixes this for Jetpack, but the same change needs making in Calypso :)

@dsas
Copy link
Contributor

dsas commented Aug 8, 2022

Calypso change is at Automattic/wp-calypso#66338

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Paid Content aka Premium Content [Block] Payment Button aka Recurring Payments Earn Earn features [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants