Skip to content
GitLab
Erkunden
Anmelden
Registrieren
Primärnavigation
Suchen oder aufrufen …
Projekt
payment-amazon
Verwalten
Aktivität
Mitglieder
Labels
Planen
Tickets
11
Ticketübersichten
Meilensteine
Wiki
Code
Merge Requests
1
Repository
Branch
Commits
Tags
Repository-Diagramm
Revisionen vergleichen
Code-Schnipsel
Build
Pipelines
Aufgaben
Pipeline-Zeitpläne
Artefakte
Bereitstellung
Releases
Betreiben
Umgebungen
Überwachen
Vorfälle
Service-Desk
Analysieren
Wertschöpfungskettenanalyse
Mitwirkenden-Analyse
CI/CD-Analyse
Repository-Analysen
Hilfe
Hilfe
Support
GitLab-Dokumentation
GitLab-Pläne vergleichen
Community-Forum
Zu GitLab beitragen
Feedback geben
Tastenkürzel
?
Code-Schnipsel
Gruppen
Projekte
Show more breadcrumbs
QUIQQER
payment-amazon
Commits
9b3b1864
Bestätigt
Commit
9b3b1864
erstellt
vor 10 Monaten
von
Henning Leutz
Dateien durchsuchen
Optionen
Downloads
Patches
Einfaches Diff
refactor: ids to uuids
Übergeordneter
330083d9
No related branches found
Branches enthält Commit
Tags
2.0.0
Tags enthält Commit
3 Merge Requests
!6
feat!: quiqqer v2
,
!5
feat!: quiqqer v2
,
!4
feat!: quiqqer v2
Änderungen
1
Leerzeichenänderungen ausblenden
Inline
Nebeneinander
1 geänderte Datei
src/QUI/ERP/Payments/Amazon/Recurring/BillingAgreements.php
+6
-6
6 Ergänzungen, 6 Löschungen
src/QUI/ERP/Payments/Amazon/Recurring/BillingAgreements.php
wird angezeigt
mit
6 Ergänzungen
und
6 Löschungen
src/QUI/ERP/Payments/Amazon/Recurring/BillingAgreements.php
+
6
−
6
Zeige Datei @
9b3b1864
...
...
@@ -270,7 +270,7 @@ class BillingAgreements
'quiqqer/payment-amazon'
,
'exception.Recurring.agreement_id_not_found'
,
[
'invoiceId'
=>
$Invoice
->
get
Id
()
'invoiceId'
=>
$Invoice
->
get
UUID
()
]
),
404
...
...
@@ -313,14 +313,14 @@ class BillingAgreements
}
// Check if a Billing Agreement transaction matches the Invoice
$transactionData
=
self
::
getBillingAgreementTransactionData
(
$billingAgreementId
,
$Invoice
->
get
Id
());
$transactionData
=
self
::
getBillingAgreementTransactionData
(
$billingAgreementId
,
$Invoice
->
get
UUID
());
// If no transaction data found -> create DB entry
if
(
$transactionData
===
false
)
{
QUI
::
getDataBase
()
->
insert
(
self
::
getBillingAgreementTransactionsTable
(),
[
'invoice_id'
=>
$Invoice
->
get
Id
(),
'invoice_id'
=>
$Invoice
->
get
UUID
(),
'amazon_agreement_id'
=>
$billingAgreementId
,
'global_process_id'
=>
$Invoice
->
getGlobalProcessId
()
]
...
...
@@ -381,7 +381,7 @@ class BillingAgreements
'recurring.BillingAgreement.seller_authorization_note'
,
[
'url'
=>
Utils
::
getProjectUrl
(),
'invoiceId'
=>
$Invoice
->
get
Id
()
'invoiceId'
=>
$Invoice
->
get
UUID
()
]
)
]);
...
...
@@ -678,10 +678,10 @@ class BillingAgreements
* Get billing agreement transaction data by invoice
*
* @param string $billingAgreementId
* @param int $invoiceId
* @param int
|string
$invoiceId
- invoice hash
* @return array|false - Transaction data or false if not yet created
*/
public
static
function
getBillingAgreementTransactionData
(
string
$billingAgreementId
,
int
$invoiceId
):
bool
|
array
public
static
function
getBillingAgreementTransactionData
(
string
$billingAgreementId
,
int
|
string
$invoiceId
):
bool
|
array
{
try
{
$result
=
QUI
::
getDataBase
()
->
fetch
([
...
...
This diff is collapsed.
Zum Erweitern klicken.
Vorschau
0%
Wiederholen
oder
Neue Datei anhängen
.
Abbrechen
You are about to add
0
people
to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Kommentar speichern
Abbrechen
Bitte
registrieren
oder
Anmelden
zum Kommentieren