条纹-向客户发送付款 [英] Stripe- Send Payment to Customers

查看:162
本文介绍了条纹-向客户发送付款的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用STRIPE PHP API为客户创建付款,为此,我找到了创建客户的代码,而不是为客户创建付款的代码.

I want to use STRIPE PHP API for creating payments to customers and for that i have found the code to create the customers but not for to create payment for them.

创建客户的代码: https://stripe.com/docs/api#create_customer

require_once('./lib/Stripe.php'); 
    Stripe::setApiKey("sk_test_k9NE13Q2LjsIvYTNQHiP5C5H");
    Stripe_Customer::create(
     array( "description" => "Customer for test@example.com",
            "card" => "tok_1509ycG2gfbJDdl3oYWMe6yq" // obtained with Stripe.js
     ));

我的情况是:我有一些产品,客户到我的网站并购买了产品,但有些客户来自会员横幅,我们需要向会员支付一些佣金客户.

My Scenario is : I have some products and customers comes to my site and purchase the product but some of the customers will come from the affiliate banner and we need to pay some commission amount to the affiliate customers.

因此,在这种情况下,我必须创建客户并为其创建付款,并且我发现了用于创建客户但未用于向该客户进行付款的PHP API代码.

So, for such scenario i have to create customers and create payment for them and i have found PHP API code for creating the customers but not for the creating payment to that customers.

推荐答案

据我了解,您应该为客户使用Stripe managed accounts来制作Payouts.

As I understand, you should use Stripe managed accounts for your customers to make Payouts.

  • https://stripe.com/docs/connect/managed-accounts
  • https://stripe.com/docs/connect/payouts

您需要收集其他客户验证数据,以使payouts进入托管帐户:

You'll need to collect additional customer verification data to make payouts to managed accounts:

  • https://stripe.com/docs/connect/identity-verification
  • https://stripe.com/docs/connect/updating-accounts#account-verification
  • https://stripe.com/docs/connect/required-verification-information
  • https://stripe.com/docs/connect/testing-verification

这篇关于条纹-向客户发送付款的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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