我已成功使用DocuSign REST API创建了一个信封,其中的付款与我的Authorize.Net沙箱帐户相关联。我正在DocuSign沙箱中对此进行测试,到目前为止,它都运行良好-付款提示出现,我可以输入付款详细信息,这也出现在我的Authorize.Net帐户中。
我现在想使用我的DocuSign信封中的值设置Authorize.Net中显示的发票编号,但是即使有可能也无法解决。这是我在Authorize.Net中谈论的内容:
您可以看到我的测试付款的发票号为空。是否可以将其设置为付款的信封参数之一?我尝试在“付款方式详细信息”下的“公式”标签中为以下各项设置值:
amountReference
description
itemCode
name
但是当我在Authorize.Net门户中查看交易时看不到它。
答案 0 :(得分:2)
当前无法直接写入Authorize.net中的Invoice#字段。我已经写了一个增强请求。您可以将其跟踪为“ PYMT-3821增强-付款需要在Authorize.net中写发票号的方式。”
可能的解决方法:您可以按以下方式使用customMetaData和customMetadataRequired将Invoice#写入描述字段。
JSON:
"paymentDetails": {
"allowedPaymentMethods": [
"CreditCard",
"BankAccount"
],
"currencyCode": "USD",
"customMetadata": "Invoice# 12345",
"customMetadataRequired": true,
"gatewayAccountId": "11d6dc32-73e3-xxxxxxxxxx",
"gatewayDisplayName": "Authorize.Net",
"gatewayName": "AuthorizeDotNet",
"lineItems": [
{
"amountReference": "NumberTab_1",
"description": "description",
"name": "Harmonica"
}
],
"status": "new"
},