diff --git a/.github/workflows/php-ci.yml b/.github/workflows/php-ci.yml index de3bcbe..3c02fa7 100644 --- a/.github/workflows/php-ci.yml +++ b/.github/workflows/php-ci.yml @@ -104,15 +104,7 @@ jobs: path: "FOSSBilling" ref: ${{ steps.get_id.outputs.tag }} - - name: Install Composer Dependencies (<=0.4.x) - if: ${{ hashFiles('FOSSBilling/src/composer.json') }} - uses: php-actions/composer@v6 - with: - args: --working-dir=FOSSBilling/src - dev: no - - - name: Install Composer Dependencies (>=0.5.0) - if: ${{ hashFiles('FOSSBilling/composer.json') }} + - name: Install Composer Dependencies uses: php-actions/composer@v6 with: args: --working-dir=FOSSBilling/ diff --git a/src/Mollie.php b/src/Mollie.php index 091e6ed..4e0a630 100644 --- a/src/Mollie.php +++ b/src/Mollie.php @@ -100,7 +100,7 @@ protected function _generateForm(Model_Invoice $invoice): string $service = $this->di['mod_service']('invoice', 'transaction'); // create a new transaction so we can reuse the payment ID in the next step - $output = $service->create(array('txn_id' => $payment->id, 'invoice_id' => $invoice->id, 'gateway_id' => $payGateway->id));` + $output = $service->create(array('txn_id' => $payment->id, 'invoice_id' => $invoice->id, 'gateway_id' => $payGateway->id)); // We still need to update the unique ID $tx = $this->di['db']->getExistingModelById('Transaction', $output);