Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MF - SIP payment variations #402

Open
char-star opened this issue Nov 26, 2024 · 1 comment · May be fixed by #410
Open

MF - SIP payment variations #402

char-star opened this issue Nov 26, 2024 · 1 comment · May be fixed by #410

Comments

@char-star
Copy link
Collaborator

char-star commented Nov 26, 2024

SIP w/o mandate registration (manual payments)

one fulfilment of type SIP. No payment involved in here, order gets accepted. Instalments get generated with no payments. Buyer app asks for a new payment (similar to payment failure retry cases) and pays for the instalment.

For delayed/ no payments, have a separate payment mode called no_payment and use that so there is an explicit mention of no payment in the order contract.

SIP w/o mandate registration (delayed mandate registration)

one fulfilment of type SIP. No payment involved, order gets accepted. Manual payments are made by default. Later, buyer app can make a update call to the parent sip order and ask for register mandate pg link (similar to payment failure retry case) and registers the mandate. After that the instalments are generated with mandate debit payment type

SIP w/ ability to update a mandate (in case previous mandate expired/change of bank a/c)

Same as delayed mandate registration capability

SIP w/ immediate first instalment payment

Option 1: one fulfilment of type sip with an option to set first instalment payment. Payment option is generated which will collect onetime payment + mandate creation together.
Option 2: (only possible if sip can be registered w/o mandate) fulfilment of type sip with an option to set first instalment generation and no mandate. SIP gets registered and first instalment is automatically generated with multiple payment options - buyer can choose a payment option and pay for the instalment

@char-star char-star linked a pull request Nov 28, 2024 that will close this issue
@char-star char-star linked a pull request Nov 28, 2024 that will close this issue
@char-star
Copy link
Collaborator Author

char-star commented Nov 28, 2024

  • for sip installment, asking for a new payment - buyer app will not know the payment options available - how can he call for a payment mode? Should we think of an ability to fetch the available payment options to be able to choose one?

  • for skip payment mode, should we use status deferred or delayed or something else instead of paid? skip_payment mode is explicitly needed because to keep it consistent with other flows in which payment has to be done pre-fulfillment for the sip to start working - with that logic paid status makes sense actually?

  • for sip update mandate flow: when asking for a mandate registration link, in the on_update response, there will be two payment objects, earlier payment in either mandate_registration paid state or skip_payment in deferred state and one payment for the new mandate registration link. How will the seller app or buyer app understand that the earlier mandate will not be used and new one will be used going forward? Can't determine it with statuses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant