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

OnlinePayment Error #5

Open
njerucyrus opened this issue Jan 8, 2018 · 4 comments
Open

OnlinePayment Error #5

njerucyrus opened this issue Jan 8, 2018 · 4 comments

Comments

@njerucyrus
Copy link

What is the possible bussiness shortcode for sandbox

@denomon
Copy link

denomon commented Jan 23, 2018

Possibly try the 6 digit M-Pesa Till Number or PayBill Number

@dkiptugen
Copy link

it is not returning the AccountReference . {"Body":{"stkCallback":{"MerchantRequestID":"6618-964352-1","CheckoutRequestID":"ws_CO_24012018144725647","ResultCode":0,"ResultDesc":"The service request is processed successfully.","CallbackMetadata":{"Item":[{"Name":"Amount","Value":1.00},{"Name":"MpesaReceiptNumber","Value":"MAO0DO9BYO"},{"Name":"Balance"},{"Name":"TransactionDate","Value":20180124144754},{"Name":"PhoneNumber","Value":254713154085}]}}}}

@mossey
Copy link
Contributor

mossey commented Feb 5, 2018

Hi @Caydee please note that the AccountReference is not sent in the callback. Here is a sample callback for a successful request. { "Body":{ "stkCallback":{ "MerchantRequestID":"19465-780693-1", "CheckoutRequestID":"ws_CO_27072017154747416", "ResultCode":0, "ResultDesc":"The service request is processed successfully.", "CallbackMetadata":{ "Item":[ { "Name":"Amount", "Value":1 }, { "Name":"MpesaReceiptNumber", "Value":"LGR7OWQX0R" }, { "Name":"Balance" }, { "Name":"TransactionDate", "Value":20170727154800 }, { "Name":"PhoneNumber", "Value":254721566839 } ] } } } }

@KipchirchirIan
Copy link

KipchirchirIan commented Nov 22, 2018

@mossey How do I achieve displaying/getting the above callback? I emailed you about this but did not get a response.

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

5 participants