Skip to content

Commit

Permalink
#32835 QA changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bohdan-Medv committed Apr 6, 2023
1 parent 71a41ec commit 3a62bfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Service/CronTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class CronTask extends ScheduledTask
{
public const CRON_INTERVAL = 600;
public const CRON_INTERVAL = 30;

public static function getTaskName(): string
{
Expand Down
3 changes: 1 addition & 2 deletions src/Service/CronTaskHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ private function getTimeInterval($config)
* @return void
* @throws \Exception
*/
public function processOrder(array $order)
private function processOrder(array $order)
{
if (!array_key_exists('custom_fields', $order)) {
return;
Expand All @@ -166,7 +166,6 @@ public function processOrder(array $order)
if (!array_key_exists(Form::CUSTOM_FIELD_WORLDLINE_PAYMENT_HOSTED_CHECKOUT_ID, $customFields)) {
return;
}

$hostedCheckoutId = $customFields[Form::CUSTOM_FIELD_WORLDLINE_PAYMENT_HOSTED_CHECKOUT_ID];

$order = PaymentHandler::getOrder(
Expand Down

0 comments on commit 3a62bfa

Please sign in to comment.