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

[Bug]: Safaricom airtime is not credited after buying airtime using mpesa #968

Open
hilderbrandtjohn opened this issue Feb 23, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@hilderbrandtjohn
Copy link
Contributor

Description

Safaricom airtime is not credited to the account purchased after buying airtime for another number using m-pesa and successfully receiving the M-PESA deduction SMS notification.

Steps to reproduce

  1. Open the Stax app
  2. Tap the Buy airtime icon
  3. Select Pay with M-PESA
  4. Select Safaricom as Recipient Network
  5. Enter the contact phone number and Amount and tap continue
  6. Tap Buy airtime now and choose SIM 1
  7. Input the pin and wait for the transaction to complete
  8. Pay attention to the status on the buy airtime screen and SMS notifications

Expected result

The airtime purchased using m-pesa is successfully credited to the intended account and a confirmation SMS received and the money is reversed back to the purchasing account if it fails.

Actual result

Safaricom airtime is not credited to the account purchased after buying airtime for another number using m-pesa and successfully receiving the M-PESA deduction SMS notification.

Link to screenshots/screen recordings

https://drive.google.com/file/d/1bbFnp2j1qD_t3z2h6YklCXLXhGhMxV7l/view?usp=share_link

Suggested solution

Additionally get notification of failed transactions from the ussd airtime purchasing client and use the reference provided to facilitate the reversal of money back to the purchasing account upon failure of airtime purchase.

Use the failed purchase notification to update the airtime purchase screen on the failure of the purchase. eg . Use status "failed. await reversal"

Device name

Samsung Galaxy A32

Android OS

13

App version

1.19.6

Config version

20230223000057

Is your phone dual SIM or single SIM?

Dual SIM

Which telco are you using for this transaction?

Safaricom

Stax device ID or email address

bc34b750f5749d4a

@hilderbrandtjohn hilderbrandtjohn added the bug Something isn't working label Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant