【发布时间】:2015-08-22 15:16:05
【问题描述】:
我的 Payeezy 抛出错误“付款方式丢失”
我正在测试授权交易,我认为不需要付款方式。
这是我的代码
这是我们网站上的回复http://wolcottschoolpay.com/test/payeezy_php/test.php
{
correlation_id: "228.1440254919101",
Error:
{
messages:
[
{
code: "payment_method_missing",
description: "The payment method is missing"
},
{
code: "missing_amount",
description: "The amount is missing"
},
{
code: "missing_currency",
description: "The currency is missing"
}
]
},
transaction_status: "Not Processed",
validation_status: "failed",
transaction_type: "authorize",
currency: "USD”
}
我在github上的官方payeezy php直接库中复制了这里的大部分部分。
授权交易在第 127 行 https://github.com/payeezy/payeezy_direct_API/blob/master/payeezy_php/example/tests/PayeezyTest.php
我还尝试了我的商家测试详细信息和 payeezy 库提供的测试详细信息,但都没有成功。
这是图书馆的问题吗?有什么想法吗?
【问题讨论】: