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

Integration of mpesa C2B Payments on standard POS #82

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

maniamartial
Copy link

This pull request introduces a significant enhancement to the standard Point of Sale (POS) system by integrating the Mpesa C2B (Customer to Business) functionality. Inspired by the successful implementation in POS Awesome, this addition extends the convenience of Mpesa payments to a broader range of POS users.

New Doctypes Creation:

Two new doctypes are introduced to facilitate Mpesa C2B transactions seamlessly:

Mpesa C2B Payment Register:

Purpose: Store transaction details post successful M-Pesa payment, mirroring the functionality of the Mpesa Payment Register in POS Awesome.
Attributes:
Customer details
Transaction amount
Payment status

Mpesa C2B Payment Register URL:

Purpose: Define payment mode and link it with M-Pesa settings, akin to the Mpesa C2B Register URL in POS Awesome.
Functionality:
Manage callback notifications for transaction updates.

Automated Tests:

Automated tests have been included to ensure the reliability and functionality of the newly introduced features. This helps maintain the integrity of the system and facilitates future development efforts.

###API Folder Addition:
An API folder has been introduced to organize related functionalities, enhancing code readability and maintainability.

This pull request not only expands the capabilities of the standard POS system but also enhances its versatility by enabling seamless Mpesa C2B transactions. With the addition of automated tests and proper code organization, it ensures a robust and reliable integration.

here is the proposal we had made on ERPNext repository.
frappe/erpnext#40939
Working on the POS.

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 this pull request may close these issues.

1 participant