如何在条带重定向 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”,这可能吗?