Payment acquirers (credit cards, online payments)

Odoo embeds several payment acquirers that allow your customers to pay on their Customer Portals or your eCommerce website. They can pay sales orders, invoices, or subscriptions with recurring payments with their favorite payment methods such as Credit Cards.

提供多种付款方式会增加准时甚至立即付款的机会,因为客户可以更方便地使用他们偏爱和信任的方式进行付款。

Pay online in the customer portal and select which payment acquirer to use.

注解

Odoo apps delegate the handling of sensitive information to the certified payment acquirer so that you don’t ever have to worry about PCI compliance.

This means that no sensitive information (such as credit card numbers) is stored on Odoo servers or Odoo databases hosted elsewhere. Instead, Odoo apps use a unique reference number to the data stored safely in the payment acquirers’ systems.

Supported payment acquirers

From an accounting perspective, we can distinguish two types of payment acquirers: the payment acquirers that are third-party services and require you to follow another accounting workflow, and the payments that go directly on the bank account and follow the usual reconciliation workflow.

Online payment acquirers

Payment flow from

Save cards for later

Manual capture

Refunds

Adyen

Odoo

全员和部分

Alipay

The acquirer website

Authorize.Net

Odoo

仅限全员

Buckaroo

The acquirer website

Mollie

The acquirer website

Ogone

The acquirer website

PayPal

The acquirer website

PayU Latam

The acquirer website

PayUMoney

The acquirer website

SIPS

The acquirer website

Stripe

The acquirer website

注解

Some of these online payment providers can also be added as bank accounts, but this is not the same process as adding them as payment acquirers. Payment acquirers allow customers to pay online, and bank accounts are added and configured on your Accounting app to do a bank reconciliation, which is an accounting control process.

银行付款

  • 选中后,Odoo将显示您的付款信息以及付款参考。 在您的银行帐户中收到付款后,您必须手动批准付款。
  • Your customers can sign a SEPA Direct Debit mandate online and get their bank account charged directly.

其他功能

Some payment acquirers support additional features for the payment flow. Refer to the table above to check if your payment acquirer supports these features.

Save cards for later

If your payment acquirer supports this feature, customers can choose to save their card details as a payment token in Odoo. When they do, they will not have to enter their card details again when making a subsequent payment. This is particularly useful for the eCommerce conversion rate and for subscriptions that use recurring payments.

Enable this feature by navigating to the Configuration tab from your payment acquirer and by ticking the Allow Saving Payment Methods checkbox.

注解

You remain fully PCI-compliant when you enable this feature because Odoo does not store the card details directly. Instead, it creates a payment token that only holds a reference to the card details stored on the payment acquirer’s server.

手动捕获

If your payment acquirer supports this feature, you can authorize and capture payments in two steps instead of one. When you authorize a payment, the funds are reserved on the customer’s payment method but they are not immediately charged. The charge is only made when you manually capture the payment later on. You can also void the authorization to release the reserved funds; this is equivalent to a regular cancellation. Capturing payments manually can prove itself useful in many situations:

  • 收到付款确认,在订单发货后获取付款。

  • 在付款完成、付款流程开始前,审核并验证订单是否合法。

  • Avoid potentially high processing fees for cancelled payments: payment acquirers will not charge you for voiding an authorization.

  • 提供保证金,用于日后退款和扣除任何款项(例如,损坏赔偿)。

Enable this feature by navigating to the Configuration tab from your payment acquirer and by ticking the Capture Amount Manually checkbox.

要在授权后捕获付款,转到相关销售订单或发票,然后点击:guilabel:`捕获交易`按钮。要释放资金,点击:guilabel:`无效交易`按钮。

注解

  • Some payment acquirers support capturing only part of the authorized amount. The remaining amount can then be either captured or voided. These acquirers have the value Full and partial in the table above. The acquirers that only support capturing or voiding the full amount have the value Full only.

  • The funds are likely not reserved forever. After a certain time, they may be automatically released back to the customer’s payment method. Refer to your payment acquirer’s documentation for the exact reservation duration.

  • Odoo does not support this feature for all payment acquirers but some allow the manual capture from their website interface.

退款

If your payment acquirer supports this feature, you can refund payments directly from Odoo. It does not need to be enabled first. To refund a customer payment, navigate to it and click on the REFUND button.

注解

  • Some payment acquirers support refunding only part of the amount. The remaining amount can then optionally be refunded too. These acquirers have the value Full and partial in the table above. The acquirers that only support refunding the full amount have the value Full only.

  • Odoo does not support this feature for all payment acquirers but some allow to refund payments from their website interface.

基础配置

注解

Each acquirer has its specific configuration flow, depending on which feature is available.

Add a new payment acquirer

To add a new payment acquirer and make it available to your customers, go to Accounting ‣ Configuration ‣ Payment Acquirers, look for your payment acquirer, install the related module, and activate it. To do so, open the payment acquirer and change its state from Disabled to Enabled.

Click on install, then on activate to make the payment acquirer available on Odoo.

警告

我们建议在复制数据库或测试数据库上使用 测试模式 。 测试模式旨在与您的测试/沙盒凭据一起使用,但是Odoo会像往常一样生成销售订单和发票。 并非总是可以取消发票,如果要在主数据库上测试人付款收单行,这可能会给发票编号带来一些问题。

凭据选项卡

If not done yet, go to the online payment provider website, create an account, and make sure to have the credentials required for third-party use. Odoo requires these credentials to communicate with the payment acquirer.

The form in this section is specific to the payment acquirer you are configuring. Please refer to the related documentation for more information.

配置选项卡

You can change the payment acquirer’s front-end appearance by modifying its name under the Displayed as field and which credit card icons to display under the Supported Payment Icons field.

国家/地区

Restrict the use of the payment acquirer to a selection of countries. Leave this field blank to make the payment acquirer available to all countries.

付款日记账

The Payment journal selected for your payment acquirer must be a Bank journal.

会计的观点

直接转到您的一个银行帐户的 银行付款 遵循其通常的对帐工作流程。 但是,使用 在线付款提供商 记录的付款要求您考虑如何记录付款的日记帐分录。 我们建议您向会计师咨询。

You need to select a Payment Journal on your acquirer configuration to record the payments, on a Outstanding Account. The Journal’s type must be Bank Journal.

您可以将一个日记账用于多种付款方式。对于各种付款方式,您可以:

  • 定义**会计科目**,以将付款与其他付款方式分开。

  • 留空,以回退至默认科目,您可以在设置中查看或更改默认科目。

“入站付款选项卡”中的银行日记账。

您可以根据实际需要,为整个公司、某些日记账或某个付款方式设置相同的银行科目。