# Applying Default Configuration After Onboarding The `OnboardingProfile` has a property named `setup_done`, which indicated whether the default configuration was set up. ### `OnboardingProfile::is_setup_done()` This flag indicated, whether the default plugin configuration was applied or not. It's set to true after the merchant's authentication attempt was successful, and settings were adjusted. The only way to reset this flag, is to enable the "**Start Over**" toggle and disconnecting the merchant: https://example.com/wp-admin/admin.php?page=wc-settings&tab=checkout§ion=ppcp-gateway&panel=settings#disconnect-merchant ### `class SettingsDataManager` The `SettingsDataManager` service is responsible for applying all defaults options at the end of the onboarding process. ### `SettingsDataManager::set_defaults_for_new_merchant()` This method expects a DTO argument (`ConfigurationFlagsDTO`) that provides relevant details about the merchant and onboarding choices. It verifies, if default settings were already applied (by checking the `OnboardingProfile::is_setup_done()` state). If not done yet, the DTO object is inspected to initialize the plugin's configuration, before marking the `setup_done` flag as completed. ## Default Settings Matrix ### Decision Flags - **Country**: The merchant country. - According to PayPal settings, not the WooCommerce country - Test case: Set Woo country to Germany and sign in with a US merchant account; this should trigger the "Country: US" branches below. - **Seller Type**: Business or Casual. - According to PayPal, not the onboarding choice - Test case: Choose "Personal" during onboarding but log in with a business account; this should trigger the "Account: Business" branches below. - **Subscriptions**: An onboarding choice on the "Products" screen. - **Cards**: An onboarding choice, on the "Checkout Options" screen. - Refers to the first option on the checkout options screen ("Custom Card Fields", etc.) ### Payment Methods By default, all payment methods are turned off after onboarding, unless the conditions specified in the following table are met. | Payment Method | Country | Seller Type | Subscriptions | Cards | Notes | |----------------|---------|-------------|---------------|-------|-------------------------------| | Venmo | US | *any* | *any* | *any* | Always | | Pay Later | US | *any* | *any* | *any* | Always | | ACDC | US | Business | *any* | ✅ | Greyed out for Casual Sellers | | BCDC | US | *any* | *any* | ✅ | | | Apple Pay | US | Business | *any* | ✅ | Based on feature eligibility | | Google Pay | US | Business | *any* | ✅ | Based on feature eligibility | | All APMs | US | Business | *any* | ✅ | Based on feature eligibility | ### Settings | Feature | Country | Seller-Type | Subscriptions | Cards | Notes | |-----------------------------|---------|-------------|---------------|-------|----------------------------| | Pay Now Experience | US | _any_ | _any_ | _any_ | | | Save PayPal and Venmo | US | Business | ✅ | _any_ | | | Save Credit and Debit Cards | US | Business | ✅ | ✅ | Requires ACDC eligibility* | - `*` If merchant has no ACDC eligibility, the setting should be disabled (not toggleable). ### Styling All US merchants use the same settings, regardless of onboarding choices. | Button Location | Enabled | Displayed Payment Methods | |------------------|---------|-------------------------------------------------| | Cart | ✅ | PayPal, Venmo, Pay Later, Google Pay, Apple Pay | | Classic Checkout | ✅ | PayPal, Venmo, Pay Later, Google Pay, Apple Pay | | Express Checkout | ✅ | PayPal, Venmo, Pay Later, Google Pay, Apple Pay | | Mini Cart | ✅ | PayPal, Venmo, Pay Later, Google Pay, Apple Pay | | Product Page | ✅ | PayPal, Venmo, Pay Later | ### Pay Later Messaging All US merchants use the same settings, regardless of onboarding choices. | Location | Enabled | |-------------------|---------| | Product | ✅ | | Cart | ✅ | | Checkout | ✅ | | Home | ❌ | | Shop | ❌ | | WooCommerce Block | ❌ | The Founding of YouTube A Short History | Luxury Art in a Box

YouTube is one of the most influential platforms in modern media, but its origin story is surprisingly simple: a small team wanted an easier way to share video online. In the early 2000s, uploading and sending video files was slow, formats were inconsistent, and most websites weren’t built for smooth playback. YouTube’s founders focused on removing those barriers—making video sharing as easy as sending a link.

Who Founded YouTube?

YouTube was founded by three former PayPal employees: Chad Hurley, Steve Chen, and Jawed Karim. They combined product thinking, engineering skills, and a clear user goal: create a website where anyone could upload a video and watch it instantly in a browser.

  • Chad Hurley — product/design focus and early CEO role
  • Steve Chen — engineering and infrastructure
  • Jawed Karim — engineering and early concept support

The Problem YouTube Solved

At the time, sharing video often meant emailing huge files or dealing with complicated players and downloads. YouTube made video:

  1. Uploadable by non-experts (simple interface)
  2. Streamable in the browser (no special setup)
  3. Sharable through links and embedding on other sites

Early Growth and the First Video

YouTube launched publicly in 2005. One of the most famous early moments was the first uploaded video, “Me at the zoo,” featuring co-founder Jawed Karim. The clip was short and casual—exactly the kind of everyday content that proved the platform’s big idea: ordinary people could publish video without needing a studio.

Key Milestones Timeline

Year/Date
Milestone
Why It Mattered
2005 YouTube is founded and launches Introduced easy browser-based video sharing
2005 “Me at the zoo” is uploaded Became a symbol of user-generated video culture
2006 Google acquires YouTube Provided resources to scale hosting and global reach

Why Google Bought YouTube

By 2006, YouTube’s traffic was exploding. Video hosting is expensive—bandwidth and storage costs rise fast when millions of people watch content daily. Google’s acquisition gave YouTube the infrastructure and advertising ecosystem to grow into a sustainable business.

What YouTube’s Founding Changed

YouTube didn’t just create a popular website; it reshaped how people learn, entertain themselves, and build careers online. Its founding helped accelerate:

  • Creator-driven media and influencer culture
  • How-to education and free tutorials at massive scale
  • Music discovery, commentary, and global community trends

From a small startup idea to a global video powerhouse, YouTube’s founding is a classic example of a simple product solving a real problem—and changing the internet in the process.