Inloggen
Aan de slag

Easy Digital Downloads Blog

WordPress-tutorials, tips en bronnen om uw bedrijf te helpen groeien

How to Set Up Credit Card Payments in WordPress

How to Set Up Credit Card Payments in WordPress

Laatst bijgewerkt:

auteur afbeelding
Door Casey Cavanagh Schrijver
recensent afbeelding
BEOORDEELD Door Chris Klosowski President

Are you looking to set up credit card payments for your WordPress website?

With the right WordPress plugin, configuring your eCommerce store for accepting online payments is pretty easy.

🔎 In dit artikel behandel ik:

Choosing the Right Payment Plugin

The best WordPress payment plugin to use depends on a handful of factors. For example, what type of item(s) are you selling? Are you offering a service?

Use the chart below to learn about some of the most popular eCommerce plugins and decide which option is best for your specific needs.

Use TypeSuggested Solution
💻 🎮 📱 🧑🏽‍🔧
Selling Digital Products or Services
Easy Digital Downloads (EDD)

• Great for selling downloads like eBooks, graphics, document templates, software, themes, or plugins.

• Also good for selling service ‘packages’ like logo design or other creative/digital services delivered over the internet.

• Has flexible checkout options (shopping cart or buy-now buttons), test mode

➡️ Get Started with EDD
🧾 ⛪️ 💒 🕌
Accepting Payments or Donations
WP Simple Pay or WPForms

• These plugins are good for simple payment forms when you don’t need a full online store or shopping cart. Great for donations or professional services with online billing.

➡️ Learn More about WP Simple Pay or WPForms
👕 ☕️ 💄 🛍
Selling Physical Products
WooCommerce

• The WooCommerce plugin is great if you are selling physical products like apparel, food, health, or beauty products.

• Offers flexible checkout options (shopping cart or buy-now buttons, may require extensions)

➡️ Learn More

Set Up Credit Card Payments With EDD

If you’re selling digital files/products or services, the best way to accept credit cards is with Easy Digital Downloads (EDD):

De logo's van Easy Digital Downloads en WordPress

EDD turns your WordPress site into a full-featured eCommerce website store with just a few clicks. You don’t need to know how to code or hire a developer to use our advanced payment processing functionality.

Unlike other eCommerce platforms, EDD is laser-focused on being the best way to sell digital products. You can sell an unlimited number of items, manage customers, and use payment processors like Stripe or PayPal (along with many others).

I’ll show you how to easily set up credit card payments with Stripe, our recommended payment gateway.

With EDD, Stripe isn’t an after-thought addon, it’s fully integrated.

Stap 1: Installeer Easy Digital Downloads

First, install and activate Easy Digital Downloads. This will get you access to all of our payment gateways as well as features like email integration and subscription payments.

When EDD is installed on your site, you’ll have a new menu item called Downloads. Look for it on the left side of your WordPress dashboard:

Easy Digital Downloads Downloads-menu-item vanuit het WordPress-dashboard

Sep 2: Connect Easy Digital Downloads & Stripe

Before we start, be sure to make sure Stripe is available in your country. If it’s not, I suggest PayPal payments as another great option. Click here to learn about PayPal setup.

Next, integrating EDD with Stripe is easy, especially if you already have a Stripe account. You won’t have to manage or copy/paste API keys.

Setup with a Pre-Existing Stripe Account

If you have a Stripe account, you basically only have to hit one button.

From your WordPress dashboard go to Downloads » Settings » Payments » Stripe.

Click on the blue Connect with Stripe button:

Screenshot: Selling Digital Downloads - Connect with Stripe

Next, log in with your Stripe email address and password (and enter a code if you have a two-factor authentication enabled).

Then you’ll be able to choose your account and click on Connect → to link it to EDD:

Screenshot: Stripe Connect get started log in

You’ll see a green notification box that confirms your connection status:

Selling Digital Downloads - Connection Status

Setup Without Pre-Existing Stripe Account

Don’t have a Stripe account? No problem. Stripe makes it easy to create a new one (for free) and connect it to EDD.

The process looks different depending on which country you’re in. I’ll walk through a setup from the United States. Note that these screenshots may change slightly over time, as Stripe tweaks their interface.

From your WordPress dashboard, go to Downloads » Settings » Payments » Stripe. Click on the blue button that says Connect with Stripe.

You’ll be taken to the Stripe Connect screen. It will take you through a multi-page form. Stripe will ask for your contact information and business information. The questions will vary depending on your region.

Screenshot: Stripe Connect get started

Be sure you see our logo and ‘Easy Digital Downloads’ on the left side.

You’ll be taken through a multi-page form. Stripe will ask for your contact information and business information. The questions will vary depending on your region.

Screenshot: Stripe Connect tell us about your business

Questions will likely include:

  • Name, address, phone number
  • Personal information, like government ID numbers
  • Business information (type of business, business address)
  • The last step in most regions will be connecting a bank account for Stripe to deposit your money into when you make sales!

Some banks have guided presets. If yours doesn’t, don’t worry you can enter account numbers manually.

Schermafbeelding: Stripe Connect-account selecteren voor uitbetalingen

After completing this multi-page form, you’ll have a new Stripe account.

Configure Webhooks

Next, you need to configure a webhook. This makes sure refunds are communicated between your EDD store and Stripe.

Ga vanuit uw nieuwe Stripe-dashboard naar Ontwikkelaars » Webhooks. U kunt ook de onderstaande directe link gebruiken (u moet zijn ingelogd):

https://dashboard.stripe.com/webhooks

Klik op de knop Eindpunt toevoegen:

Stripe Connect - Eindpunt toevoegen

Voeg uw domeinnaam toe met aan het einde ‘/?edd-listener=stripe’. Het zou er als volgt uit moeten zien:

https://yourwebsite.com/?edd-listener=stripe

Vervang ‘uwwebsite.com’ door de domeinnaam van uw eigen website. Een andere optie is om het te kopiëren en te plakken vanaf het scherm dat zich bevindt op Downloads » Instellingen » Betalingen » Stripe in de sectie Webhooks:

Schermafbeelding: Digitale downloads verkopen - Webhooks

Selecteer de volgende instellingen op het Stripe Dashboard:

  1. Zorg ervoor dat het vakje Luister naar gebeurtenissen op verbonden accounts is uitgeschakeld
  2. De API-versie moet Laatste versie zijn
  3. Selecteer de volgende gebeurtenissen:
    • charge.succeeded
    • charge.refunded
    • customer.subscription.deleted
    • customer.subscription.updated
    • customer.subscription.created
    • invoice.payment_failed
    • invoice.payment_succeeded
    • review.opened
    • review.closed

In de onderstaande animatie ziet u de Review-gebeurtenissen worden geselecteerd:

Schermafbeelding: Stripe Connect webhook-configuratie-dropdowns

Eenmaal voltooid, zou uw webhooks-pagina er als volgt uit moeten zien:

Schermafbeelding: Stripe Connect - Luisteren naar Stripe-gebeurtenissen

Klik op de knop Eindpunt toevoegen om deze instellingen op te slaan. Uw integratie met EDD is dan voltooid.

🔍 Klik hier voor meer details over Stripe-configuratie

Stripe instellen als Standaard Betaal-gateway

Ga ten slotte naar Downloads » Instellingen en klik vervolgens op het tabblad Betalingen.

Selecteer onder de secties Actieve Gateways en Standaard Gateway de opties Stripe. Kies in de sectie Betaalmethoden Icoon welke creditcardmerken u wilt accepteren:

De standaardinstellingen voor de betaalmethode om creditcardbetalingen in Easy Digital Downloads in te stellen.

Weet u niet zeker welke u moet kiezen? Kies voor Mastercard, Visa, American Express en Discover, tenzij u een reden heeft om deze populaire merken niet te gebruiken. Beschikbaarheid kan per land/regio verschillen.

Zorg ervoor dat u op de knop Wijzigingen opslaan klikt als u klaar bent.

🥳 Stripe en EDD zijn klaar voor gebruik. U kunt nu creditcardbetalingen accepteren! Nu

Step 3: Add Your Download

Goed werk tot nu toe. Vervolgens moet u uw digitale product of dienst instellen. Dit worden 'Downloads' genoemd in EDD.

Klik vanuit uw WordPress-dashboard op Downloads gevolgd door de knop Nieuwe toevoegen:

Een nieuwe digitale download toevoegen

Geef uw download een:

  • Naam & beschrijving
  • Prijs
  • Downloadafbeelding (dit is wat de potentiële klant ziet tijdens het winkelen of browsen op uw site)
  • Specificeer het bestand dat de klant ontvangt na aankoop (het kan een instructie of een link voor diensten zijn)
Een digitale download instellen in WordPress met EDD

➡️ Klik hier voor een gedetailleerde stapsgewijze handleiding voor het maken van een download.

Zodra uw download is gepubliceerd, kunnen websitebezoekers deze aan de voorkant van uw website zien.

Wanneer een bezoeker op de knop Kopen klikt en het afrekenproces voltooit, wordt deze naar de aankoopbevestiging (bedankt) pagina geleid waar uw klanten kunnen klikken om hun bestand(en) te downloaden.

Nieuwe klanten ontvangen ook een aankoopbewijs met hun informatie en downloadlink.

We hebben veel meer betaalopties dan alleen Stripe.

Heeft u nog geen WordPress-site? U heeft alleen WordPress-hosting nodig. Krijg EDD en WordPress vooraf geïnstalleerd en perfect geconfigureerd met SiteGround EDD Managed Web Hosting.

Credit Card Payment Alternatives

Hier zijn onze top suggesties voor Easy Digital Downloads alternatieven als u niet primair digitale producten of diensten verkoopt.

WP Simple Pay

De WP Simple Pay plugin website.

Als u donaties wilt accepteren of een klein aantal producten of diensten wilt verkopen, is WP Simple Pay een geweldige optie. Het is de beste WordPress Stripe-betalingsplugin.

  • Voeg betaalknoppen of betaalformulieren toe met een drag-and-drop interface
  • Voeg knoppen of sjablonen voor formulieren in als shortcodes of blokken in de blok-editor
  • Bied abonnementen, betalingsplannen of gratis proefversies aan
  • Voeg andere betaalopties toe, zoals Apple Pay, Google Pay, ACH-debet en Koop Nu, Betaal Later met Klarna en Afterpay/Clearpay
  • De plugin werkt met meer dan 135 valuta's, evenals betaalmethoden zoals iDeal, SEPA, Alipay, giropay, Bancontact, Przelewy24 en FPX

Begin gratis of lees meer over de pro-abonnementen. Sommige functies vereisen een Pro- of Elite-licentie.

WPForms

De website van de WPForms-plugin.

WPForms is de beste WordPress-formulierbouwerplugin. U kunt het gebruiken om betalingen/betalingsinformatie of donaties te innen met betaalformulieren. WPForms wordt vertrouwd door meer dan 5 miljoen websites (zowel kleine als grote bedrijven).

Er zijn drie belangrijke redenen waarom u WPForms zou willen gebruiken in plaats van WP Simple Pay:

  1. Als u ook een formulierbouwer nodig heeft voor andere doeleinden, zoals contactformulieren, e-mailregistratieformulieren of enquêtes. Mogelijk kunt u alles met één formulierplugin doen!
  2. Als u een unieke aanpassing nodig heeft, biedt WPForms meer aangepaste velden en andere opties.
  3. WP Simple Pay gebruikt Stripe. Als u meer creditcardbetaalopties nodig heeft, kunt u de PayPal- of Square-add-ons gebruiken met een Pro-licentie. U kunt de Authorize.net-add-on gebruiken met een Elite-licentie.

WPForms heeft een gratis/lite-versie, maar voor betalingen moet u een Pro- of Elite-licentie aanschaffen.

WooCommerce

Het logo van de WooCommerce-plugin

WooCommerce is een geweldige oplossing als u fysieke producten verkoopt. Als u digitale goederen verkoopt, raad ik EDD aan.

WooCommerce is trusted by more than a million websites, and it’s free. There are thousands of extensions that allow you to customize Woo to your exact needs.

I recommend having WooCommerce pre-installed on a managed server. This way you’ll be ready for spikes in traffic and won’t have to worry about any of the behind-the-scenes techie stuff. Everything will be taken care of for you.

FAQs on Setting Up Credit Card Payments

Laten we afsluiten met enkele veelgestelde vragen.

What do I need to set up credit card payments?

To set up credit card payments in WordPress, you’ll need:

  • A web host
  • WordPress site
  • SSL certificate
  • A plugin like Easy Digital Downloads that processes the credit card payment
  • An account with the payment gateway, linked to your credit card or debit card so you can get revenue sent to you

How do I choose a good web host?

Read this guide on choosing a web host (it has discount codes!). Or you can select our top pick based on what you are doing with your website:

Accept Credit Card Payments With EDD

Nicely done. You’ve learned how to set up credit card payments with WordPress. You’re set up to build a profitable online business or side hustle.

If you haven’t yet, get started with EDD today!

📣 PS. Vergeet niet u aan te melden voor onze nieuwsbrief en volg ons op Facebook of Twitter voor meer WordPress-bronnen!

Populaire Bronnen

Openbaarmaking: Onze inhoud wordt ondersteund door lezers. Dit betekent dat als u op sommige van onze links klikt, wij mogelijk een commissie verdienen. Zie hoe EDD wordt gefinancierd, waarom het ertoe doet en hoe u ons kunt steunen.

Ervaar Naadloze Verkoop met EDD

Beheer moeiteloos uw digitale winkel met krachtige tools en veilige transacties

Populair op EDD Nu!

Meer PayPal-betaalmethoden en PayPal Fastlane toevoegen in WordPress
Geef uw klanten meer manieren om te betalen met PayPal in WordPress
Easy Digital Downloads laat u nu meer PayPal-betaalmethoden aanbieden in WordPress. Met één verbinding kunnen uw klanten betalen…
Hoe migreer je van een marktplaats naar je eigen WordPress-winkel
Hoe migreer je van een marktplaats naar je eigen WordPress-winkel
Marktplaatskosten blijven stijgen en platformregels blijven veranderen. Maar uw klanten hoeven niet van iemand anders te zijn. Hier is…

Begin vandaag nog met verkopen!

Sluit u aan bij meer dan 50.000 slimme winkel eigenaren, en begin met de eenvoudigste manier om digitale producten te verkopen met WordPress.