![](https://i-blog.csdnimg.cn/blog_migrate/caa075c6c28626501973d138e0425863.png)
wordpress 后台卡
Do you want to learn how to accept credit card payments on your WordPress site? By default, WordPress does not come with credit card payment options, but there are plenty of plugins and tools that can help solve that. In this article, we will show you how to easily accept credit card payments on your WordPress site.
您是否想学习如何在WordPress网站上接受信用卡付款? 默认情况下,WordPress不附带信用卡付款选项,但是有许多插件和工具可以帮助解决该问题。 在本文中,我们将向您展示如何轻松地在WordPress网站上接受信用卡付款。
![Accept credit card payments in WordPress Accept credit card payments in WordPress](https://i-blog.csdnimg.cn/blog_migrate/19b712dc11a72885875ab0cd6fca947b.png)
影片教学 (Video Tutorial)
If you’d prefer written instructions, just keep reading.
如果您喜欢书面说明,请继续阅读。
Note: You will need to enable HTTPS / SSL on your website to accept credit card payments.
注意:您需要在网站上启用HTTPS / SSL才能接受信用卡付款。
无需购物车即可在WordPress中接受信用卡付款 (Accepting Credit Card Payments in WordPress without Shopping Cart)
Often users don’t want to setup a full-fledged shopping cart to accept credit card payments. This makes a lot of sense specially if you’re only selling a single product or accepting payments for consulting / services.
通常,用户不想设置一个完整的购物车来接受信用卡付款。 如果您只销售一种产品或接受咨询/服务付款,这特别有意义。
In this case, all you need is an online order form with a credit card payment option.
在这种情况下,您只需要带有信用卡付款选项的在线订购表即可。
Here is how you can easily accept credit card payments without adding a shopping cart to your website.
这是您无需添加购物车即可轻松接受信用卡付款的方法。
First thing you need to do is install and activate the WPForms plugin. For more details, see our step by step guide on how to install a WordPress plugin.
您需要做的第一件事是安装并激活WPForms插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。
WPForms is the most beginner friendly WordPress form builder plugin. While they have a Lite version that’s free, you will need their PRO plan to access the payment add-ons.
WPForms是最入门的WordPress表单生成器插件。 尽管他们有免费的精简版 ,但您需要他们的PRO计划才能访问付款插件。
Upon activation, you need to visit WPForms » Settings page to enter your license key. You can find this information in your WPForms account area.
激活后,您需要访问WPForms»设置页面以输入许可证密钥。 您可以在WPForms帐户区域中找到此信息。
![Enter your license key Enter your license key](https://i-blog.csdnimg.cn/blog_migrate/fa3e489e8ace9f8b83f12b2f87036b39.png)
Next, you need to head over to WPForms » Addons page and locate the Stripe addon. Go ahead and click on the ‘Install Addon’ button and then click on the ‘Activate’ button.
接下来,您需要转到WPForms»插件页面,然后找到Stripe插件。 继续,单击“安装插件”按钮,然后单击“激活”按钮。
![Install Stripe addon for WPForms Install Stripe addon for WPForms](https://i-blog.csdnimg.cn/blog_migrate/7ee5947e1efed760c9f6c92ef4947c8b.png)
Stripe is a credit-card processing platform that makes it easy for businesses to accept credit card payments on their website. WPForms makes it easy to connect your WordPress website to Stripe.
Stripe是一个信用卡处理平台,使企业可以轻松地在其网站上接受信用卡付款。 WPForms使您轻松将WordPress网站连接到Stripe。
Once the Stripe addon is activated, we need to connect WPForms to your Stripe account. To do that, head over to WPForms » Settings page and click on the ‘Payments’ tab.
激活Stripe插件后,我们需要将WPForms连接到您的Stripe帐户。 为此,请转到WPForms»设置页面,然后单击“付款”标签。
![WPForms payments settings WPForms payments settings](https://i-blog.csdnimg.cn/blog_migrate/ba021e689ce7b7cc8c5452592d70b3c7.png)
You will need to enter your Stripe API keys. You can find this information in your account settings on Stripe’s website.
您将需要输入Stripe API密钥。 您可以在Stripe网站上的帐户设置中找到此信息。
Don’t forget to click on the ‘Save Settings’ button to store your changes after entering the API keys.
输入API密钥后,不要忘记单击“保存设置”按钮来存储您的更改。
WPForms is now ready to accept credit card payments. Let’s create an online billing or order form that you can add to your website for accepting credit card payments.
WPForms现在准备接受信用卡付款。 让我们创建一个在线账单或订单表单,您可以将其添加到您的网站上以接受信用卡付款。
Head over to WPForms » Add New page. From here you need to provide a title for your form and then select ‘Billing / Order Form’ template.
转到WPForms»添加新页面。 在这里,您需要为表单提供标题,然后选择“计费/订购表单”模板。
![Creating a billing form Creating a billing form](https://i-blog.csdnimg.cn/blog_migrate/c73e058c4c2af0d511681e8412d3b494.png)
WPForms will pre-load the form builder with a billing/order form template with commonly used fields. You can point and click to edit any form field. You can also add new fields from the left column.
WPForms将使用带有常用字段的开票/订单表单模板预加载表单构建器。 您可以指向并单击以编辑任何表单字段。 您也可以从左栏中添加新字段。
![Editing order form Editing order form](https://i-blog.csdnimg.cn/blog_migrate/45040c4c280fac0408c2e946b9ccc012.png)
Next, you need to scroll down to the Payment Fields section in the left column. From here you can add payment related form fields.
接下来,您需要向下滚动到左列中的“付款字段”部分。 在这里,您可以添加与付款相关的表单字段。
WPForms allows you to add multiple items as well as single items that users can order. You can click on the item field to change item details and pricing.
WPForms允许您添加多个项目以及用户可以订购的单个项目。 您可以单击项目字段以更改项目详细信息和价格。
![Add credit card field Add credit card field](https://i-blog.csdnimg.cn/blog_migrate/770b513462644aa8392bc4fe108889b2.png)
After editing item details, go ahead and click to add the credit card field to your form.
编辑项目详细信息后,继续并单击以将信用卡字段添加到您的表单。
Now that your form is setup, let’s enable payments for this form. To do that, you need to click on the Payments tab on the left and then select Stripe.
现在,您的表单已设置完毕,让我们为该表单启用付款。 为此,您需要单击左侧的“付款”标签,然后选择“条带化”。
![Enable Stripe payments Enable Stripe payments](https://i-blog.csdnimg.cn/blog_migrate/b7aa82ae925bbf03b03a23c0aa02b96e.png)
You will need to click on the checkbox next to ‘Enable Stripe payments’ option and provide a description of the payment. Optionally, you can send an email receipt to your users by selecting the email field from the drop-down menu.
您需要单击“启用条带化付款”选项旁边的复选框,并提供付款说明。 (可选)您可以通过从下拉菜单中选择电子邮件字段来向用户发送电子邮件回执。
Next, you may want to receive an email notification for new orders and purchases. You can also send a confirmation email to notify the user that you have received their order.
接下来,您可能希望收到有关新订单和购买的电子邮件通知。 您还可以发送确认电子邮件,以通知用户您已收到他们的订单。
Let’s setup notifications for your billing form.
让我们为您的帐单表格设置通知。
You need to start with clicking the ‘Settings’ tab on the left and then select ‘Notifications’. You will notice that WPForms has already created a notification that sends an email to your WordPress admin email address when a new order is placed.
您需要先单击左侧的“设置”标签,然后选择“通知”。 您会注意到WPForms已经创建了一个通知,当下新订单时,该通知会向您的WordPress管理员电子邮件地址发送一封电子邮件。
![Notification settings Notification settings](https://i-blog.csdnimg.cn/blog_migrate/b9ed9fd951943897304bae8dc88046b3.png)
You can edit this notification message. For example, you can provide additional email addresses, change email copy, subject, and more.
您可以编辑此通知消息。 例如,您可以提供其他电子邮件地址,更改电子邮件副本,主题等。
If you want to send a separate notification to your users, then click on the ‘Add New Notification’ button.
如果要向用户发送单独的通知,请单击“添加新通知”按钮。
You will be asked to provide a name for the new notification. Let’s call it ‘Customer Notification’. After that you will see the notification fields that you can edit.
系统将要求您提供新通知的名称。 我们称之为“客户通知”。 之后,您将看到可以编辑的通知字段。
![Creating new notification email Creating new notification email](https://i-blog.csdnimg.cn/blog_migrate/19d096a9aef30c534295363ee5449a9d.png)
You need to click on the ‘Show Smart Tags’ link next to ‘Send to email address’ option and select the ‘Email’ field. This allows WPForms to use the email address that your customer provided when submitting the form.
您需要单击“发送到电子邮件地址”选项旁边的“显示智能标签”链接,然后选择“电子邮件”字段。 这使WPForms可以使用客户在提交表单时提供的电子邮件地址。
![Editing new notification email Editing new notification email](https://i-blog.csdnimg.cn/blog_migrate/4d3514f108fdbdb35e005befc580cb1c.png)
You can edit rest of the notification email by providing a subject line and message. You can also use smart tags to use the form fields submitted by the user to add item details, user’s name, and other personalized information.
您可以通过提供主题行和消息来编辑其余的通知电子邮件。 您还可以使用智能标记来使用用户提交的表单字段来添加项目详细信息,用户名和其他个性化信息。
Once you are done, you can click on the save button at the top and exit the form builder.
完成后,您可以单击顶部的保存按钮并退出表单构建器。
![Save and exit form builder Save and exit form builder](https://i-blog.csdnimg.cn/blog_migrate/b228fc446fca78aae24b21e2d182c244.png)
Your online credit card payment form is now ready, and you can add it to any WordPress page on your site.
您的在线信用卡付款表格现已准备就绪,您可以将其添加到网站上的任何WordPress页面。
Simply edit a page or create a new one, and then click on the ‘Add Form’ button above the page editor.
只需编辑页面或创建一个新页面,然后单击页面编辑器上方的“添加表单”按钮。
![Add your credit card payment form to a WordPress page Add your credit card payment form to a WordPress page](https://i-blog.csdnimg.cn/blog_migrate/34a6343c6b043302878d031c3f8e9e4d.png)
This will bring up a popup where you can select the order form and click on the add form button to continue. WPForms will now enter the required shortcode to your post edit area.
这将弹出一个弹出窗口,您可以在其中选择订单,然后单击“添加表单”按钮继续。 WPForms现在将在您的帖子编辑区域中输入所需的简码。
You can now save or publish your page and click on the preview button to see your form in action.
现在,您可以保存或发布页面,然后单击“预览”按钮以查看正在使用的表单。
![Payment form page preview Payment form page preview](https://i-blog.csdnimg.cn/blog_migrate/abb7a75aba24e94b58385bd005fb4617.jpeg)
Note: Don’t forget to test your form to make sure everything is working fine. If you are unable to send or receive email notifications, then follow the instructions in our guide on how to fix WordPress not sending email issue.
注意:不要忘记测试您的表单,以确保一切正常。 如果您无法发送或接收电子邮件通知,请按照我们的指南中有关如何解决WordPress不发送电子邮件问题的说明进行操作 。
WPForms is the simplest way to accept credit card payments in WordPress, and it is the easiest way to create just about any type of form in WordPress. This is why it ranks #1 in our list of the best WordPress contact form plugin. WPForms has over 1 million active installs and a 4.9 out of 5 star rating average.
WPForms是在WordPress中接受信用卡付款的最简单方法,也是在WordPress中创建几乎任何类型的表单的最简单方法。 这就是为什么它在我们最好的WordPress联系人表单插件列表中排名第一的原因。 WPForms的主动安装量超过100万,平均五星级评分为4.9。
If you don’t want to use Stripe, then you can also use PayPal to accept credit card payments using the WPForms PayPal addon.
如果您不想使用Stripe,则还可以使用WPForms PayPal插件使用PayPal接受信用卡付款。
However a simple payment form isn’t a perfect solution for everyone. Based on use-case, you may need a different solution for accepting credit card payments on your website. Here are some other ways to accept credit card payments in WordPress.
但是,简单的付款方式并不是每个人的完美解决方案。 根据用例,您可能需要其他解决方案来在您的网站上接受信用卡付款。 这是在WordPress中接受信用卡付款的其他方法。
在网上商店接受信用卡付款 (Accepting Credit Card Payments in an Online Store)
If you want to add a shopping cart and sell multiple items, then you will need an eCommerce plugin like: WooCommerce. It is the best WordPress eCommerce plugin on the market. WooCommerce makes it easy to sell things online and accept credit card payments.
如果要添加购物车并出售多个商品,则需要一个电子商务插件,如: WooCommerce 。 它是市场上最好的WordPress电子商务插件 。 WooCommerce使在线销售商品和接受信用卡付款变得容易。
![WooCommerce payment settings WooCommerce payment settings](https://i-blog.csdnimg.cn/blog_migrate/5428076dee9a5b79849c8d033ca50225.png)
For complete step by step instructions, see our guide on how to start an online store for beginners.
有关完整的分步说明,请参阅有关如何为初学者开设在线商店的指南。
在会员网站上接受信用卡付款 (Accept Credit Card Payments on a Membership Website)
If you want to build a membership website to sell membership subscriptions and paid content, then we recommend using MemberPress. It is the most powerful WordPress membership plugin that easily integrates with Stripe, PayPal, or Authorize.net to accept credit card payments on your website.
如果您想建立一个会员网站来出售会员订阅和付费内容,那么我们建议使用MemberPress 。 它是功能最强大的WordPress会员插件 ,可以轻松地与Stripe,PayPal或Authorize.net集成,以在您的网站上接受信用卡付款。
![MemberPress payments MemberPress payments](https://i-blog.csdnimg.cn/blog_migrate/eb01133731cd47a65e50304aee3b6b26.png)
Here is a complete guide on how to create a membership website with step by step instructions.
这是有关如何逐步创建会员网站的完整指南。
通过销售在线课程接受付款 (Accept Payments by Selling Online Courses)
If you want to sell online courses, then we recommend using LearnDash. It is the best LMS plugin for WordPress and allows you to process credit card payments on your website.
如果您想出售在线课程,那么我们建议您使用LearnDash 。 它是适用于WordPress的最佳LMS插件 ,可让您处理网站上的信用卡付款。
![LearnDash Stripe settings LearnDash Stripe settings](https://i-blog.csdnimg.cn/blog_migrate/63dc81fcca919eb68fe7a7d21b171c22.png)
For details, see our guide on how to how to sell online courses with WordPress with step by step instructions.
有关详细信息,请参阅有关如何通过WordPress逐步销售在线课程的指南。
We hope this article helped you learn how to accept and process credit card payments in WordPress. You may also want to see our list of the must have WordPress plugins for business websites.
我们希望本文能帮助您学习如何在WordPress中接受和处理信用卡付款。 您可能还想查看我们的必须具有用于商务网站的WordPress插件的列表。
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在Twitter和Facebook上找到我们。
wordpress 后台卡