为什么我有这样的客户id和发票id,cus_0000000000000和in_0000000000000?在条纹网钩的反应。我正在检查我的事件,在我的帐户中,我得到了响应200确定,但得到客户的id和发票id得到了像these.why?我正在检查发送测试webhook事件,在这里,我得到了这样的响应。
public function actionStripeHook() {
if (Yii::app()->request->isPostRequest) {
try {
$postdata = file_get_contents
我正在尝试在客户注册计划后发送电子邮件
我已经在条带中设置了webhook,但它没有发送电子邮件
我做错了什么,这里是webhook文件
<?php
require 'core/lib/Stripe.php';
Stripe::setApiKey("YOUR_SECRET_KEY");
// retrieve the request's body and parse it as JSON
$body = file_get_contents('php://input');
$event_json = json_decode($b
我正在尝试获取我的条带帐户中所有客户的列表,但我受到分页的限制,想知道最容易做到这一点的方法。
customers = []
results = stripe.Customer.list(limit=100)
print len(results.data)
for c in results:
customers.append(c)
results = stripe.Customer.list(limit=100, starting_after=results.data[-1].id)
for c in results:
customers.append(c)
这列出了前200个