Skip to content

Commit

Permalink
fix mpay24, change pipeline to self-hosted
Browse files Browse the repository at this point in the history
  • Loading branch information
dpolakovics committed Jan 26, 2024
1 parent 5f16699 commit 2d4b0a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
environment:
name: stage
url: https://stage.spenden.epicenter.works
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -49,7 +49,7 @@ jobs:
environment:
name: production
url: https://spenden.epicenter.works
runs-on: ubuntu-latest
runs-on: self-hosted
needs: deploy-stage
steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions public/checkout.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
$env = parse_ini_file(__DIR__ . '/../.env');

$mpay24_config = new Mpay24Config($env['MPAY24_MERCHANT_ID'], $env['MPAY24_SOAP_PASS']);
$mpay24_config->useTestSystem($env['MPAY24_TEST_SYSTEM']);
$mpay24_config->setDebug($env['MPAY24_DEBUG']);
$mpay24_config->useTestSystem($env['MPAY24_TEST_SYSTEM'] === "true");
$mpay24_config->setDebug($env['MPAY24_DEBUG'] === "true");
$mpay24 = new Mpay24($mpay24_config);

$mdxi = new Mpay24Order();
Expand Down

0 comments on commit 2d4b0a1

Please sign in to comment.