Stripe - 延迟市场应用程序中的转移 [英] Stripe - delaying transfers in a marketplace app

查看:31
本文介绍了Stripe - 延迟市场应用程序中的转移的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个市场应用.我正在使用 Stripe 接受买家付款并将百分比转移给卖家.但是,stripe 只能让您从 Stripe 余额中转移.因此,如果我接受需要 2 个工作日才能显示在我的条带余额中的买方付款,则我无法在发生销售时转移付款.我收到来自 Stripe 的余额不足错误.

有没有办法将转移延迟 3 天,以便在买方付款清算后开始转移?我想自动排队转移,而不是手动启动每个卖家转移.

这是可能的,还是我唯一的选择,通过在等待费用清算的同时为我的条带余额提供资金来自掏腰包?

解决方案

无法通过 API 延迟传输.除了为您的帐户提供资金外,我认为最好的办法就是在您的一端延迟.<​​/p>

最简单的方法是在您的数据库中创建一个表,描述要进行的传输以及进行传输的日期/时间,然后运行一个 cronjob 来查找应该进行的传输并执行它们(并标记它们)如已付费或删除记录).

I'm building a marketplace app. I'm using Stripe to accept buyer payments and transfer a percentage to the seller. However, stripe only let's you transfer from your stripe balance. So if I accept a buyer payment that takes 2 business days to show up in my stripe balance, I can't transfer payment as a sale occurs. I get an insufficient balance error from Stripe.

Is there a way to delay the transfer by say 3 days so the transfer is initiated after the buyer payment clears? I want to queue up transfers automatically rather than manually initiate each sellers transfer.

Is this possible or is the only option for me to pay out of my pocket by funding my stripe balance while waiting for the charges to clear?

解决方案

There's no way to delay the transfer via the API. Besides funding your account, I think your best bet is to just do this delay on your end.

The easiest way would be to just make a table in your database that describes the transfer to make, and the date/time to make it, then run a cronjob that finds transfers that should be made and perform them (and mark them as paid or delete the record).

这篇关于Stripe - 延迟市场应用程序中的转移的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆