繁体   English   中英

带有 Intuit / Quickbooks 的 ACH 支付网关

[英]ACH Payment Gateway with Intuit / Quickbooks

Intuit 是否提供由 API 提供服务的支付网关(类似于 Stripe 或 Square),我可以使用它在我的网站(使用 PHP 构建)上接收付款? 请注意,我特别想用它来接收 ACH 付款。 我将使用 Stripe 进行信用卡交易。

如果存在此类功能,请提供指向其文档或说明如何完成的链接。 谢谢!

文档

代码

<?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());
}

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM