1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 00:11:35 +02:00

Fixes for stripe gateways

This commit is contained in:
David Bomba 2022-04-03 13:03:56 +10:00
parent a2ef847f54
commit c5bf766938
2 changed files with 14 additions and 0 deletions

View File

@ -35,6 +35,7 @@ jobs:
php artisan key:generate
php artisan optimize
php artisan storage:link
php artisan livewire:publish
sudo php artisan cache:clear
sudo find ./vendor/bin/ -type f -exec chmod +x {} \;
sudo find ./ -type d -exec chmod 755 {} \;

View File

@ -40,6 +40,19 @@ class ReverseAppleDomainForHosted extends Migration
$chf->symbol = 'CHF';
$chf->save();
}
if(Ninja::isSelfHost())
{
$gateway = Gateway::find(20);
if($gateway)
{
$gateway->fields = '{"publishableKey":"","apiKey":"","appleDomainVerification":""}';
$gateway->save();
}
}
}
/**