Alle handleidingen
BeginnerMagento 2.4.x30 minuten

Betaalmethoden configureren in Magento 2

Handleiding voor het instellen van betaalmethoden. Van iDEAL en credit cards tot Klarna en PayPal.

Coding.nl669 views
Betaalmethoden configureren in Magento 2

Payment providers kiezen

Voor Nederlandse webshops zijn de populairste payment service providers (PSP's):

  • Mollie - Populair, eenvoudig, competitieve tarieven
  • MultiSafepay - Uitgebreid, goede support
  • Adyen - Enterprise, veel opties
  • Buckaroo - Nederlands, B2B focus
  • Pay.nl - Competitief, Nederlandse support

Mollie configureren

Extensie installeren

``bash

composer require mollie/magento2

bin/magento setup:upgrade

bin/magento cache:flush

``

API keys ophalen

  • Log in op Mollie Dashboard
  • Ga naar Developers > API keys
  • Kopieer je Live en Test API keys
  • Configuratie

    Stores > Configuration > Sales > Payment Methods > Mollie

  • General Settings:
  • - Enabled: Yes

    - Mode: Test (voor testen) / Live

    - API Key Live: je_live_key

    - API Key Test: je_test_key

  • Payment Methods:
  • Per methode kun je configureren:

    - Enabled: Yes/No

    - Title: Naam in checkout

    - Minimum Order Total: Minimum bedrag

    - Maximum Order Total: Maximum bedrag

    - Allowed Countries: Landen

    - Sort Order: Volgorde

    Populaire methoden inschakelen

    • iDEAL: Must-have voor NL
    • Bancontact: Must-have voor BE
    • Credit Card: Visa, Mastercard, etc.
    • PayPal: Internationaal populair
    • Klarna: Buy now, pay later
    • Apple Pay / Google Pay: Mobiel populair

    iDEAL configureren

    Via Mollie

  • In Mollie configuratie
  • Zoek "iDEAL"
  • Enable en configureer:
  • - Title: "iDEAL"

    - Issuer List Type: Dropdown of Radio buttons

    Issuer List

    Je kunt kiezen hoe banken worden getoond:

    • On checkout page: Klant kiest bank in checkout
    • On payment page: Redirect naar Mollie, daar bank kiezen

    Buy Now Pay Later (BNPL)

    Klarna

  • In Mollie/PSP configuratie
  • Enable Klarna Pay Later / Klarna Slice It
  • Configureer:
  • - Minimum bedrag (vaak €20)

    - Maximum bedrag

    - Toegestane landen

    in3 / Riverty

    Vergelijkbare BNPL opties via PSP configureren.

    Let op

    BNPL methoden vereisen vaak extra klantdata (geboortedatum, telefoonnummer). Check of je checkout dit verzamelt.

    Credit Cards

    Via PSP

  • Enable Credit Card in PSP configuratie
  • Ondersteunde kaarten:
  • - Visa

    - Mastercard

    - American Express

    - Maestro

    3D Secure

    Verplicht in EU voor extra authenticatie. PSP's handelen dit automatisch af.

    PayPal

    Standalone integratie

    Magento biedt PayPal integraties:

  • PayPal Express Checkout: Snelle checkout via PayPal
  • PayPal Payments Standard: Redirect naar PayPal
  • PayPal Payments Pro: Creditcard via PayPal op je site
  • Via PSP

    Vaak makkelijker om PayPal via je PSP te laten lopen voor één reconciliatie.

    Testmodus en Live

    Testen

  • Zet PSP op Test mode
  • Gebruik test API keys
  • Mollie test cards/iDEAL banken:
  • - TBM Bank = Succesvol

    - Rabobank = Cancelled

    - ING = Expired

    Live gaan

  • Verifieer dat alle tests succesvol zijn
  • Switch naar Live mode
  • Gebruik Live API keys
  • Plaats een echte test order (kleine bedrag)
  • Payment Method Restricties

    Per land

    In elke methode configuratie:

    • Allowed Countries: Specifieke landen

    Per klantgroep

    Sommige extensies bieden dit. Anders via custom development.

    Per orderwaarde

    • Minimum Order Total
    • Maximum Order Total

    Voorbeeld: Klarna alleen €20-€500

    Checkout Flow

    One-Step Checkout

    Overweeg een one-step checkout extensie voor betere conversie:

    Payment icons

    Toon betaalmethode iconen voor vertrouwen:

  • In PSP configuratie: Enable icons
  • Of handmatig in theme/CMS blocks
  • Reconciliatie en Boekhouding

    Order statussen

    Configureer wat er gebeurt bij betaling:

    • Stores > Configuration > Sales > Sales > Orders
    • New Order Status: Processing (bij betaling)

    Facturen

    Automatisch factuur aanmaken bij betaling:

    • PSP configuratie: "Create invoice on..."

    Exports

    PSP dashboards bieden exports voor boekhouding. Overweeg integratie met je boekhoudpakket.

    Troubleshooting

    Betaling mislukt

  • Check PSP dashboard voor error
  • Verifieer API keys
  • Check valuta configuratie
  • Controleer order totaal binnen limieten
  • Redirect werkt niet

  • Check base URL configuratie
  • Verifieer webhook URL in PSP
  • Check voor conflicting modules
  • Orders blijven pending

  • Webhook niet ontvangen
  • Check webhook configuratie in PSP
  • Verifieer webhook URL bereikbaar is
  • Security best practices

    API keys

    • Gebruik environment variables, niet plain text in config
    • Verschillende keys voor test/staging/productie

    PCI compliance

    • PSP's handelen PCI af
    • Nooit creditcard data in eigen database

    Fraud preventie

    • Enable 3D Secure
    • Gebruik PSP fraud screening
    • Stel limieten in voor nieuwe klanten
    Deel deze handleiding:

    Info

    Niveau
    Beginner
    Duur
    30 minuten
    Magento
    2.4.x
    PHP
    8.1+
    Views
    669

    Vereisten

    • Toegang tot Magento 2 admin panel
    • Accounts bij payment providers

    Wat je leert

    • Payment providers kiezen (Mollie, Adyen, MultiSafepay)
    • iDEAL, credit cards en BNPL instellen
    • Testmodus en live gang
    • Payment method restricties

    Categorieën

    Hulp nodig?

    Loop je vast? Ons team kijkt met je mee.

    Neem contact op

    Hulp bij je Magento-webshop

    Ons team bouwt, versnelt en onderhoudt Magento-webshops.