Automattic / woocommerce-payments

Accept payments via credit card. Manage transactions within WordPress.
https://wordpress.org/plugins/woocommerce-payments/
Other
174 stars 69 forks source link

[ECE] Provide a locale to the ECE element instead of relying on Stripe to detect it for us #9245

Closed reykjalin closed 1 month ago

reykjalin commented 2 months ago

Description

Acceptance criteria

Designs

Testing instructions

Dev notes

See Stripe's doc on how to provide the locale option here.

The locale is loaded to the front-end here for the PRBs:

https://github.com/Automattic/woocommerce-payments/blob/106db15e504912b1561da4139d900d8fba47d284/includes/express-checkout/class-wc-payments-express-checkout-button-handler.php#L229

Additional context

anu-rock commented 2 months ago

This issue is related to the PRB (payment request button) to ECE (express checkout element) migration. Sending it to @Automattic/fractal (cc @bborman22) as per our product responsibilities Pc2DNy-3z-p2.

bborman22 commented 1 month ago

Hey team! Please add your planning poker estimate with Zenhub @asumaran @cesarcosta99 @lovo-h @rafaelzaleski @reykjalin @ricardo