Automattic / Automattic/jetpack
Simple payments block: default currency to user's preferred choise
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
When creating a Simple Payments block in Gutenberg, the currency selection now always defaults to USD.

Currency should default to user's locale just like it does in Calypso Classic editor:

The currency could also default to _site's_ locale.
It could also default to previously chosen currency if available so that user wouldn't need to choose it for each block separately.
Contributor guide
Research direction
Locate the Simple Payments block's currency-selection entry point and compare its defaulting behavior with the Calypso Classic editor. Resolve whether the default should use the user's locale, the site's locale, or a previously selected currency, then verify that a newly created block no longer always selects USD.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend, payments
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100