martinmogusu / django-daraja

A python django library for interacting with the MPESA Daraja API
MIT License
67 stars 73 forks source link

Transaction Status Api #17

Open actlikewill opened 11 months ago

actlikewill commented 11 months ago

Hi @martinmogusu and co. The library is great thanks a lot for it. Have you considered adding the Transaction Status api to it? If you like I can try making a PR for it. Thanks again.

martinmogusu commented 9 months ago

Sure thing, sorry this missed my radar.

Transaction status would be great, if you're able to start with a PR I can take a look.

Omwamii commented 3 months ago

Hey @actlikewill @martinmogusu were you able to work on the Transaction status? I was wondering how can I check if the transaction was successful or rather unsuccessful.

Naftali-B commented 3 months ago

Do you mean your own initiated transaction? You are supposed to consume callback data from Mpesa on your URL

On Fri, Jun 7, 2024 at 6:40 PM Omwamii @.***> wrote:

Hey @actlikewill https://github.com/actlikewill @martinmogusu https://github.com/martinmogusu were you able to work on the Transaction status? I was wondering how can I check if the transaction was successful or rather unsuccessful.

— Reply to this email directly, view it on GitHub https://github.com/martinmogusu/django-daraja/issues/17#issuecomment-2155089452, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKS7RUYXAABHRJA5UJWB2LZGHIAHAVCNFSM6AAAAABI64SLTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJVGA4DSNBVGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

actlikewill commented 3 months ago

@Naftali-B we mean this api https://developer.safaricom.co.ke/APIs/TransactionStatus to check whether or not a transaction is valid using the confirmation code. I think it could be a good addition to the library.

Naftali-B commented 3 months ago

Oh, okay. Yes it can be great.

On Fri, 7 Jun 2024, 19:22 actlikewill, @.***> wrote:

@Naftali-B https://github.com/Naftali-B we mean this api https://developer.safaricom.co.ke/APIs/TransactionStatus to check whether or not a transaction is valid using the confirmation code. I think it could be a good addition to the library.

— Reply to this email directly, view it on GitHub https://github.com/martinmogusu/django-daraja/issues/17#issuecomment-2155154986, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKS7RV7TJQE4Z6D2KRHHG3ZGHM47AVCNFSM6AAAAABI64SLTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJVGE2TIOJYGY . You are receiving this because you were mentioned.Message ID: @.***>