anchor.diff:  ----
   
   [start = 15]
  -. Move clock +5 day (`2021-09-26`) and observe the final payment retry. Verify that the payment is successful and the account is moved to the `CLEAR` status.
  +. Move clock +5 day (`2021-09-26`) and observe the final payment retry. Verify that the payment is successful and the account is moved to the `GOOD` status.
   
   ==  Default Payment Retry Schedule and Overdue Configuration
   
  
positive.code: 
  *Notes:*
  
  . For simplicity, we are using dates (e.g `2021-01-10`) when manipulating the Kill Bill clock instead of fully qualified datetimes (`2021-01-10T01:43:23.000Z`). Passing such a date will end up moving the Kill Bill clock to a given point in time and that point in time may end up before the exact time of the event we are trying to trigger. In such case, retry moving the clock by one day and that should trigger it. An alternative is to specify the exact datetime when moving the clock. This would require retrieving the account object and obtaining the `reference_time` field from it to know the exact date time.
  
  . As you proceed with the steps below, you can verify each step by viewing the account in Kaui. The main account screen includes an `OVERDUE STATUS` field in the `Billing Info` section. The `Timeline` tab within the account screen includes information about payment retries. The `payment` and `invoices` tab include information about payments and invoices. 
  
  [start = 1]
  . Start Kill Bill Ensure either on https://docs.killbill.io/latest/getting_started.html#_aws_one_click[AWS], https://docs.killbill.io/latest/getting_started.html#_docker[Docker], https://docs.killbill.io/latest/getting_started.html#_tomcat[Tomcat] or  https://docs.killbill.io/latest/development.html#_running_the_application[standalone] mode.
  
negative.code: 
  image:https://github.com/killbill/killbill-docs/raw/v3/userguide/assets/img/overdue/overdue-flow4.png[align=center]
  
  As in the case of the previous flow, the payment retry system retries the payment two times on `2021-08-07` and on `2021-08-15` after which the Overdue flow then kicks in and moves the account to the `WARNING` state on `2021-08-16`. The payment retry system makes the the third payment attempt on `2021-08-19` which fails. The Overdue system (which is configured to run *4* days after the previous run) runs on `2021-08-20` and moves the account to the `BLOCKED` state. Since the customer does not fix the payment issue, the payment fails when the payment retry system attempt it the fourth time on `2021-08-26`. The Overdue system is configured to run one more time after *7* day after the previous run. Since the Overdue system was previously run on `2021-08-20`, it runs on `2021-08-27` and moves the account to the `CANCELLATION` state. 
  
  [[testing]]
  == Configuring the Payment Test Plugin
  