Authorize.Net

Authorize.Net 是一家美国在线支付解决方案提供商,允许企业接受**信用卡**付款。

配置

凭据选项卡

Odoo需要您的 API凭据和密钥 才能与您的Authorize.Net帐户建立连接,该帐户包括:

  • API登录ID:用于识别Authorize.Net账户的唯一ID。

  • API交易密钥

  • API签名密钥

  • API客户端密钥

要检索它们,请登录您的Authorize.Net账户,转到:menuselection:账户-->设置-->安全设置-->API凭证和密钥,创建您的**交易密钥**和**签名密钥**,并将2个密钥粘贴至Odoo中的相关字段。然后,点击**创建客户端密钥**。

重要

要使用*沙盒*账户测试 Authorize.Net,请将:guilabel:状态`更改为:guilabel:`测试模式。我们建议在测试 Odoo 数据库而非主数据库上进行此操作。

如果在普通账户中使用 测试模式 会导致以下错误:商户登录名或密码无效,或账户未激活

配置选项卡

暂挂信用卡

使用 Authorize.Net,您可以启用 手动捕获。如果启用,在扣款前,资金将在客户卡上保留 30 天。

警告

**30 天**后,Authorize.Net 将**自动取消**交易。

参见

ACH 支付(仅限美国)

ACH is an electronic funds transfer system used between bank accounts in the United States.

配置

要让客户可以使用 ACH 付款,注册 Authorize.Net 电子支票服务。激活电子支票后,进入 会计 ‣ 配置 ‣ 支付提供商 ‣ Authorize.net 复制之前在 Odoo 上配置的 Authorize.Net 支付提供商。然后,点击齿轮图标()并选择 复制。更改提供商名称以区分两个版本(例如,Authorize.net - Banks)。

准备就绪后,将提供商的 状态 更改为常规账户的 已启用 或沙箱账户的 测试模式

导入 Authorize.Net 账单

从 Authorize.Net 导出

导出报表:

  • 登录 Authorize.Net。

  • 进入 账户 ‣ 报表 ‣ eCheck.Net 结算单

  • 使用*开始*和*结束*批次结算定义导出范围。两个批次结算范围内的所有交易都将导出到 Odoo。

  • 选择所需范围内的所有交易,复制并粘贴到 Excel 导入模板报告 1 下载 页面。

选择要导入的 Authorize.Net 交易

Example

Authorize.Net 账单的结算批次

In this case, the first batch (01/01/2021) of the year belongs to the settlement of 12/31/2020, so the opening settlement is from 12/31/2020.

Once the data is in the Report 1 Download sheet:

  • Go to the Transaction Search tab on Authorize.Net.

  • Under the Settlement Date section, select the previously used range of batch settlement dates in the From: and To: fields and click Search.

  • When the list has been generated, click Download to File.

  • In the pop-up window, select Expanded Fields with CAVV Response/Comma Separated, enable Include Column Headings, and click Submit.

  • Open the text file, select All, copy the data, and paste it into the Report 2 Download sheet of the Excel import template.

  • Transit lines are automatically filled in and updated in the transit for report 1 and transit for report 2 sheets of the Excel import template. Make sure all entries are present, and if not, copy the formula from previously filled-in lines of the transit for report 1 or 2 sheets and paste it into the empty lines.

重要

To get the correct closing balance, do not remove any line from the Excel sheets.

Import into Odoo

To import the data into Odoo:

  • 打开 Excel 导入模板

  • Copy the data from the transit for report 2 sheet and use paste special to only paste the values in the Odoo Import to CSV sheet.

  • Look for blue cells in the Odoo Import to CSV sheet. These are chargeback entries without any reference number. As they cannot be imported as such, go to Authorize.Net ‣ Account ‣ Statements ‣ eCheck.Net Settlement Statement.

  • Look for Charge Transaction/Chargeback, and click it.

  • Copy the invoice description, paste it into the Label cell of the Odoo Import to CSV sheet, and add Chargeback / before the description.

  • If there are multiple invoices, add a line into the Excel import template for each invoice and copy/paste the description into each respective Label line.

注解

For combined chargeback/returns in the payouts, create a new line in the Excel import template for each invoice.

Example

Chargeback description
  • Next, delete zero transaction and void transaction line items, and change the format of the Amount column in the Odoo Import to CSV sheet to Number.

  • Go back to eCheck.Net Settlement Statement ‣ Search for a Transaction and search again for the previously used batch settlements dates.

  • Verify that the batch settlement dates on eCheck.Net match the related payments’ dates found in the Date column of the Odoo Import to CSV.

  • If it does not match, replace the date with the one from eCheck.Net. Sort the column by date, and make sure the format is MM/DD/YYYY.

  • Copy the data - column headings included - from the Odoo Import to CSV sheet, paste it into a new Excel file, and save it using the CSV format.

  • Open the Accounting app, go to Configuration ‣ Journals, tick the Authorize.Net box, and click Favorites ‣ Import records ‣ Load file. Select the CSV file and upload it into Odoo.

小技巧

List of eCheck.Net return codes