From db2b35d823d81ee8b1258d6a1dff6dac4a31c55e Mon Sep 17 00:00:00 2001 From: Justin Freeman Date: Tue, 3 Oct 2023 15:41:02 +1100 Subject: [PATCH] CIVIEWAY-248 Fix incorrect spelt entity parameter and replace some double-quotes --- eWAYRecurring.php | 8 ++++---- info.xml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/eWAYRecurring.php b/eWAYRecurring.php index 05c96df..af84b2c 100644 --- a/eWAYRecurring.php +++ b/eWAYRecurring.php @@ -91,7 +91,7 @@ function ewayrecurring_civicrm_managed(&$entities) { 'description' => 'Process pending and scheduled payments in the eWay_Recurring processor', 'api_entity' => 'Job', 'api_action' => 'run_payment_cron', - 'parameters' => "processor_name=eWay_Recurring", + 'parameters' => 'processor_name=eWay_Recurring', 'is_active' => '1', ], ]; @@ -134,7 +134,7 @@ function ewayrecurring_civicrm_managed(&$entities) { 'description' => 'Process pending transaction verifications in the eWay_Recurring processor', 'api_entity' => 'EwayContributionTransactions', 'api_action' => 'validate', - 'parameters' => "", + 'parameters' => '', 'is_active' => '1', ], ]; @@ -150,7 +150,7 @@ function ewayrecurring_civicrm_managed(&$entities) { 'description' => 'Loops through PaymentTokens for eWAY Recurring linked PaymentTokens that are missing expiry date or masked card number and queries eWAY Rapid API to fill these details in', 'api_entity' => 'EwayRecurring', 'api_action' => 'fillTokensMeta', - 'paramters' => '', + 'parameters' => '', 'is_active' => '1', ], ]; @@ -349,7 +349,7 @@ function ewayrecurring_civicrm_coreResourceList(&$list, $region) { Civi::resources()->addScriptFile('au.com.agileware.ewayrecurring', 'js/eway.js', [ 'region' => $region, 'weight' => 9 ]); $result = civicrm_api3('PaymentProcessorType', 'get', [ 'sequential' => 1, - 'name' => "eWay_Recurring", + 'name' => 'eWay_Recurring', 'api.PaymentProcessor.get' => ['payment_processor_type_id' => "\$value.id"], ]); if ($result['is_error'] || $result['values'][0]['api.PaymentProcessor.get']['is_error']) { diff --git a/info.xml b/info.xml index 7fbd694..c41a4f1 100644 --- a/info.xml +++ b/info.xml @@ -15,8 +15,8 @@ support@agileware.com.au stable - 2023-08-09 - 2.6.1 + 2023-10-03 + 2.6.2 5.38