naykel/payit

Payment gateways package for NayKel applications

v0.2.0 2023-05-12 21:26 UTC

This package is auto-updated.

Last update: 2024-10-23 00:47:21 UTC


README

Total Downloads Latest Stable Version License

NAYKEL Payment Management Package

ppid Payment Platform ID

Entity Relationship Diagram

method is used for both the label, and to identify the collapse component to display on the front-end.

The name method may be a bit deceiving as it is used to identify the component to display on the front-end as well as the label for the payment method.

For example, if the method is 'Credit Card' then the label for the payment method will be 'Credit Card' and the component to be displayed will be credit-card.

User checkout and payment process flowchart

Sequence Diagrams

Sequence diagram for payment options in checkout process

This diagram illustrates the sequence of events in the checkout to display the available payment options. It shows how the system, specifically the PaymentOptions component, fetches active payment methods from the PaymentPlatform model (which represents data in the database). These payment methods are then presented to the user in the Checkout view. The user can then select their preferred payment method from the provided options for further processing.

** method is used for both the label, and to identify the collapse component to display on the front-end.

This diagram assumes you are logged, on the checkout page about to select a payment method.

Sequence diagram for stipe credit card payment

** paymentForm is the id of the form element in the DOM