小编Sha*_*n S的帖子

stripe 重定向 url 中的自定义参数

如何在条带重定向 URL 中添加自定义参数。我的代码是

$authorize_request_body = array(
      'response_type' => 'code',
      'scope' => 'read_write',
      'client_id' => $stripe_client_id,
      'entity_id' => $entity_id,
);
$url = AUTHORIZE_URI . '?' . http_build_query($authorize_request_body);
echo "<a href='$url' class='btn btn-primary'>Connect with Stripe</a>";
Run Code Online (Sandbox Code Playgroud)

我想在重定向 URL 中动态获取“entity_id”,这可能吗?

php stripe-payments

5
推荐指数
0
解决办法
2552
查看次数

标签 统计

php ×1

stripe-payments ×1