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

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

问题描述

我想使用 STRIPE PHP API 为客户创建付款,为此我找到了创建客户的代码,但没有为他们创建付款.

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

require_once('./lib/Stripe.php');Stripe::setApiKey("sk_test_k9NE13Q2LjsIvYTNQHiP5C5H");Stripe_Customer::create(数组(描述"=>test@example.com的客户",卡" =>"tok_1509ycG2gfbJDdl3oYWMe6yq"//用 Stripe.js 获得));

我的场景是:我有一些产品,客户来到我的网站并购买产品,但有些客户来自联盟横幅,我们需要向联盟支付一些佣金客户.

因此,对于这种情况,我必须创建客户并为他们创建付款,并且我找到了用于创建客户的 PHP API 代码,但没有用于向该客户创建付款.

解决方案

据我所知,您应该使用 Stripe 管理帐户让您的客户进行付款.>

您需要收集额外的客户验证数据才能付款到管理帐户:

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.

Code to create customers: 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.

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.

解决方案

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

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

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

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