Resumo de IA
Would you like to accept PayPal and credit card payments through your WordPress forms? PayPal Commerce makes it easy to collect secure payments directly from your site.
In this tutorial, we’ll show you how to connect and use PayPal Commerce with WPForms Lite to accept one-time or recurring payments through your forms.
Requisitos:
- You’ll need WPForms version 1.10.0 or higher to access PayPal Commerce payments with WPForms Lite
- A PayPal Business account
Instalando WPForms Lite
Before getting started, install and activate the WPForms Lite plugin on your WordPress site. You can install WPForms Lite from the WordPress plugins directory. If you need help installing plugins in WordPress, check out WPBeginner’s guide to installing a WordPress plugin.
Connecting Your PayPal Commerce Account

If needed, choose the currency your site uses before connecting your account.

Next, scroll to the PayPal Commerce section and click Connect with PayPal Commerce.

Observação: Uma conta PayPal Business é necessária para conectar seu site ao PayPal Commerce.
A PayPal window will open so you can log in to your PayPal Business account and authorize the connection.

After completing the setup steps, you’ll be returned to your site’s admin area. A green checkmark will appear next to Connection Status when the connection is successful.

Observação: Se você quiser testar transações de pagamento em seu site, precisará ativar o Modo de Teste. Para mais informações, consulte nosso guia completo sobre testar pagamentos com PayPal Commerce.
Configurando Webhooks do PayPal Commerce
Webhooks permitem que o WPForms receba atualizações em tempo real do PayPal Commerce quando o status de um pagamento ou assinatura muda. Com os webhooks ativados, o WPForms pode manter seus registros de pagamento sincronizados quando os pagamentos são concluídos, reembolsados, cancelados ou atualizados.

Webhooks são configurados automaticamente para o WPForms versão 1.10.0 ou superior ao conectar sua conta PayPal Commerce. No entanto, se eles não forem configurados automaticamente para o seu site, você pode configurá-los manualmente seguindo nosso guia sobre configuração de webhooks do PayPal Commerce.
Enabling PayPal Commerce Payments in the Form Builder
After connecting your site to PayPal Commerce, create a new form or edit an existing one to open the form builder. For PayPal Commerce to work properly, be sure your form includes the following:
- A payment items field such as Single Item, Multiple Items, Checkbox Items, or Dropdown Items
- A PayPal Commerce field
You can also add fields such as Name, Email, Address, and Total depending on the type of payment form you’re building.
After adding your fields, go to Payments » PayPal Commerce to open the payment settings for the form.

Enabling One-Time Payments
To accept one-time payments, toggle the Enable one-time payments option to the on position.

In WPForms Lite, the Payment Description field is available for one-time payments. Enter a short description that helps identify the payment.

Habilitando Pagamentos Recorrentes
If you’d like to charge users on a recurring basis, toggle the Enable recurring subscription payments option to the on position.

For the recurring plan, configure the available settings such as Plan Name, Product Type, Recurring Times, and Total Cycles.

WPForms Lite also includes the Try to bill the customer again if the payment fails on the 1st attempt option for recurring payments but the Shipping Address, Shipping Name, and Enable Conditional Logic options for recurring payments are disabled in WPForms Lite and available with Pro.
Testando Pagamentos PayPal Commerce
Before launching your payment form, submit a test payment to confirm everything is working as expected. For a full walkthrough, see our guide to testing payments with the PayPal Commerce addon.
Perguntas Frequentes
Below are some of the most common questions about using PayPal Commerce with WPForms Lite.
What do I get if I upgrade to the PayPal Commerce Pro addon?
WPForms Lite lets you accept PayPal Commerce payments without installing the PayPal Commerce Pro addon. However, upgrading gives you access to more advanced payment features and removes the additional 3% WPForms fee on one-time payments.
Com o WPForms Lite, você pode:
- Aceitar pagamentos únicos
- Aceitar assinaturas com um único plano recorrente
- Usar os métodos de pagamento disponíveis do PayPal Commerce
- Enable webhooks
Com o addon PayPal Commerce Pro, você também pode:
- Remove the additional 3% WPForms fee on PayPal Commerce payments
- Usar lógica condicional com pagamentos do PayPal Commerce
- Escolher entre pagamentos únicos e recorrentes no mesmo formulário
- Add multiple recurring plans to a form
- Configurar fluxos de trabalho avançados de notificação de pagamento
- Visualizar e gerenciar pagamentos na área administrativa do WordPress
- Lidar com reembolsos e cancelamentos com mais flexibilidade
Will I be charged for using PayPal Commerce in WPForms Lite?
Yes. WPForms Lite applies an additional 3% fee to PayPal Commerce transactions, including one-time and recurring payments, and PayPal’s standard processing fees still apply. To remove the additional WPForms fee, upgrade to the WPForms Pro license or higher.
Can I enable both one-time and recurring payments in the same form?
No. WPForms Lite does not include conditional logic for PayPal Commerce payments, so a single form can process one-time payments or recurring payments, but not both. To use both options in the same form, you’ll need the WPForms Pro license or higher.
Why are some PayPal Commerce settings disabled in WPForms Lite?
Settings such as Billing Address, Shipping Address, Shipping Name, Shipping Email, and Enable Conditional Logic are available with paid licenses only. Upgrade to the WPForms Pro license or higher to unlock those options.
That’s it! You can now connect PayPal Commerce to WPForms Lite and accept payments through your forms. Would you like to learn more about building payment forms in WPForms? Be sure to check out our guide on creating a payment form in WPForms.