14 Mar, 2025

Websites To Buy Cryptocurrencies

There are several reputable websites where you can buy cryptocurrencies. Here are a few options to consider: Important Note: Before choosing a platform, it’s important to consider factors like fees, security measures, and the variety of cryptocurrencies they support. It’s also wise to do your own research on any website before trusting them with your […]

1 min read

How To Intergrate M-Pesa Reverse Transaction With Your Website Php

In this tutorial Ill show you how to intergrate m-pesa reverse a transaction with your website in php1.Create a reverse transaction file and paste in the following code:<?php ?> 2.Create a callback file and paste in the below code:<?php $callbackResponse = file_get_contents(‘php://input’);$logFile = “reverse-transaction-callback-response.json”;$log = fopen($logFile, “a”);fwrite($log, $callbackResponse);fclose($log);

1 min read

How To Intergrate M-Pesa Check Transaction Status With Your Website Php

In this tutorial Ill show you how to intergrate m-pesa check transaction status with your website in php1.Create a check transaction status file and paste in the following code:access_token;curl_close($curl); ?> 2.Create a callback file and paste in the below code:<?php $callbackResponse = file_get_contents(‘php://input’);$logFile = “transaction-status-response.json”;$log = fopen($logFile, “a”);fwrite($log, $callbackResponse);fclose($log);

1 min read

How To Intergrate M-Pesa Check Balance With Your Website Php

In this tutorial Ill show you how to intergrate m-pesa check balance with your website in php1.Create a check balance file and paste in the following code:<?php/* access token */$consumerKey = ‘YgreYNuYW5xIVooFrZgIhQMvvBGr2Pe2’; //Fill with your app Consumer Key$consumerSecret = ‘699oGg0C1XdMoWOA’; // Fill with your app Secret $headers = [‘Content-Type:application/json; charset=utf8’];$access_token_url = ‘https://sandbox.safaricom.co.ke/oauth/v1/generate?grant_type=client_credentials’;$curl = curl_init($access_token_url);curl_setopt($curl, CURLOPT_HTTPHEADER, […]

1 min read

How To Intergrate M-Pesa B2C With Your Website In Php

In this tutorial Ill show you how to intergrate m-pesa b2c with your website in php1.Create a b2c file and paste in the following code:<?php /* Urls */$access_token_url = ‘https://sandbox.safaricom.co.ke/oauth/v1/generate?grant_type=client_credentials’;$b2c_url = ‘https://sandbox.safaricom.co.ke/mpesa/b2c/v1/paymentrequest’; /* Required Variables */$consumerKey = ‘YgreYNuYW5xIVooFrZgIhQMvvBGr2Pe2’; # Fill with your app Consumer Key$consumerSecret = ‘699oGg0C1XdMoWOA’; # Fill with your app Secret$headers = [‘Content-Type:application/json; […]

1 min read