Commit Graph

3398 Commits

Author SHA1 Message Date
Mike Jolley e0421cd7bc Replay protection on refunds
Sends the current refunded amount with the request, so if a refund is
attempted twice it will mismatch.

Fixes #13614
2017-09-28 16:17:13 +01:00
claudiulodro a5c2ebb2f2 Bring up-to-date with master and recompile css 2017-09-27 13:32:09 -07:00
Jeff Stieler f6c0054aa1 Setup wizard: use a setup wizard specific ID for the Jetpack connection URL. 2017-09-27 14:04:40 -06:00
Valerie 5e33fc0b58 Wizard: Fix bad email check for Stripe status
We are no longer asking for the user's email or
saving it, so it shouldn't be checked against.
2017-09-27 23:03:01 +03:00
Valerie 72f9ce08ac Wizard: Move Jetpack TOS above button 2017-09-27 22:48:33 +03:00
Jeff Stieler 6793afed50 Setup wizard: for non-Services merchants, mention that Jetpack is for “extra” features on the activate step. 2017-09-27 13:27:52 -06:00
Valerie b772b002a9 Wizard: Save payments enabled status
- toggle payment option on if its setting was previously saved,
  or if it's listed as to be toggled on be default
- check if setting is saved as enabled in options
2017-09-27 22:26:13 +03:00
Jeff Stieler 3f7c3af3e5 Setup wizard: default Stripe gateway on, swap email input for opt-in account creation. 2017-09-27 13:14:13 -06:00
Jeff Stieler 7b9b09e9ad Setup wizard: consolidate translations for Jetpack enabled features list as much as possible. 2017-09-27 12:46:01 -06:00
Valerie 8c2a2860e3 Wizard: Correctly save taxes opt-in status
- Make sure to save the option every time, even if not selected
- Show the corresponding state in the toggle
2017-09-27 20:05:41 +03:00
Valerie 0b2bad8122 Wizard: Update 'WP Admin' to 'dashboard' 2017-09-27 17:30:09 +03:00
Valerie bd98a7098d Wizard: Remove superfluous description in last step 2017-09-27 17:29:40 +03:00
Valerie d6c94e4837 Wizard: Remove superfluous Extras description 2017-09-27 17:26:43 +03:00
Valerie a09b7f1670 Wizard: Update shipping info text 2017-09-27 17:24:50 +03:00
Konstantin Kovshenin d63eb56753 Helper: Add a new filter to display only installed extensions. 2017-09-27 15:17:24 +03:00
Mike Jolley 9800d72c82 Merge pull request #16949 from woocommerce/fix/16928
[Importer] Display error message when it's impossible to get a sample of the file
2017-09-27 13:01:20 +01:00
José Marques 409a3a0141 Helper: replaces path on logo image to new Woo theme location path 2017-09-27 11:07:19 +01:00
Jeff Stieler 3a3ae914a3 Setup wizard: add TOS blurb to the “activate” step. 2017-09-26 15:10:30 -06:00
Valerie f183344a9c Wizard: Style footnote on last page 2017-09-26 15:10:30 -06:00
Valerie 83d7b03883 Wizard: Style next actions section 2017-09-26 15:10:29 -06:00
Valerie 2348faf9e5 Wizard: style newsletter form 2017-09-26 15:10:29 -06:00
Valerie f4bc596664 Wizard: Make payment service email required 2017-09-26 15:10:29 -06:00
Valerie 5a7db686c5 Wizard: Add placeholder to flat rate cost input 2017-09-26 15:10:29 -06:00
Valerie aee55f4b68 Wizard: Style shipping method selection 2017-09-26 15:10:29 -06:00
Valerie 17a97ca3f7 Wizard: Remove inline CSS for unit dropdowns 2017-09-26 15:10:28 -06:00
Valerie 4be979f322 Setup wizard: Style email input for payment service 2017-09-26 15:10:28 -06:00
Valerie 1dadabaa56 Setup wizard: Style store info form 2017-09-26 15:10:28 -06:00
Valerie 244296b814 Setup wizard: Update button style 2017-09-26 15:10:27 -06:00
Valerie 426c0c2743 Setup wizard: Style Jetpack logo 2017-09-26 15:10:27 -06:00
Valerie 24e3db78ec Setup wizard: Style Jetpack feature sections 2017-09-26 15:10:27 -06:00
Valerie 0f04645bea Setup wizard: Show correct shipping text on select 2017-09-26 15:10:27 -06:00
Valerie 1960b6bcd1 Setup wizard: Fix thick border in toggle list 2017-09-26 15:10:27 -06:00
Valerie 18deb4dc2e Setup wizard: Style shipping unit selection 2017-09-26 15:10:26 -06:00
Valerie 43949c2b74 Setup wizard: Add shipping units descriptions 2017-09-26 15:10:26 -06:00
Valerie fc5aa77259 Setup wizard: Style shipping method description 2017-09-26 15:10:26 -06:00
Daniel Rey Lopez a5d8c371b4 Added logic to install the plugins and themes asynchronously but without using wp-cron 2017-09-26 15:10:25 -06:00
Daniel Rey Lopez 28964433fb Added wrapper function for installing a theme 2017-09-26 15:10:25 -06:00
Daniel Rey Lopez 73183634d2 Removed unused "background" argument, since it's always true 2017-09-26 15:10:25 -06:00
Daniel Rey Lopez 5c867094cc Remove unused install_jetpack() function parameter. 2017-09-26 15:10:25 -06:00
Jeff Stieler 3ba7617594 Setup wizard: change copy to “recommended” extras. 2017-09-26 15:10:24 -06:00
Jeff Stieler 09bbb1c3de Setup wizard: update the copy in several places. 2017-09-26 15:10:24 -06:00
Jeff Stieler 5ced91d56f Setup wizard: update comments to have ending punctuation and fix a few typos. 2017-09-26 15:10:24 -06:00
Jeff Stieler 47085db0b2 Setup wizard: refactor featured service check to be more efficient.
Use `empty()` instead of `isset()` and a comparison.
2017-09-26 15:10:24 -06:00
Jeff Stieler e220926b65 Setup wizard: remove markup (where possible) from the translated Stripe service description. 2017-09-26 15:10:24 -06:00
Jeff Stieler e4614b39e3 Setup wizard: make Stripe an opt-in gateway, rename “manual payments” to “offline” payments to align with the header text. 2017-09-26 15:10:24 -06:00
Jeff Stieler e6dc95432a Setup wizard: hide settings until a service is enabled. 2017-09-26 15:10:23 -06:00
Jeff Stieler 3a09d74ed4 Setup wizard: use email address of the current user (not the admin) on payments and “ready!” steps. 2017-09-26 15:09:44 -06:00
Jeff Stieler 27c6a3a141 Setup wizard: clean up unused array keys when determining Stripe country support. 2017-09-26 15:09:44 -06:00
Jeff Stieler 202808fdb8 Setup wizard: fix missing translations on payments step. 2017-09-26 15:09:43 -06:00
Jeff Stieler 3fda0f00a0 Setup wizard: remove contraction and add oxford comma to tailored “activate” step messaging. 2017-09-26 15:09:43 -06:00