• Resolved cjmarchi

    (@cjmarchi)


    Hi there,

    first of all, awesome plugin! ??

    Secondly, I would like to know if it is possible to change the email sending interval (“trigger after” field in Settings) according to specific scenarios.

    I am going to explain the scenario so that you can understand my business requirements:

    In Brazil we have a specific payment method called BOLETO beside credit cards. Boleto is a document we issue (actually the payment gateway that I use on my store issues it) by the time the customer makes the purchase order.

    Then the order stays at the pending status until that customer pays that boleto,
    which can take up to 2 business days to be confirmed by the payment gateway (the payment confirmation timeframe).

    Note: When my payment gateway confirms the payment, the order status changes from “pending” to “processing”.

    Note 2: Boleto has an expiring date that may vary from 3 to 7 days. The payment for an expired boleto is not possible. If this happens then another boleto needs to be issued by my gateway.

    The problem is that the WooCommerce Cart Abandonment Recovery plugin is sending the emails in that payment confirmation timeframe (of 2 business days max – status “pending”), which confuses my customers that already paid the boleto.

    There are two possibilities for this issue:
    1- To send the emails only after the boleto expiring date on this specific scenario,

    OR,

    2 – to just ignore these boleto pending orders and I’ll address them with another approach/plugin (via whatsapp communication, for example).

    Do you have any suggestions to address this issue?

    Thanks!

    Clarisse

    • This topic was modified 4 years, 10 months ago by cjmarchi.
    • This topic was modified 4 years, 10 months ago by cjmarchi.
    • This topic was modified 4 years, 10 months ago by cjmarchi.
    • This topic was modified 4 years, 10 months ago by cjmarchi.
    • This topic was modified 4 years, 10 months ago by cjmarchi.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support CartFlows Team

    (@cartflows)

    Hello @cjmarchi,

    Thank you for reaching out to us.

    You can change the trigger time through the filter.
    Please refer this doc: https://cartflows.com/docs/filter-to-change-cron-trigger-time/

    So while sending an email, it will check whether order status is pending or processing.

    If you have any questions, please feel free to open as support ticket here.

    Thank You!

    Thread Starter cjmarchi

    (@cjmarchi)

    Awesome! So inside the function I can retrieve the $order object to get status and make a conditional statement based on this info? How could I do that?

    thanks!

    Plugin Support CartFlows Team

    (@cartflows)

    Hello @cjmarchi,

    Just to let you know that you can only change the trigger time of the cron through this filter. You can’t make conditions on this filter.

    For now, we don’t have such a function or filter on which you can make such conditions. But we have provided one filter through which only on hold order will be excluded from tracking.

     add_filter( 'woo_ca_exclude_on_hold_order_from_tracking', '__return_true' ); 
    

    Let us know if you have any questions.

    Thank You!

    Thread Starter cjmarchi

    (@cjmarchi)

    Hi,

    ok, I see! Does this ‘woo_ca_exclude_on_hold_order_from_tracking’ filter excludes both ‘pending’ and ‘on-hold’ orders?

    Because the boleto awaiting orders are in ‘PENDING’ status, not ‘on-hold’ status…

    thanks again!

    • This reply was modified 4 years, 10 months ago by cjmarchi.
    Plugin Support CartFlows Team

    (@cartflows)

    Hello @cjmarchi,

    No, the above filter only excludes the On-Hold orders. Can you ask Boleto to there is any way to putting awaiting orders on ‘on hold’ state?

    Still, we will look into it, and if possible, we will add this feature in our development queue.

    Thank You!

    Thread Starter cjmarchi

    (@cjmarchi)

    Hi there,

    actually I can’t, because it is my payment gateway that controls the status until it is paid :/

    can you please add this feature in future releases?

    I appreciate a lot. Thank you!

    Plugin Support CartFlows Team

    (@cartflows)

    Hello @cjmarchi,

    We will add this task in our development queue and release it in a future release.

    If you have any questions please feel free to open a support ticket here.

    Thank You!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Emails being sent to pending orders (boleto issue)’ is closed to new replies.