【发布时间】:2017-11-02 02:37:31
【问题描述】:
我想在 Stripe 支付仪表板中创建客户时添加卡号。数据来自通过数据条的支付表单。
$customer = \Stripe\Customer::create(array("source" => $token,"description" => "$userid"));
【问题讨论】:
标签: php stripe-payments payment-gateway
我想在 Stripe 支付仪表板中创建客户时添加卡号。数据来自通过数据条的支付表单。
$customer = \Stripe\Customer::create(array("source" => $token,"description" => "$userid"));
【问题讨论】:
标签: php stripe-payments payment-gateway
这不太适合 Stack Overflow 格式,并且无法根据您共享的内容来诊断问题。我建议联系 Stripe 支持,以便有人更详细地查看您的代码:
https://support.stripe.com/email/login
这里有一个从卡号创建客户的完整示例:
https://stripe.com/docs/charges#saving-credit-card-details-for-later
【讨论】: