Skip to content
Melik edited this page Apr 16, 2019 · 7 revisions

Cards are used for making purchases on merchant websites. They are connected to a bank account and can be created and deleted at any time.

Card listing page

Card listing page


Creation

Cards are created by clicking on the Create card button on the right hand side of the card listing page, or by selecting the Create new card option in the Cards menu on the navigation bar, and then selecting an account for the card to be attached to.


Deletion

Cards can be deleted by clicking the Delete button on the card listing page. A prompt will appear to confirm or cancel the deletion.

Deletions are permanent and a deleted card is invalidated immediately.

Card deletion prompt


Purchases

Note: Card purchases require the CentralApi to be set up and running.

To make a purchase, a user must provide the card number, cardholder name, expiration date, and security code to the merchant website.

The first three digits of every card number correspond to a specific bank. They are used by the CentralApi to route the payment request to the correct BankSystem instance, which then, after verification, initiates a transfer to the destination account specified in the request.

This functionality is implemented in the included DemoShop project. After choosing to pay by card, the user is asked to fill in their card details.

Card payment page

A payment request is then generated using the card details and sent to the issuing bank through the CentralApi. After it is processed, the order is marked as completed on the My Orders page.

Completed order

Clone this wiki locally