Click here to Skip to main content
15,881,840 members
Please Sign up or sign in to vote.
1.80/5 (2 votes)
Hello,
I have One request page and one response page.
when i request for payment through request page it will redirect in M-pesa payment gateway URL. and when payment done success/fail it will will response in response page.
base on success or fail i will do other operation.

But i don't come to understand how to integrate M-pesa payment gateway.

What I have tried:

I have integrate payU payment gateway for same way.
Posted
Updated 25-Jul-16 1:05am
Comments
F-ES Sitecore 25-Jul-16 7:05am    
Contact the payment gateway provider themselves, they will have implementation details on their site, and usually technical support also.

1 solution

Never, ever, accept code from a insecure website to handle anything to do with real money.
You do not know who is giving you the code, you do not know what it does, you do not know that it places the monies correctly into the appropriate account, without passing the details to any third parties.

Only get such code from Your chosen gateway directly - the scope for fraud otherwise is far too large. And remember, you personally could be liable for any monies lost if your action is seen to be negligent - which getting your code from a public forum would most certainly be!
 
Share this answer
 
Comments
Member 10475986 25-Jul-16 7:23am    
Look dear, I just want how to send request to payment gateway.
OriginalGriff 25-Jul-16 7:30am    
And I'm serious.
Talk to the gateway company: they will have technical support that are used to this.
If you get code from anywhere else it's you that will be responsible in law if the code does anything malicious at all.
Most of the people here are responsible professionals: but that doesn't mean that everyone here is, and when it comes to real money you cannot afford to be too trusting - particularly if you don't know what you are doing so can't spot the bad code...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900