This commit is contained in:
Lars Kusch 2023-01-16 15:07:06 +01:00
parent 8df7457c6a
commit ea20555378

View File

@ -96,11 +96,10 @@ class BACS
'payment_method' => $request->token,
'confirm' => true,
];
$state['payment_intent'] = $this->stripe->createPaymentIntent($payment_intent_data);
$state = [
'payment_hash' => $request->payment_hash,
'payment_intent' => $this->stripe->createPaymentIntent($payment_intent_data),
];
$state = array_merge($state, $request->all());
$state['customer'] = $state['payment_intent']->customer;