Skip to main content

P-000881-R-000564 Feature Request: Payment method in Nexus

Revision History

Date

Version

Description

Author

Reviewer

Apr 01, 2021

1.0

Initial Version.

Krishnaa







Introduction

Objective

Suggest more than one payment method in Nexus (currently only through card)

Scope of work

  1. We need to integrate with CHIP, which can support both

    1. Subscription & One Time Payment

Reference

Document Title

Version No

Location

TOGAF

 10.0

 

Assumptions

  • BeED as the only contributor
  • Educators who creating experio.
  • Leaner who uses the experio.
  • BeED Public user who uses the experio.
  • If both Subscription and One-Time Payment are selected, CHIP will only allow the user to use a credit card.
  • For one time payment transactions, CHIP will allow users to select FPX, CREDIT CARD or E-Wallet ( subject to CHIP)

Software Design Specification

Documentation Reference.

CHIP API (chip-in.asia)

 

Flow
  1. CreatePurchase : Create the purchase for a one-time or subscription payment. Make sure  set  IS_RECURRING_TOKEN  to  true in case of  recurring.
    1. Create a purchase - CHIP API (chip-in.asia)
  2. Get Purchase : this Api is used to get the important purchase ID from step 1.  Store RECURRING TOKEN from previous step in tbl_order with new Field CHIP_RECURRING TOKEN, also store the Purchase ID in the  tbl_order CHIP  PurchaseID 
    1. Retrieve a purchase - CHIP API (chip-in.asia)
  3. If the purchase is one-time, then perform step 5 only once.
  4. If the purchase is subscription, then perform step 5 in batch every time when we want to charge.
  5. Change Transaction : Charge  transaction  with new amount.
    1. Charge a purchase using a saved token - CHIP API (chip-in.asia)

 

Application Architect



    Definitions & Acronyms

    • SDD – Software Design Document
    • S3 – Object Storage
    • HA – High availability

    Acceptance Criteria

    S.NO

    Acceptance Criteria

    Expected Result

    1.

    One time Payment

    Must able to perform One time payment seperately.

    Must allow user to select any type of payment methods.

    such as fpx, credit card or debit card 

    2.

    Subscription Payment

    Must able to perform seperately.

    Must allow only Credit Card.

    3.

    One Time and Subscription Must able perform together. This time it should display user a message saying that you have selected both option together and hence only credit card is allowed for this transaction.

    4.

    Check the consecutive Subription. Check the next subscription cycle.