Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
mnlmaier committed Nov 27, 2024
1 parent afba099 commit f0994d5
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function createPaymentIntent(CreatePaymentIntentRequestDTO $paymentIntent

$paymentIntent = $this->stripeClient->paymentIntents->create([
'amount' => $paymentIntentDTO->amount,
'currency' => $paymentIntentDTO->currencyCode,
'currency' => 'eur',
'customer' => $this->upsertStripeCustomer($paymentIntentDTO)->getStripeCustomerId(),
'setup_future_usage' => 'on_session',
'metadata' => [
Expand All @@ -73,9 +73,7 @@ public function createPaymentIntent(CreatePaymentIntentRequestDTO $paymentIntent
'order_short_id' => $paymentIntentDTO->order->getShortId(),
'account_id' => $paymentIntentDTO->account->getId(),
],
'automatic_payment_methods' => [
'enabled' => true,
],
'payment_method_types' => ['card', 'klarna', 'paypal', 'giropay', 'ideal', 'sofort'],
$applicationFee ? ['application_fee_amount' => $applicationFee] : [],
], $this->getStripeAccountData($paymentIntentDTO));

Expand Down

0 comments on commit f0994d5

Please sign in to comment.