Title: Pay via ProxyAPI
Author: maxp555
Published: <strong>20 vasario, 2020</strong>
Last modified: 25 sausio, 2021

---

Ieškoti įskiepiuose

Šis įskiepis **nebuvo išbandytas su 3 vėliausiomis WordPress versijomis**. Jis tikriausiai
nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

![](https://ps.w.org/woo-pay-via-proxyapi/assets/icon-256x256.png?rev=2247346)

# Pay via ProxyAPI

 Autorius [maxp555](https://profiles.wordpress.org/maxp555/)

[Parsisiųsti](https://downloads.wordpress.org/plugin/woo-pay-via-proxyapi.zip)

 * [Informacija](https://lt.wordpress.org/plugins/woo-pay-via-proxyapi/#description)
 * [Atsiliepimai](https://lt.wordpress.org/plugins/woo-pay-via-proxyapi/#reviews)
 *  [Diegimas](https://lt.wordpress.org/plugins/woo-pay-via-proxyapi/#installation)
 * [Kūrimas](https://lt.wordpress.org/plugins/woo-pay-via-proxyapi/#developers)

 [Pagalba](https://wordpress.org/support/plugin/woo-pay-via-proxyapi/)

## Aprašymas

The Pay via ProxyAPI (PVP in short) extension for WooCommerce enables you to accept
payments for Safaricom’s M-Pesa payment gateway via ProxyAPI.

PVP enables one to directly integrate into MPesa using both Lipa na M-Pesa and C2B
APIs. It enables you to simplify your checkout process and allow a customer to simply
enter their phone number and have the Lipa na MPesa payment prompt sent immediately
to their phone numbers, and the responses and callbacks automatically processed 
by WooCommerce.

For any assistance in your setup, please join the Support group at [Telegram](https://t.me/joinchat/I-jBHE2JnVFAfGpjWRgJbA)
or drop your query in the [Support Section](https://wordpress.org/support/plugin/woo-pay-via-proxyapi/).
A response will be given asap.

DISCLAIMER

This is not an official plugin from M-Pesa, and this plugin does not have any control
over the availability of M-Pesa APIs. Any issues not directly caused by or related
to the plugin should be addressed to the Safaricom support group.

## Ekrano nuotraukos

 * [[
 * How to view M-Pesa Transaction metadata tied to the order
 * [[
 * How to get M-Pesa Transaction ID for currently opened order
 * [[
 * How to configure Pay via ProxyAPI
 * [[
 * M-Pesa reports tab showing latest received PVP LnM transaction requests on Proxy
   API

## Diegimas

You will need an existing M-Pesa Shortcode to work with, and a ProxyAPI user account
to get started. Please visit https://proxyapi.co.ke to sign up for and set up an
account. Once you have signed up, follow the instructions below to install the plugin.

AUTOMATIC INSTALLATION
 – Login to your WordPress Dashboard. – Click on „Plugins
> Add New” from the left menu. – In the search box type „Pay via ProxyAPI”. – Click
on Install Now on Pay via ProxyAPI to install the plugin on your site. – Confirm
the installation. – Activate the plugin. – Click on „WooCommerce > Settings” from
the left menu and click the „Payments” or „Checkout” tab. – Click on the Pay via
ProxyAPI option from the available Payment Options. – Configure your Pay via ProxyAPI
settings accordingly. See below for configuration instructions.

MANUAL INSTALLATION VIA WORDPRESS ADMIN
 1. Download the plugin zip file 2. Login
to your WordPress Admin. Click on “Plugins > Add New” from the left hand menu. 3.
Click on the “Upload” option, then click “Choose File” to select the zip file from
your computer. Once selected, press “OK” and press the “Install Now” button. 4. 
After installation, go to WooCommerce -> Settings -> Payments tab (or equivalent
for your WooCommerce version). You will see Pay via ProxyAPI (PVP) as part of the
available payment checkout options. Activate the plugin, then configure it. See 
below for configuration instructions.

CONFIGURING THE PLUGIN
 You shall need to enter the API Key. To get the API Key:
1. Log into the portal at https://api.proxyapi.co.ke 2. Navigate to Shortcodes on
the main menu 3. Double click on the Shortcode you wish to use for PVP 4. Make sure
the „Use Shortcode for Pay via ProxyAPI” checkbox is selected and the settings saved
on selection. 5. At the bottom of the page, you will see the API Key field. You 
will see your API key in the text field.

After fetching the API key, enter the key in the API Key field in the WooCommerce
PVP Settings page, then save the changes.

## DUK

### What version of PHP is required for this plugin to work?

Use PHP v5.6 or later.

### Can someone on Daraja API use this plugin?

No, you need to be aboard ProxyAPI to be able to use this plugin.

### Does this plugin process M-Pesa callbacks?

Yes, the plugin is set up to directly receive callbacks from both Daraja and ProxyAPI
and process each separately for the same transaction

### Does this plugin have a separate M-Pesa transactions table?

No, the plugin places the transaction details directly as metadata into the order.
This enables for a simpler and more convenient way to view MPesa results. But in
case you need to check all transactions or get a separate list of transactions, 
you have access to the [ProxyAPI portal](https://api.proxyapi.co.ke/) where you 
get a list of all Pay via ProxyAPI transactions sent through it and their current
status (whether they were succesful or not).

### Does the plugin automatically complete transactions?

Yes, depending on the result received from Daraja or ProxyAPI. If a transaction 
returned a failed error code, the equivalent order is marked as failed too. If the
transaction was a success, the equivalent order will be assigned the MPesa Transaction
ID as its own unique Transaction ID and marked as complete.

### Where can I get the documentation on PVP or ProxyAPI?

[Proxy API Documentation](https://docs.proxyapi.co.ke/v1/)
 [Proxy API PVP Documentation](https://docs.proxyapi.co.ke/v1/#pvp)
[Proxy API Portal](https://api.proxyapi.co.ke/) [Proxy API Telegram Support Group](https://t.me/joinchat/I-jBHE2JnVFAfGpjWRgJbA)

## Atsiliepimai

Įskiepis neturi atsiliepimų.

## Programuotojai ir komandos nariai

“Pay via ProxyAPI” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės 
surašyti toliau.

Autoriai

 *   [ maxp555 ](https://profiles.wordpress.org/maxp555/)

[Išverskite “Pay via ProxyAPI” į savo kalbą.](https://translate.wordpress.org/projects/wp-plugins/woo-pay-via-proxyapi)

### Domina programavimas?

[Peržiūrėkite kodą](https://plugins.trac.wordpress.org/browser/woo-pay-via-proxyapi/),
naršykite [SVN repozitorijoje](https://plugins.svn.wordpress.org/woo-pay-via-proxyapi/),
arba užsiprenumeruokite [kodo pakeitimų žurnalą](https://plugins.trac.wordpress.org/log/woo-pay-via-proxyapi/)
per [RSS](https://plugins.trac.wordpress.org/log/woo-pay-via-proxyapi/?limit=100&mode=stop_on_copy&format=rss).

## Pakeitimų istorija

#### 2.2.7

 * Updated WC v4.9.1

#### 2.2.6

 * Increased MPesa Maximum Limit

#### 2.2.5

 * Updated WC v4.2.2

#### 2.2.4

 * Minor fixes

#### 2.2.3

 * Upgrade to WC v4.0.1
 * Minor fixes

#### 2.2.2

 * Fixed session bug

#### 2.2.1

 * Fixed changelog

#### 2.2.0

 * Added payment retry capability for failed orders

#### 2.1.0

 * Added Due date notification for admin

## Metainformacija

 *  Version **2.2.7**
 *  Atnaujinta **prieš 5 metai**
 *  Aktyvių instaliacijų **10+**
 *  WordPress versija ** 5.3 ar naujesnė **
 *  Ištestuota iki **5.6.17**
 *  PHP versija ** 5.6 ar naujesnė **
 *  Kalba
 * [English (US)](https://wordpress.org/plugins/woo-pay-via-proxyapi/)
 * Žymos
 * [Lipa na mpesa](https://lt.wordpress.org/plugins/tags/lipa-na-mpesa/)[MPESA](https://lt.wordpress.org/plugins/tags/mpesa/)
   [proxy](https://lt.wordpress.org/plugins/tags/proxy/)
 *  [Daugiau](https://lt.wordpress.org/plugins/woo-pay-via-proxyapi/advanced/)

## Įvertinimai

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/woo-pay-via-proxyapi/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/woo-pay-via-proxyapi/reviews/)

## Autoriai

 *   [ maxp555 ](https://profiles.wordpress.org/maxp555/)

## Pagalba

Turite pastabų? Reikia pagalbos?

 [Peržiūrėti pagalbos forumą](https://wordpress.org/support/plugin/woo-pay-via-proxyapi/)