diff --git a/VERSION.txt b/VERSION.txt index b5db1702f35f..3238344b3b0d 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -5.4.3 \ No newline at end of file +5.4.4 \ No newline at end of file diff --git a/app/Mail/TemplateEmail.php b/app/Mail/TemplateEmail.php index 86ae1adbf505..a8879c0511cd 100644 --- a/app/Mail/TemplateEmail.php +++ b/app/Mail/TemplateEmail.php @@ -90,8 +90,10 @@ class TemplateEmail extends Mailable if (strlen($settings->bcc_email) > 1){ - if(Ninja::isHosted()) - $this->bcc(reset(explode(",",str_replace(" ", "", $settings->bcc_email))));//remove whitespace if any has been inserted. + if(Ninja::isHosted()){ + $bccs = explode(",",str_replace(" ", "", $settings->bcc_email)); + $this->bcc(reset($bccs));//remove whitespace if any has been inserted. + } else $this->bcc(explode(",",str_replace(" ", "", $settings->bcc_email)));//remove whitespace if any has been inserted. diff --git a/app/PaymentDrivers/Stripe/Jobs/PaymentIntentWebhook.php b/app/PaymentDrivers/Stripe/Jobs/PaymentIntentWebhook.php index dfbe20efcf49..48d8bcd33dd1 100644 --- a/app/PaymentDrivers/Stripe/Jobs/PaymentIntentWebhook.php +++ b/app/PaymentDrivers/Stripe/Jobs/PaymentIntentWebhook.php @@ -118,6 +118,9 @@ class PaymentIntentWebhook implements ShouldQueue if(!$payment_hash) return; + nlog("payment intent"); + nlog($this->stripe_request); + if(optional($this->stripe_request['object']['charges']['data'][0]['metadata']['payment_hash']) && in_array('card', $this->stripe_request['object']['allowed_source_types'])) { nlog("hash found"); diff --git a/config/ninja.php b/config/ninja.php index 4d911b56bf2d..508852f4a799 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -14,8 +14,8 @@ return [ 'require_https' => env('REQUIRE_HTTPS', true), 'app_url' => rtrim(env('APP_URL', ''), '/'), 'app_domain' => env('APP_DOMAIN', 'invoicing.co'), - 'app_version' => '5.4.3', - 'app_tag' => '5.4.3', + 'app_version' => '5.4.4', + 'app_tag' => '5.4.4', 'minimum_client_version' => '5.0.16', 'terms_version' => '1.0.1', 'api_secret' => env('API_SECRET', ''), diff --git a/database/migrations/2022_05_18_162152_create_scheduled_jobs_table.php b/database/migrations/2022_05_18_162152_create_scheduled_jobs_table.php index 80fcf410f499..1b3a966db726 100644 --- a/database/migrations/2022_05_18_162152_create_scheduled_jobs_table.php +++ b/database/migrations/2022_05_18_162152_create_scheduled_jobs_table.php @@ -26,7 +26,7 @@ class CreateScheduledJobsTable extends Migration $table->id(); $table->string('action_name'); $table->string('action_class'); - $table->json('parameters')->nullable(); + $table->mediumText('parameters')->nullable(); $table->foreignIdFor(\App\Models\Company::class); $table->foreignIdFor(\App\Models\Scheduler::class); $table->timestamps();