Skip to content
Code-Schnipsel Gruppen Projekte
Commit d49ee315 erstellt von Patrick Müller's avatar Patrick Müller
Dateien durchsuchen

refactor: use Currency handler to fetch currency object

Übergeordneter d88297d5
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
...@@ -287,7 +287,7 @@ public function confirmPaymentIntent(AbstractOrder $Order, StripePaymentIntent $ ...@@ -287,7 +287,7 @@ public function confirmPaymentIntent(AbstractOrder $Order, StripePaymentIntent $
$Transaction = Gateway::getInstance()->purchase( $Transaction = Gateway::getInstance()->purchase(
$PaymentIntent->amount_received / 100, $PaymentIntent->amount_received / 100,
new QUI\ERP\Currency\Currency(mb_strtoupper($PaymentIntent->currency)), QUI\ERP\Currency\Handler::getCurrency(mb_strtoupper($PaymentIntent->currency)),
$Order, $Order,
$this $this
); );
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren