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

Allow Phone Payments to Update Payment Request Status Automatically #249

Open
maniamartial opened this issue Jan 26, 2025 · 0 comments
Open

Comments

@maniamartial
Copy link

Description:

The current logic does not allow phone payments (such as M-Pesa) to automatically update the status of a Payment Request once the payment is complete. This results in delays or failure to reflect the payment status correctly, particularly for phone-based payment systems.

Steps to Reproduce:

  1. Initiate a phone payment (e.g., M-Pesa) for a payment request.
  2. Once the payment is complete, observe that the payment request status does not update automatically.

Expected Behavior:

  • Once a phone payment is complete, the status of the Payment Request should automatically be updated to reflect the payment status.(Paid, or Partially Paid).

Change Details:

  • The logic preventing phone payments from progressing was commented out:

    if self.payment_channel == "Phone": return

Impact:

  • M-Pesa and other phone-based payment systems are now better integrated.
  • Payment Requests will now correctly reflect their status once payment completion is detected, ensuring smoother payment processing.
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

No branches or pull requests

1 participant