> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dodopayments.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WooCommerce-plugin

> Integrera Dodo Payments sömlöst med din WooCommerce-butik för att ta emot globala betalningar via UPI, kort och mer.

## Introduktion

Dodo Payments WooCommerce-plugin ger en sömlös integration med din butik, vilket gör att du kan ta emot betalningar genom flera metoder inklusive UPI, kort, nätbank och digitala plånböcker. Denna omfattande guide kommer att vägleda dig genom installations- och konfigurationsprocessen.

## Steg-för-steg installationsguide

1. Ladda ner den senaste zip-filen av WooCommerce betalningsplugin.

   <Card title="Download Plugin" icon="download" href="https://github.com/dodopayments/dodo-woocommerce/releases">
     Skaffa den senaste versionen av vår WooCommerce-plugin
   </Card>

   Alternativt kan du installera direkt från WordPress plugin-katalogen:

   <Card title="WordPress Plugin Directory" icon="wordpress" href="https://wordpress.org/plugins/dodo-payments-for-woocommerce/">
     Installera Dodo Payments för WooCommerce från WordPress.org
   </Card>

2. Logga in på din WordPress-webbplats som administratör (vi antar att du redan har WooCommerce inställt)

3. Gå till **Plugins → Lägg till nytt plugin**

   <Frame>
     <img src="https://mintcdn.com/dodopayments/rsanoiHs7RZfcFW7/images/woocommerce/1.webp?fit=max&auto=format&n=rsanoiHs7RZfcFW7&q=85&s=f26041db02cf678f4785a8d72631d0e2" alt="Dodo Payments for WooCommerce Plugin" style={{ maxHeight: '500px', width: 'auto' }} width="447" height="136" data-path="images/woocommerce/1.webp" />
   </Frame>

4. Klicka på knappen **Ladda upp plugin** och en filvalsdialog kommer att visas

   <Frame>
     <img src="https://mintcdn.com/dodopayments/rsanoiHs7RZfcFW7/images/woocommerce/2.webp?fit=max&auto=format&n=rsanoiHs7RZfcFW7&q=85&s=9f20388bab236d046cbff312646dcd98" alt="Dodo Payments for WooCommerce Plugin" style={{ maxHeight: '500px', width: 'auto' }} width="433" height="75" data-path="images/woocommerce/2.webp" />
   </Frame>

   <Frame>
     <img src="https://mintcdn.com/dodopayments/rsanoiHs7RZfcFW7/images/woocommerce/3.webp?fit=max&auto=format&n=rsanoiHs7RZfcFW7&q=85&s=c9cdccfe01ceda93932c9feea5ee5e65" alt="Dodo Payments for WooCommerce Plugin" style={{ maxHeight: '500px', width: 'auto' }} width="1313" height="356" data-path="images/woocommerce/3.webp" />
   </Frame>

5. Klicka på **Bläddra...** och välj zip-filen du laddade ner

6. Klicka på knappen **Installera nu** för att börja installationsprocessen

   <Frame>
     <img src="https://mintcdn.com/dodopayments/rsanoiHs7RZfcFW7/images/woocommerce/4.webp?fit=max&auto=format&n=rsanoiHs7RZfcFW7&q=85&s=3a785b07a5c0f47318893a73059875b5" alt="Dodo Payments for WooCommerce Plugin" style={{ maxHeight: '500px', width: 'auto' }} width="1024" height="307" data-path="images/woocommerce/4.webp" />
   </Frame>

7. Efter att installationen är klar, klicka på **Aktivera plugin** eller aktivera det från avsnittet **Installerade plugins**

   <Frame>
     <img src="https://mintcdn.com/dodopayments/rsanoiHs7RZfcFW7/images/woocommerce/5.webp?fit=max&auto=format&n=rsanoiHs7RZfcFW7&q=85&s=d7a144b16abd059e81a694585f3d6923" alt="Dodo Payments for WooCommerce Plugin" style={{ maxHeight: '500px', width: 'auto' }} width="897" height="289" data-path="images/woocommerce/5.webp" />
   </Frame>

8. Pluginet är nu installerat, men konfiguration krävs fortfarande. Fortsätt till installationsguiden nedan.

## Konfigurationsguide

### Ställa in API-nycklar och webhooks

1. Navigera till **WooCommerce → Inställningar → Betalningar** eller klicka på knappen **Betalningar** i vänstra sidofältet under WooCommerce-menyalternativet

   <Frame>
     <img src="https://mintcdn.com/dodopayments/rsanoiHs7RZfcFW7/images/woocommerce/6.webp?fit=max&auto=format&n=rsanoiHs7RZfcFW7&q=85&s=292552cc453ac05b4a0a368cd0d2adb8" alt="Dodo Payments for WooCommerce Plugin" style={{ maxHeight: '500px', width: 'auto' }} width="1887" height="958" data-path="images/woocommerce/6.webp" />
   </Frame>

   <Frame>
     <img src="https://mintcdn.com/dodopayments/rsanoiHs7RZfcFW7/images/woocommerce/7.webp?fit=max&auto=format&n=rsanoiHs7RZfcFW7&q=85&s=e289459e7a2c95082504229293c0863e" alt="Dodo Payments for WooCommerce Plugin" style={{ maxHeight: '500px', width: 'auto' }} width="234" height="242" data-path="images/woocommerce/7.webp" />
   </Frame>

2. Aktivera betalningsleverantören **Dodo Payments** om den inte redan är aktiverad, klicka sedan på **Hantera** för att konfigurera pluginet

3. Du kommer att se olika konfigurationsalternativ, var och en med förklarande text. Börja med att ställa in din Live API Key

   <Frame>
     <img src="https://mintcdn.com/dodopayments/rsanoiHs7RZfcFW7/images/woocommerce/8.webp?fit=max&auto=format&n=rsanoiHs7RZfcFW7&q=85&s=0cad2f1d5bbba36d54e1d54e8ffb8961" alt="Dodo Payments for WooCommerce Plugin" style={{ maxHeight: '500px', width: 'auto' }} width="1658" height="867" data-path="images/woocommerce/8.webp" />
   </Frame>

4. Logga in på din Dodo Payments-instrumentpanel i **Live Mode**, navigera sedan till **Dodo Payments (Live Mode) > Developer > API Keys** eller besök [denna direkta länk](https://app.dodopayments.com/developer/api-keys) och klicka på **Lägg till API-nyckel**

   <Frame>
     <img src="https://mintcdn.com/dodopayments/rsanoiHs7RZfcFW7/images/woocommerce/9.webp?fit=max&auto=format&n=rsanoiHs7RZfcFW7&q=85&s=baa03ad325826db734456fd30e30363c" alt="Dodo Payments for WooCommerce Plugin" style={{ maxHeight: '500px', width: 'auto' }} width="1876" height="991" data-path="images/woocommerce/9.webp" />
   </Frame>

5. Ge din API-nyckel ett beskrivande namn och klicka på **Skapa**

   <Frame>
     <img src="https://mintcdn.com/dodopayments/rsanoiHs7RZfcFW7/images/woocommerce/10.webp?fit=max&auto=format&n=rsanoiHs7RZfcFW7&q=85&s=af89376b00b5265c1d375dcc6fa218f3" alt="Dodo Payments for WooCommerce Plugin" style={{ maxHeight: '500px', width: 'auto' }} width="549" height="365" data-path="images/woocommerce/10.webp" />
   </Frame>

6. Kopiera den genererade API-nyckeln och klistra in den i fältet **Live API Key** i dina WooCommerce-plugin-inställningar

   <Frame>
     <img src="https://mintcdn.com/dodopayments/rsanoiHs7RZfcFW7/images/woocommerce/11.webp?fit=max&auto=format&n=rsanoiHs7RZfcFW7&q=85&s=bd998ae7bb40791d2193b807813521cb" alt="Dodo Payments for WooCommerce Plugin" style={{ maxHeight: '500px', width: 'auto' }} width="570" height="491" data-path="images/woocommerce/11.webp" />
   </Frame>

   <Frame>
     <img src="https://mintcdn.com/dodopayments/rsanoiHs7RZfcFW7/images/woocommerce/12.webp?fit=max&auto=format&n=rsanoiHs7RZfcFW7&q=85&s=dd3f751317c6be0401c50bde584705e2" alt="Dodo Payments for WooCommerce Plugin" style={{ maxHeight: '500px', width: 'auto' }} width="1395" height="115" data-path="images/woocommerce/12.webp" />
   </Frame>

7. Nästa steg, sätt upp Webhook Signing Key för att möjliggöra betalningsstatussynkronisering mellan Dodo Payments och WooCommerce

8. Scrolla till botten av pluginets inställningssida och kopiera webhook-URL:en som visas där

   <Frame>
     <img src="https://mintcdn.com/dodopayments/rsanoiHs7RZfcFW7/images/woocommerce/13.webp?fit=max&auto=format&n=rsanoiHs7RZfcFW7&q=85&s=becfefe5c5e04aeecefb8b8d126ff571" alt="Dodo Payments for WooCommerce Plugin" style={{ maxHeight: '500px', width: 'auto' }} width="1062" height="239" data-path="images/woocommerce/13.webp" />
   </Frame>

9. Gå tillbaka till din Dodo Payments-instrumentpanel och navigera till **Dodo Payments (Live Mode) > Developer > Webhooks** och klicka på **Lägg till Webhook**

   <Frame>
     <img src="https://mintcdn.com/dodopayments/rsanoiHs7RZfcFW7/images/woocommerce/14.webp?fit=max&auto=format&n=rsanoiHs7RZfcFW7&q=85&s=fda4e9a992317218190c439b9addb6d3" alt="Dodo Payments for WooCommerce Plugin" style={{ maxHeight: '500px', width: 'auto' }} width="1884" height="994" data-path="images/woocommerce/14.webp" />
   </Frame>

10. Klistra in URL:en du kopierade i steg 8 i dialogrutan och klicka på **Lägg till Webhook**

    <Frame>
      <img src="https://mintcdn.com/dodopayments/rsanoiHs7RZfcFW7/images/woocommerce/15.webp?fit=max&auto=format&n=rsanoiHs7RZfcFW7&q=85&s=da9541f69ffaa9e37f4135c6163329c0" alt="Dodo Payments for WooCommerce Plugin" style={{ maxHeight: '500px', width: 'auto' }} width="542" height="417" data-path="images/woocommerce/15.webp" />
    </Frame>

11. Efter att du skapat webhook, klicka på ögonikonen bredvid den dolda **Signing Key** för att avslöja och kopiera den

    <Frame>
      <img src="https://mintcdn.com/dodopayments/rsanoiHs7RZfcFW7/images/woocommerce/16.webp?fit=max&auto=format&n=rsanoiHs7RZfcFW7&q=85&s=9f342ef95be984773dd065c0fd46f1a4" alt="Dodo Payments for WooCommerce Plugin" style={{ maxHeight: '500px', width: 'auto' }} width="1527" height="356" data-path="images/woocommerce/16.webp" />
    </Frame>

12. Klistra in underskriftsnyckeln i fältet **Live Webhook Signing Key** i dina plugin-inställningar och spara ändringarna

    <Frame>
      <img src="https://mintcdn.com/dodopayments/rsanoiHs7RZfcFW7/images/woocommerce/17.webp?fit=max&auto=format&n=rsanoiHs7RZfcFW7&q=85&s=2cfee72402218b0170d63c2b136d9de9" alt="Dodo Payments for WooCommerce Plugin" style={{ maxHeight: '500px', width: 'auto' }} width="1608" height="155" data-path="images/woocommerce/17.webp" />
    </Frame>

13. Granska de återstående inställningarna som **Global Tax Category** och **All Prices are Tax Inclusive**, eftersom dessa alternativ bestämmer hur produkter synkas från WooCommerce till Dodo Payments. Observera att **Test API Key** och **Test Webhook Signing Key** endast behövs om du planerar att använda Test Mode

    <Frame>
      <img src="https://mintcdn.com/dodopayments/rsanoiHs7RZfcFW7/images/woocommerce/18.webp?fit=max&auto=format&n=rsanoiHs7RZfcFW7&q=85&s=746184a19efe5bfb14febfc6955c4c8e" alt="Dodo Payments for WooCommerce Plugin" style={{ maxHeight: '500px', width: 'auto' }} width="1612" height="677" data-path="images/woocommerce/18.webp" />
    </Frame>

## Du är redo!

Din WooCommerce-butik är nu integrerad med Dodo Payments! Kunder kan välja Dodo Payments vid kassan för att få tillgång till alla stödda betalningsmetoder.

<Frame>
  <img src="https://mintcdn.com/dodopayments/rsanoiHs7RZfcFW7/images/woocommerce/19.webp?fit=max&auto=format&n=rsanoiHs7RZfcFW7&q=85&s=958daded5beb84eb4e54e02c267d7ecc" alt="Dodo Payments checkout option in WooCommerce" style={{ maxHeight: '500px', width: 'auto' }} width="1864" height="913" data-path="images/woocommerce/19.webp" />
</Frame>

När kunder väljer Dodo Payments kommer de sömlöst att omdirigeras till Dodo Payments kassa för att slutföra sin transaktion.

<Frame>
  <img src="https://mintcdn.com/dodopayments/rsanoiHs7RZfcFW7/images/woocommerce/20.webp?fit=max&auto=format&n=rsanoiHs7RZfcFW7&q=85&s=a78bd2b289d9cc8df8d36da9db540c14" alt="Dodo Payments checkout page" style={{ maxHeight: '500px', width: 'auto' }} width="1887" height="1006" data-path="images/woocommerce/20.webp" />
</Frame>

## Nyckelfunktioner

* **Sömlös kassaupplevelse**: Omdirigera kunder till en säker, optimerad kassasida
* **Flera betalningsmetoder**: Stöd för olika lokala och internationella betalningsalternativ
* **Uppdateringar i realtid**: Omedelbar synkronisering av orderstatus via webhooks
* **Detaljerade transaktionsregister**: Omfattande betalningshistorik i din WooCommerce-instrumentpanel
* **Stöd för flera valutor**: Acceptera betalningar i flera valutor

## Felsökning

### Vanliga problem

1. **Betalningsbehandlingsfel**
   * Verifiera att API-nycklar är korrekt konfigurerade
   * Se till att webhook-URL:en är korrekt inställd
   * Kontrollera att ditt SSL-certifikat är giltigt

2. **Webhook-synkroniseringsproblem**
   * Bekräfta att webhook-signeringstangenten matchar
   * Granska serverloggar för potentiella fel
   * Verifiera att din server kan ta emot inkommande webhook-förfrågningar

### Supportresurser

För ytterligare hjälp:

* Kontakta oss på [support@dodopayments.com](mailto:support@dodopayments.com)
* Se vår [omfattande dokumentation](https://docs.dodopayments.com)

## Underhålls bästa praxis

1. Uppdatera regelbundet plugin för säkerhetsuppdateringar och nya funktioner
2. Testa alla betalningsflöden i sandbox-läge innan du behandlar live-transaktioner
3. Håll WordPress och WooCommerce uppdaterade till de senaste versionerna
4. Implementera regelbundna webbplatsbackuper
5. Övervaka transaktionsloggar för eventuell ovanlig aktivitet
6. Förvara API-nycklar säkert och dela dem aldrig offentligt
