【问题标题】:Stripe Payment gateway条纹支付网关
【发布时间】:2021-10-08 14:04:43
【问题描述】:

我正在使用 Laravel 创建像 Airbnb 这样的服务。所以我正在为我的项目使用条带支付网关。所以我想用条纹创建托管系统。假设有人预订卖家 ABC 的房产 3 天。预订金额从买方账户借记,贷记到管理员账户。现在,在旅程完成时,卖家 ABC 得到了他的钱,而管理员从预订中得到了他的佣金。所以我们只有在旅程完成后才能将钱转入卖家账户。

所以我使用以下方法来实现以下方法。

付款授权

\Stripe\Stripe::setApiKey('sk_test_****');

\Stripe\PaymentIntent::create([
  'amount' => 1099,
  'currency' => 'inr',
  'payment_method_types' => ['card'],
  'capture_method' => 'manual',
]);

付款捕获

\Stripe\Stripe::setApiKey('sk_test_*****');

$intent = \Stripe\PaymentIntent::retrieve('pi_****');
$intent->capture(['amount_to_capture' => 750]);

转账付款

// Create a Transfer to a connected account (later):
$transfer = \Stripe\Transfer::create([
  'amount' => 7000,
  'currency' => 'inr',
  'destination' => '{{CONNECTED_STRIPE_ACCOUNT_ID}}',
  'transfer_group' => '{ORDER10}',
]);

但它无法正常工作,因为我收到以下错误。

无法将资金发送到位于 IN 的账户,因为它被限制在您的平台所在区域之外;

谁能指导我实现我的要求。

【问题讨论】:

标签: php laravel stripe-payments escrow


【解决方案1】:

Stripe 似乎只接受印度境内的 INR 付款。

您的条带帐户在印度境内吗?

Stripe currently does not support the ability to receive INR payouts from Stripe accounts registered outside of India.

Stripe support documentation

【讨论】:

    猜你喜欢
    • 2020-10-14
    • 2022-08-19
    • 1970-01-01
    • 2021-01-13
    • 2016-03-29
    • 2017-09-14
    • 2021-08-02
    • 2020-12-30
    • 1970-01-01
    相关资源
    最近更新 更多