带有 Intuit / Quickbooks 的 ACH 支付网关
ACH Payment Gateway with Intuit / Quickbooks
Intuit 是否提供由 API 提供服务的支付网关(类似于 Stripe 或 Square),我可以使用它在我的网站上接收付款(使用 PHP 构建)?请注意,我特别想用它来接收 ACH 付款。我将使用 Stripe 进行信用卡交易。
如果存在此类功能,请提供 link 其文档或如何实现该功能的说明。谢谢!
文档
库
代码
<?php
$name = 'Jane Doe';
$number = '856666';
$routing = '072403004';
$type = QuickBooks_Payments_BankAccount::TYPE_PERSONAL_CHECKING;
$phone = '860-634-1234';
$amount = 50;
$currency = 'USD';
$Payments = new QuickBooks_Payments($oauth_consumer_key, $oauth_consumer_secret, $sandbox);
$BankAccount = new QuickBooks_Payments_BankAccount($name, $number, $routing, $type, $phone);
if ($Transaction = $Payments->debit($Context, $BankAccount, $amount, $currency))
{
//print_r($Transaction);
print_r($Transaction);
}
else
{
print('Error while debiting a bank account: ' . $Payments->lastError());
}
Intuit 是否提供由 API 提供服务的支付网关(类似于 Stripe 或 Square),我可以使用它在我的网站上接收付款(使用 PHP 构建)?请注意,我特别想用它来接收 ACH 付款。我将使用 Stripe 进行信用卡交易。
如果存在此类功能,请提供 link 其文档或如何实现该功能的说明。谢谢!
文档
库
代码
<?php
$name = 'Jane Doe';
$number = '856666';
$routing = '072403004';
$type = QuickBooks_Payments_BankAccount::TYPE_PERSONAL_CHECKING;
$phone = '860-634-1234';
$amount = 50;
$currency = 'USD';
$Payments = new QuickBooks_Payments($oauth_consumer_key, $oauth_consumer_secret, $sandbox);
$BankAccount = new QuickBooks_Payments_BankAccount($name, $number, $routing, $type, $phone);
if ($Transaction = $Payments->debit($Context, $BankAccount, $amount, $currency))
{
//print_r($Transaction);
print_r($Transaction);
}
else
{
print('Error while debiting a bank account: ' . $Payments->lastError());
}