Commit Graph

12 Commits

Author SHA1 Message Date
Ilyas Foo cd5ffed61b
Deploy payments banner in settings page (#34326)
* Deploy payments banner in settings page, updated tests

* Add track on banner CTA click

* Add test for track

* Changelog

* Fix unit tests
2022-08-17 11:33:24 +08:00
Chi-Hsuan Huang b274831334
Update wcpay suggestion UI in payment task (#33717)
* Add WCPayBanner & WCPayBenefits

* Update payment setting & welcome screen to use components from woo onboarding

* Update wcpay suggestion UI in payment task

* Add changelog

* Add WCPayBannerImageCut image and update wcpay banner style

* Update packages/js/onboarding/src/components/WCPayBanner/WCPayBanner.scss

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

* Set .woocommerce-recommended-payments-banner__image_container display: flex

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2022-07-06 14:20:11 +08:00
Chi-Hsuan Huang 97f3e2d609
Fix untranslated texts on payment setting page (#33718)
Fix untranslated string in payment setting page
2022-07-05 13:28:31 +08:00
Ilyas Foo 9c4c3834a7
Fix payments settings banner experiment logic (#33549)
* Delegate payment experiment logic into its own hook and rearrange the checking logic to be before the experiment is called

* Changelog
2022-06-22 16:45:31 +08:00
Chi-Hsuan Huang 7068c78101
Fix JS lint errors (#33484)
* Fix @woocommerce/data lint errors

* Fix internal-e2e-builds lint error

* Fix lint errors
2022-06-21 16:37:34 +08:00
Chi-Hsuan Huang 1a87301894 Fix payment settings banner tos link 2022-05-18 10:21:29 +08:00
moon 285047fde8 Update the description and make the button to redirect the users to the WC Pay connect page when the WC Pay is already installed 2022-05-16 15:37:38 -07:00
Chi-Hsuan Huang 11f321a334 Add isWcPaySupported util function for payments 2022-04-26 11:14:05 +08:00
Chi-Hsuan Huang 3ee2fcaeac Use getAdminLink to format WC_PAY_SETUP_URL 2022-04-26 10:55:44 +08:00
Ilyas Foo 2398fdf772 Change experiment name to dynamic 2022-04-26 10:47:01 +08:00
RJChow 6151f4021c Revert "Changed e2e payment settings page detection"
This reverts commit 1a7c40316e.
2022-04-21 14:08:32 +08:00
RJChow 73634d63d8 cleanup 2022-04-21 11:29:28 +08:00