# Flow Logic

![@startuml skinparam defaultTextAlignment center title Issuer-managed Installment Payments start :CheckInstallmentPaymentActivePre; if ( Is transaction approved online? ) then (\n YES) if ( Is payment option full only ? ) then (\n YES) :return \nSKIP TASK; :END TASK\] end else (\n NO) endif if ( Is installment offers list empty ? ) then (\n YES) if ( Is payment option installment only? ) then (\n YES) :return\nERROR; else (\n NO) :return \nSKIP TASK; endif else (\n NO) :return \nSUCCESS; endif else (\n NO) :return \nSKIP TASK; endif :END TASK\] end start :PromptToSplitIntoInstallments; :Display whether customer wants to pay in installments> if (Timeout? ) then ( YES ) :return \n CANCELLED; :END TASK\] end else (\n NO ) if ( Customer chooses to pay in installments? ) then (\n YES ) :return \n SUCCESS; :END TASK\] end else (\n NO ) :return \n CANCELLED; :END TASK\] end endif endif start :DisplayInstallmentOfferChoice; if ( Is installment offers list empty ? ) then (\n YES) :return \n CANCELLED; end else (\n NO ) endif :Get installment plans| :Display installment plans> if (Timeout? ) then ( YES ) :return \n CANCELLED; :END TASK\] end else (\n NO ) if ( Customer chooses an installment offer? ) then (\n Offer selected ) :Set installment offer selection| :return \n SUCCESS; :END TASK\] end else (\n Dismiss ) :return \n CANCELLED; :END TASK\] end endif start :DisplayInstallmentOfferSumary; :Display installment offer summary> if (Timeout? ) then ( YES ) :Remove selected installment plan| :return \n GO BACK; :END TASK\] end else (\n NO ) if ( Customer accepted installment offer summary? ) then (\n YES ) :Store selected installment plan| :return \n SUCCESS; :END TASK\] end else (\n NO ) :Remove selected installment plan| :return \n GO BACK; :END TASK\] end endif @enduml](/files/oki4P8ZJkWEvlIry6SKg)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.verifone.com/functional-specification/issuer_managed_installments_diagram.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
