FACTS BUDDY

This is a blog about current facts and data.

HOW TO CREATE MPESA PUGIN FOR WORDPRESS




In this blog post, we've discussed the steps to create a WordPress plugin that integrates with M-PESA, a popular mobile money service in Kenya. With this plugin, you can easily accept payments from your customers using their M-PESA accounts.


One of the key advantages of using M-PESA as a payment method is its wide adoption in Kenya. According to the Communications Authority of Kenya, as of 2019, there were over 32 million active M-PESA customers in the country. This means that by integrating M-PESA into your website, you can tap into a large market of potential customers.

Another advantage of using M-PESA is its simplicity. The process of making a payment is straightforward and can be completed within a few minutes. This is particularly beneficial for small businesses that may not have the resources to set up more complex payment systems.


However, it's important to note that while M-PESA is a popular and convenient payment method in Kenya, it may not be suitable for all types of businesses. For example, businesses that operate primarily outside of Kenya may not find it as useful. It's also worth noting that M-PESA is a mobile-based service, so it may not be accessible to customers without a mobile phone or internet connection.


In conclusion, if you're a business owner based in Kenya and looking for a simple and convenient way to accept payments from customers, integrating M-PESA into your website using a WordPress plugin can be a great option. However, it's important to consider the limitations and suitability of the service before implementation.



MPESA PUGIN FOR WORDPRESS


However, I can give you some information on how to create one.

  1. First, you will need to have a basic understanding of WordPress plugin development and programming languages such as PHP and JavaScript.
  2. Next, you will need to register as a developer on the M-PESA website and obtain your API keys.
  3. Once you have your API keys, you can start building your plugin. You can use the M-PESA API to create payment buttons or forms on your WordPress site and handle the communication between the plugin and the M-PESA API.
  4. Make sure to include options for the user to configure the plugin, such as setting their M-PESA phone number and business number.
  5. Test your plugin thoroughly before publishing it on the WordPress plugin repository or your own website.
  6. Keep in mind that M-PESA updates their API constantly so you should keep an eye on their website for any updates to the API, and adjust your plugin accordingly.

Please note that the above information is just a general idea on how to create a wordpress plugin for mpesa, you will have to research on the details of the mpesa API and how to integrate it with wordpress.



HOW TO CREATE MPESA PUGIN FOR WORDPRESS IN DETAIL



Sure, here are some more detailed steps on how to create a WordPress plugin that integrates with M-PESA:

  1. Create a new folder in the wp-content/plugins directory of your WordPress installation, and give it a unique name (e.g. "mpesa-payment").
  2. Inside the new folder, create a new file called mpesa-payment.php and add the plugin header information at the top of the file. This includes the plugin name, author, version, and a short description.
  3. Next, you will need to register as a developer on the M-PESA website and obtain your API keys. These will be used to authenticate your plugin with the M-PESA API.
  4. In your plugin file, include the M-PESA API library and use the API keys to authenticate your plugin.
  5. Create a new form for the user to enter their M-PESA phone number and the amount they want to pay. This form should also include a button to initiate the payment process.
  6. Use the M-PESA API to create a payment request and handle the communication between the plugin and the M-PESA API.
  7. Once the payment is complete, you can use the M-PESA API to confirm the payment and retrieve the transaction details.
  8. Add options to your plugin for the user to configure the plugin, such as setting their M-PESA phone number, business number and so on.
  9. Test your plugin thoroughly before publishing it on the WordPress plugin repository or your own website.
  10. Keep in mind that M-PESA updates their API constantly so you should keep an eye on their website for any updates to the API, and adjust your plugin accordingly.

Note: This is a basic idea on how to create a plugin that integrate M-PESA, you will have to research on the details of the M-PESA API and how to use it with WordPress. The M-PESA API documentation will be a good place to start.


Here is a sample code snippet for mpesa plugin for wordpress




$url = 'https://sandbox.safaricom.co.ke/mpesa/stkpush/v1/processrequest';

$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_HTTPHEADER, array('Content-Type:application/json','Authorization:Bearer ACCESS_TOKEN'));

$curl_post_data = array(
  //fill in the request parameters with valid values
  'BusinessShortCode' => '123456',
  'Password' => 'password',
  'Timestamp' => '20221212121212',
  'TransactionType' => 'CustomerPayBillOnline',
  'Amount' => '1',
  'PartyA' => '254712345678',
  'PartyB' => '123456',
  'PhoneNumber' => '254712345678',
  'CallBackURL' => 'https://yourwebsite.com/callback',
  'AccountReference' => 'Invoice 1234',
  'TransactionDesc' => 'Payment for Invoice 1234'
);

$data_string = json_encode($curl_post_data);

curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, $data_string);

$curl_response = curl_exec($curl);
print_r($curl_response);


You will need to replace the placeholder values (e.g. ACCESS_TOKEN, BusinessShortCode, etc.) with the appropriate values for your application. Also, you will have to make sure that you have the necessary libraries installed, such as cURL.

This is just a sample code and it might not work out of the box, you will have to research on the M-PESA API documentation for more details, also you will have to make sure that you are following the plugin development guidelines for wordpress and PHP.



How to Create Your First Blog and Make money Blogging



last month we made 229 Euros so let's convert 229  229 Euros we made 30 650 from blogging we made 30  

650 from blogging those who are asking what is  blogging blogging is creating a posts online on  

your own website where people can visit and read  your articles creating articles online so like a  

year yesterday we did 18 18 Euros 18 Euros how  much did we make in Kenya Shillings let us see  

he made 18 points 0.67 this one point six  seven so yesterday we made 2400 Shillings  

imagine in a single day we made two  thousand four hundred today so far  

let me just refresh right now we are at 1402  let us refresh and see how much we have made  

we have made yeah some people have just read we  are at fourteen zero five fourteen zero five let  

us see today how much have we made today 14 the  14.0 0.05 already today we have made 1800 this  

is just one of the accounts now let me show you  one another another account we are using to blog  

let us see this is uh this is a new account  it's a new account you can see the balance  

you can see up in a semi-year payment are on hold  because you need to verify your address meaning  

it is a new account we need to verify let me just  show you we are waiting for barua yetu if you care

so guys yeah let us see how much we have made  so far this account is only like seven days old  

seven days about like eight eight nine nine days  old this month already we have made 27 9.19 euros  

279 279.97 already I made 37 000 Kenyan shillings  

already just imagine yesterday we  made 19 19 Euros we made 19 points

0.68.68 we made 2600 also today so far we had  15.02 we are 15.02 Imagine already we are made  

two thousand meaning this month this account  probability is that by the end of this month  

we'll have made more than 60 000 Kenya  Shillings so guys I told you kuna PESA  

block this money blogging we have a lot of money  online and I'll be coaching you how to make money  

online I don't want to make this money alone so  guys make sure you subscribe to this channel so  

that I'll be taking you as a step by step step by  step for those who have not yet joined to hookah  

you can go to www.tovuke.com let me show you to  okay.com you can go to tooke.com uh you need to  

do a registration we usually charge 100 both by  for registration and then once you are once you  

register you go here to register register as  a new member need to accept cookies and then  

you register already have an account that is  what you do once you finish the registration  

under you have logged in you need to activate  your account it's only 100 shillings once you  

activate your account go to your email and check  the confirmation of the activated account once you  

activate your account it means you will get uh you  will get a WhatsApp link join the WhatsApp link  

of the okay every group we are only 60 members  per we usually do 60 members per group because

how we are making this money blogging  so group your account here because

it's an exchange program where  every one of us is on our website  


and then you click on your website  exchange apple and then we make ours

so yes there is money blogging  and also we usually uh once yeah  

oh you need to pay 1580 before I forget  you will pay 1580. now the okay list is

before we start the process you need to pay  that amount so yes now today let me show you  

how to make your first blog blogging you need  to have a Gmail account go to your browser  

and then open your Gmail account once you log in  into your Gmail account you will see these nine  

dots here you can click there if you're using  a computer scroll down you will see blogger  

for those who are using maybe a mobile phone  because you can also do this on mobile you go to

www.blogger.com it is the same thing it will still  open the same page you see this is a I've gone  

directly to blogger.com this is the page let me  click this link so that you can see we are talking  

about the same thing you see you see it is still  the same it is the same it's only the color that  

changes every time when you open see the color is  changing every time so I want you to click here  

create your blog that is there that is the only  thing you need to do and then you log in using  

your Gmail you log in into your Gmail account once  you log in into your Gmail account you will see  

this dashboard when the phone is still the same  thing uh this is what you will do it is asking  

you to choose a name for your blog so you will  choose a name for example I'll just say an arams  

blogs just choosing Adam's blocks and because you  are you can choose any Niche any Niche that you  

know it has the potential of making money like  for example you can choose finances finances is  

when you blog about finances when you blog about  politics it has a lot of money when you blow you  

blog about news it has a lot of money choose a  niche you can do a research and then choose a  

niche and you're comfortable with but at the same  time it can make you some good money so you choose  

a name for your blog for for me I'll just say  naram's blocks and then you say next and then here  

it will it will ask you for an address I want you  to write you can use the same same and say naram's  

blocks but this one is telling me sorry this block  address is already is already it's not available  

meaning there is another blog by the name naram's  blogs yes I had created that one earlier so let  

me just add the names and then good this one is  same this this block address is available so I'll  

go ahead and use this one I'll say next and then  I'll it is asking me to confirm your display name  

display name is like the outer's name the person  who is writing the blog so I'll just say narams  

or I can yeah norms and then I'll  say finish imagine that is all  


you need to create your very first blog  because we have a lot of people nimadas

I will not make the video long the next post will  be about how to customize your blog and how to  

post sour now I want us to view our blog so this  is what I will do I'll come here and then I write  

uh

[Music] laramsblogs.blogspot.com another thing  you can do if you don't know now this is the  

blog that we have already created that  is how it looks like another thing you  

can do instead of doing this just  come here and say post new article  

post new article I just write something like try  and let's say publish you see once you do that  

um you go back now you have an article click this  view when you click view it will open so this is  

our our blog that is how it looks like so the  next video I'll be showing you how to customize  

your blog sawasawa how to customize or I will show  you how to post and customize your blog I want you  

to go step by step with me we are here to make  money we'll see I want to do this I want to do  

this I want to do this before no I want to make  like eight videos you will follow step by step  

so that we can be sure by the end of everything  that by the end of making our blog beautiful and  

everything you are going to be monetized so um  this is what I want you to do I want you to head  

on to you are on YouTube yeah you're on YouTube  if you're watching this through Facebook kindly  

follow my Facebook my Facebook page is called let  me just see it's called the dinarams on YouTube  

this is what I want you to do I want you to go to  subscribe subscribe there's this Bell click that  

Bell and say all you see here so that every post  when I post you are going to be notified I want  

you to follow me this year we are making money my  friend we are making money make sure you subscribe  

to this channel already we only have one video and  4 000 of you have already subscribed uh group one  

and the group two so we have 800 members already  on to book it so make sure guys you subscribe and  

I'll see you on the next video and also make sure  you comment and you like this video comment if you  

are if you have a question just put a question  there so that on the next video I'll be able to  

answer some of your questions so guys see you on  the next video and let's make money blogging relax




https://youtu.be/ijuGZjFhwTM

Kenyan Online Jobs That Pay Via Mpesa | How To Make Money Online In Kenya Through Mpesa




hi guys this is your girl hilda back

again with more tips on how to make

money

online 
so today this is what we're going to

talk about

kenyan online jobs that pay via m pesa

kenyan online jobs that pay via m-pesa

we are going to look at two types of

online jobs in kenya that will pay you

through your m-pesa

account

so if you've been looking for a way to

make money for your m better this is a

video for you

also if you've been looking for a way to

make money online in kenya there's a

video for you remember these are totally

free

opportunities you'll not need any

capital to get started and again i'm

going to give you some payment proof

that i have actually received the money

i'll be talking about

so this is the first payment proof that

i'm going to give

so

on

this is 12th of this month

12th of this month that is around four

days ago i received 41 000

kenyan shillings for my mpesa account

so this money

was sent to me on

november 12th

so how did i or who sent me this money

or how did i make it so interesting

enough

initially this money was sent to my

paypal account this is it

initially this money was sent to my

paypal account by a company known as

profit anywhere is approved here

and

it's very possible to get paid via

paypal but receive the money

to your m-pesa account

and the app that makes that possible is

this paypal mobile money service so if

you go to google and just search paypal

let me just zoom this

it's called paypal mobile money service

if you just go to google and search that

uh this

this company is the one that

makes it possible for you to move money

from your paypal account

to your m-person account something

interesting about this app is that you

get your money within minutes

okay so if you want to withdraw any

money from your paypal account you just

come here with the draw from paper

so like currently i don't have any money

in my paypal account you would put the

amount here like let's put the balance

in my account right now you put there

you will say

uh

it can't continue because i don't have

any balance but you would put the amount

there continue and then you would

withdraw from your paypal

and they say

you can withdraw up to 150 kenya

shillings per transaction

so the advantage of this app is that

it makes it possible

yes you have been paid through paypal

but you can

actually receive that money to your

m-pesa account the other advantage is

that you receive this money to your own

peso account within minutes so like i

withdrew

on within within less than 10 minutes

you should receive the money to your

uh mpes account so if we look at

transaction history this is the

transaction you see

12

november 12th november which

is the same transaction here 12 november

this time friday

1 22 p.m

let's see this gives the time here

you see these are with drew on 12th

november 1 25 p.m you see so it's the

same transaction these these are with

the drill on 12th november 1 25 pm while

this

it's

12 november 1 21 pm so you see you

literally receive your money almost

immediately when you withdraw it from

this app

so

maybe you're wondering why forty one

dollars this you see forty one dollars

from the three hundred

and eighty four dollars that is because

the value of a dollar is one or eight

dollars

so

to get the how much you should receive

you should multiply this by one or eight

kenyan shillings one dollar is

equivalent to one or eight kenyan

shillings

so what i'm trying to say is that

yes don't be afraid of ways that pay you

through paper because it's very possible

to withdraw that money to your m-pesa

account using a simple app

like this one and then the thing is that

this app is totally free that is paypal

mobile money service it's totally free

you don't have to pay for it and it can

help you withdraw direct to your m-pesa

account so the next question is how did

i make this money so i made this money

through a strategy known as

affiliate marketing

and this strategy i explain it on this

video so i want you to go to my channel

that is hilda one day and then you're

going to search for this video how to

get free traffic to your affiliate links

that is free traffic for affiliate

marketing in 2021 so in this video i

explain how i promote this affiliate

product and how i make money with it and

interesting enough just this one

affiliate product has made me over five

thousand dollars

and

the thing is that i totally use free

traffic so if you want to know exactly

how i made this money through this

affiliate product i would encourage you

to go watch this video

i hope that you've seen the title let me

just zoom in

let me zoom in for you to clearly mark

the title this is it how to get free

traffic to your affiliate links so this

is the video go watch it and you will

clearly understand how

i came to settle on this affiliate

product how i build its landing pages

and the free sources of traffic i use to

convert

that landing page to sales

so before i show you the next

uh

way that i make money through m pesa in

kenya with a simple online job so on

this online job this specific online job

was affiliate marketing

and before i show you the next this is

what i want you to do

so i want you to post that video right

now

that video which you're watching i want

you to post it right now and then you're

going to scroll here and then you're

going to subscribe if you've not

subscribed kindly hit the subscribe

button and after you subscribe you'll be

presented with the option of turning on

the notification to receive

updates when i upload a new video kindly

turn on that notification too again

kindly like this video

share it

then in the description you can look

through the description and you will see

this blogging course that i share how i

make money with a blog remember blogging

is the main way i make money online so

you can get my blogging course here

which is free and then you can also get

related content and so many other things

on this description you can get

information on how to get in touch with

me and so much more

so this is a second payment proof that i

was paid through my mpesa account

and this one was sent to me on november

8th

and

i was paid by a company known as

reachable

ventures

so richable ventura sent me

2490 kenya shillings that is on 8th of

november

and

this is the company that paid me

so

eco pesa is the company that paid me and

you see

your payment

is sent through reachable ventures so

reachable ventures is the

company that manages payments for eco

vessel so the company that i was working

for which helped me make that money is

eco

pesa

so let's go to my ecopes account so that

i show the different ways i make money

with ecopesa so ecopesa is simply a free

app

this is totally a free app

uh and

all you need to get started is ata kenya

eta shillings

80

shillings

so you register with eight shillings

sorry i say that it is free but

to get started you have to pay a

registration fee of 80 shillings sorry

so

you see i have made over 13 000 with

this app

and basically the ways you make money

with this app is through referrals

so you share your referral link here and

everyone who signs up using your

referral link

remember they are paying

eight shillings so you get 40 shillings

out of that so you make money through

referrals you also make money through

spins you see these pins

you can play these pins

[Music]

[Music]

so that's the other way you can make

money through the spins like you saw i

spin but didn't get anything and you see

i have made over 190 shillings with the

spins so you can make money with the

spins

again they have competitions they open

competitions

once in a while you can make money

through the competitions you can also

make money through taking these digital

courses and you can also make money

through

writing

blog posts so those are the simple ways

to make money with ecopesa but for me

mostly i make money through referrals

and making money through referrals is

easy with this app because this app is

genuine and all i do is i do videos like

this these videos on ecopressa

and then on the description of the video

i add my affiliate link and basically

that's how i've made this money so i

don't sweat a lot going to like post my

affiliate link on facebook groups and

quora and things like those i believe it

was more vigilant to promote this app i

would make more money but for now i just

simply do videos like this and then add

the affiliate link on the description

so this is another app that has been

consistent in paying me through and pesa

and i have done several videos to show

proof that this app actually pays

so other alternatives to ecopressa

include mullah empire where you get paid

to do close to the same things like

watch videos

uh you get paid to do trivia quizzes you

get paid to do blogging you get paid to

do referrals and you get paid to do free

spin so basically just

close to the same ways

uh or now you get paid to ecopressa but

it's also a legit company that will pay

you through mpesa we also have bold

caches

so bold caches also has a very vibrant

referral program whereby

for people to get started on bold caches

they pay 1500 so out of that money will

get

some part of it from the referees so

they have this cash chat app where you

get paid to make money so it's very a

very legit company which you can use to

make money with and it also pays to do

and person

so there are so many other options of

apps that can play through and pesa in

kenya and i have done so many videos so

if you go to my channel hilda monday and

search and pesa here you'll see how to

get paid withdrew and pesa by easy cash

but i would really discourage you from

using easy cash they are not legit

anymore let me log into my easy cash

account you see

so

this video i did it nine months ago

and so

uh currently easy cash

the credibility of easy cash is not

is questionable right now

so i wouldn't encourage you to use easy

cash at all so this is my easy cash

account i was using them for a while and

they had paid me several times let me

show you that with the draw history so

they had paid me 13600

for several times but look at this

amount

this

i withdrew this amount since

this should be

september

right

since july i withdrew this money since

july and it has never been paid so

if they have never paid me that means

this company is not legit since july so

don't try it i don't think they're legit

anymore

don't try them

that is easy cash so i wouldn't

recommend this

first video again when we come to cue

cash

well personally i've never tried the q

cash i've never tried q cash

but after i did

this video after i did this video it got

so many negative comments so of people

saying how they have been scammed or

lost their money so that's also another

company i wouldn't like recommend maybe

but remember i always say that

help them to do your research before you

try something just because i recommended

it

doesn't mean i'm 100

accurate so take your time to go do your

research before you invest your money

and then again

i did this video recently and i was

exploring

three new apps three new apps that play

through m-pesa so this is a video i will

recommend you see i did this video one

month after this

this video one month ago and in all

this i'm exploring

new apps that pay you through empeza so

it's a video would encourage you to go

watch to learn those other new methods

even this

these two videos in fact these are the

two videos i would encourage you to go

watch this

and this if you watch these two videos

and you see the eyes they are done one

month ago but they have attracted

uh some viewership so go watch these two

videos and you will discover over seven

apps that will pay you through m-pesa so

that was the other second strategy that

is the use of apps

so remember

in this video we were talking about

we're talking about opinion online jobs

that favor m-pesa the first online job

which we talked about was affiliate

marketing and the second online job that

we are talking about is the use of apps

apps that will pay you through

and i've given you a variety of them

i've given you so many options and i

started by giving you proof of the one

that pays me and i gave you all these

other options


you can go go watch this video or this

for more options which will pay you to

make money through m pesa in kenya

so guys you've come to the end

and uh before i leave i want to remind

you to do several things i want to

remind you to subscribe if you've not

kindly


and also turn on that notification so

that you get notified every time i put

up a new video which i try to do every

every two days or just daily

so you see this video which you are

watching so i'm assuming this is the

video so you're going to scroll down and

then you're going to come here you're

going to eat this

like

if you found the content in this video

you will want to like it that is very

important for youtube

to help rank my videos and make it do

better

again you're going to share it that is

if you found it useful

and important

to help someone else

and then you're going here in the

description click here on shomo and in

the description you'll find the links in

the description and the most important

thing that you'll find in the

description is my free blogging guide

guys remember

for me the main way that i make money

online in kenya is by blogging so if you

want to really understand how i do

blogging how i've been a successful

blogger how you can get started get this

free blogging guide by clicking on this

link

and

this link

will take you to this

whereby you can get your free copy of

this book by entering your name and your

email address and you should get your

free


blogging copy again on the description

you'll find other related videos that

i've done in the past

which can teach you more ways to make

money online in kenya and then finally

you want to come here to the comment

section and add your comment be free

free to ask questions free to give any

type of feedback

free even to just say thank you that's

really important for youtube to help

rank my videos and help them do better

so guys that's it until next time bye

bye from me right now and i hope

that

this has been helpful bye bye for now


https://www.youtube.com/watch?v=AiP03ktSfAw

HOW TO CREATE MPESA PUGIN FOR WORDPRESS

In this blog post, we've discussed the steps to create a WordPress plugin that integrates with M-PESA, a popular mobile money service in...