Forum

The forum is a free service supported by community members. Please consider opening a support ticket if you need timely help.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 19 Nov 2018 06:09 PM by  Paul Smeulders
Recurring order and AutoRetries for payment
 10 Replies
Sort:
You are not authorized to post a reply.
Page 1 of 3123 > >>
Author Messages


New Member


Posts:50
New Member


--
17 Nov 2018 10:41 AM

    My Settings are :

    Recurring order is monthly.

    Max repeat on the item is blank, so unlimited.

    Configuration-> recurring sales order retry settings are: Retry on update is unchecked. My auto retry interval is 1 day. My max retries is 2.

    Upon the customer's payment being rejected in his FIRST renewal attempt, the payment was declined.

    The Recurring sales order info has the following status:

    sales order payment status incomplete.

    Recurring sales order:

    Repeat count 1 (okay, 1 repeat has been TRIED)

    Status Active (I expect this to remain active since I do not auto-cancel a subscription on failed card and since the Retry max tries has not expired)

    ----

    What I have not seen is any evidence that the retry on his ccard has been executed after 30+ hours, as I would have expected.
    The popup documentation on the setting to do retry is: "The number of days before automatically reattempt charging a customers credit card for PREVIOUS ACTIVE orders with incomplete payment, zero indicates no automatic reattempt" (uppercase is mine)

    So that line is ambiguous. what means exactly "Previous Active" ? there is no explicit status lookup value for that. (https://www.revindex.com/...order-status-types). I presumed that I must allow the Recurring order to remain ACTIVE so the card is attempted for a total of 3 tries (original recurring payment try, plus 2 as I have configured).

    I can not find where the "incomplete payment retry count" is kept or shown as a status to verify if any retries have been tried.

    So, so far auto-retry has not worked for me. Questions are:

    1) Do I have to force the recurring sales order to "cancelled" upon failed payment, but THEN the auto retry will continue to try payments? This originally didn't make sense to me, because I thought "it could be user-action cancelled by the user" and retries would be made. OR I suppose if the status is "Cancelled AND incomplete payment" this is what the storefront treats as "failed payment for PREVIOUSLY ACTIVE" and actually does a retry. A true "cancelled state" is "Cancelled AND no incomplete payments"

    So, should I mark a subscription cancelled upon incomplete payment, and THEN trust the retry to happen because it has an incomplete payment?

    If not, then what am I doing wrong? I don't see a setting to auto-cancel a subscription on incomplete payment, and indeed I can do it myself in code, but I would think if this state is needed to enable auto retries, it would be a setting you'd provide somewhere. Can you tell me if there is one please?

    2) If/when the retry happens and succeeds, is the sales order origin type still "recurring =2". I use this in the order custom action. I suppose it is. There is no status for "retried" documented.

    Thank you.

    Paul Smeulders

    0


    New Member


    Posts:50
    New Member


    --
    19 Nov 2018 03:20 PM

    Updating this. It's been several days and no evidence of any retries. So, either auto retry doesn't work right or my configuration is wrong. Please advise.

    0


    Basic Member


    Posts:394
    Basic Member


    --
    19 Nov 2018 03:40 PM

    Hi Paul

    The automatic retry has a few limitations. The Order must meet the following:

    • Order (from recurring) must have been created recently (usually around under 60 days or less).
    • Order has Status of Ordered or Pending
    • Order has Payment status of Incomplete or Declined
    • Order's preferred user payment must be Credit card

    You don't have to cancel your subscription. Please make sure your order's status is Ordered or Pending. If you look under the Payment tab for the order, do you see any transactions?

    0


    New Member


    Posts:50
    New Member


    --
    19 Nov 2018 04:14 PM

    The sales order that is the one generated by the recurrance (so, the first attempt at recurring) has the status: "ordered". Payment is "Incomplete". Shipping "not required". The date is 2018-11-15 23:26

    The sales order detail for this sales order is showing status= "ordered"

    The Recurring sales order for this is showing Create date 2018-10-15 12:32:17, Update date 2018-10-15 12:31:17 Current repeat count = 1 next recurring date = 2018-12-15 Status is active. I did not change anything manually, as I am trying to leave this alone as an experiment in verifying the working of the Retry.

    The user payment box, under Recurring sales order...payment shows a dropdown box that is blank. Opening the box shows the CCard as an option.

    Well, um, There is no place in the cart for the user to make that setting as I can see it (it's thought automatic? unless they changed their profile), and of course when the first recurrence was tried, it used the CCard, so it knew enough to use the card (?). Curiously, under the incomplete sales order, the payment tab is NOT showing the attempted payment failing with the usual codes I get when a gateway rejects a payment. Is that a clue? Where would a customer be able to change their preferred payment?


    To me, this appears as if the FAILED payment allowed the whole subscription to just continue in the light of the failed payment.

    Can you please give me more guidance. Where in DB to look for when/if preferred payment was changed?

    0


    New Member


    Posts:50
    New Member


    --
    19 Nov 2018 04:29 PM

    I have gone into the sales order, manually ensured that the payment is set to his CCard, and I ensured that the "Next recurring date" is actually the First "next recurring date" of Nov 15, 2018.

    So, with all of the advice here and status you recommend, I ought to expect a retry of this payment tonight when the daily ops run? And I should see some sort of failed payment in the sales? I do not understand why the next recurring date was incremented on a failed payment, but I think that's why it isn't happening.

    If it doesn't get re-attempted tonight, then I will be back in touch. If broken, really, this needs a fixing.

    Paul.

    0
    You are not authorized to post a reply.
    Page 1 of 3123 > >>