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

fix: correctly update stripe subscriptions data

Übergeordneter c4f8e62d
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
...@@ -754,13 +754,10 @@ protected static function refreshTransactionList($subscriptionId) ...@@ -754,13 +754,10 @@ protected static function refreshTransactionList($subscriptionId)
QUI::getDataBase()->update( QUI::getDataBase()->update(
Provider::getStripeBillingSubscriptionsTransactionsTable(), Provider::getStripeBillingSubscriptionsTransactionsTable(),
[ [
'stripe_invoice_id' => $transaction['id'],
'stripe_invoice_data' => \json_encode($transaction), 'stripe_invoice_data' => \json_encode($transaction),
'stripe_invoice_date' => $transactionTime,
'global_process_id' => $globalProcessId
], ],
[ [
'stripe_subscription_id' => $subscriptionId 'stripe_invoice_id' => $transaction['id'],
] ]
); );
} else { } else {
......
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