• Resolved iftekhar447

    (@iftekhar447)


    Recently when I tried sending messages via API with the plugin the messages with no variables inside the WhatsApp message template were behaving as usual. But if there was a variable in the message template the messages were not sending I added 1 variable in header and 2 in body I added the variables via the plugin in correct order as desired but now working. Also I was confused when I was adding the variable in the message template it asks for sample text what to add in it? I’ve tried many things nothing worked. Seeking help

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support ashlyjohny

    (@ashlyjohny)

    Hello @iftekhar447 ,

    Our development team is checking the issues. We can fix the issue shortly.

    add_filter('woom_additional_template_params', 'function_name', 10, 2);
    function function_name($parameters, $order)
    {

    $custom_params = array(
    "param1" => 'value1',
    "param2" => 'value2'
    );
    $parameters = array_merge($parameters, $custom_params);
    return $parameters;

    }else
    Are you using this hook? If so, can you please send us a copy of the code??you?are?using?

    Plugin Support ashlyjohny

    (@ashlyjohny)

    Hi @iftekhar447 ,

    We have updated version 1.1.5 . Please update your plugin and check whether the?issue?is?fixed.Your feedback is valuable for our plugin’s improvement.

    Thank you!

    • This reply was modified 5 months, 3 weeks ago by ashlyjohny.
    Plugin Support ashlyjohny

    (@ashlyjohny)

    Hello @iftekhar447 ,

    add_filter(‘woom_additional_template_params’, ‘function_name’, 10, 2);
    function function_name($parameters, $order)
    {
    $custom_params = $order !== null ? array(
    “param1” => ‘value1’,
    “param2” => ‘value2’
    ) : array(
    “param1″ => ”,
    “param2″ => ”
    );
    return array_merge($parameters, $custom_params);
    }

    Please follow this code to get custom parameters. We believe this issue is resolved and are closing?this?thread.

    Thank you!

    • This reply was modified 5 months, 3 weeks ago by ashlyjohny.
    Thread Starter iftekhar447

    (@iftekhar447)

    Thank you so much for your cooperation the params are working.

    Plugin Support ashlyjohny

    (@ashlyjohny)

    Hi @iftekhar447 ,

    Thank you for noticing and reporting the issue here in the WordPress directory. If you had not reported it, the issue would have gone unnoticed. As you know, we have a pro version of the plugin that supports two-way communication with customers. Have a look at this link. As we are in the initial releasing stages, we want some reviews from users. We request you to leave a review which will help motivate us to provide more features in the?free?version.

    rdcc34

    (@rdcc34)

    can any one provide me full code for extra parameter such as tracking link. thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.