Stripe で Omnipay API を使用しようとしていますが、「名前」、「メタデータ」、「Zip」などの追加パラメータを渡すことができません。
// The token is grabbed from stripe JS
$this->stripe_gateway = Omnipay::create('Stripe');
$response = $this->stripe_gateway->purchase([
'amount' => $amount,
'currency' => 'usd',
'name' => $name,
'description' => $product->title,
'zip_address' => $zip,
'metadata' => [
'name' => $name,
'user_id' => $this->session->get('id')
],
'token' => $stripeToken,
])->send();
これは API に組み込まれていませんか?