Plugin Directory

Changeset 2549536


Ignore:
Timestamp:
06/17/2021 08:32:53 AM (5 years ago)
Author:
mstonys
Message:

version v1.0.3

Location:
pay-with-mtn-momo-woocommerce/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pay-with-mtn-momo-woocommerce/trunk/README.txt

    r2514430 r2549536  
    33Donate link: https://www.clickon.ch
    44Tags: MTN MoMo, MoMo, payment, MTN, payment gateway, mobile money, WooCommerce
    5 Tested up to: 5.7
     5Tested up to: 5.8
    66Stable tag: 1.0.2
    77Requires at least: 5.0
     
    1818💥 NEW!💥 also available in South Africa 🇿🇦 and Liberia 🇱🇷
    1919
    20 This plugin allows you to collect payments on your WooCommerce eShop using *MTN MoMo* in all 10 MoMo countries 🇬🇭🇨🇲🇺🇬🇿🇲🇸🇿🇷🇼🇨🇮🇧🇯🇬🇳🇨🇬
     20This plugin allows you to collect payments on your WooCommerce eShop using *MTN MoMo* in 12 countries 🇬🇭🇨🇲🇺🇬🇿🇲🇸🇿🇷🇼🇨🇮🇧🇯🇬🇳🇨🇬🇿🇦🇱🇷
    2121
    2222You must have **WooCommerce** because we developed this plugin as a *WooCommerce payment gateway* 🚀
     
    46462. Enable **Collection API** (NOT the Collection Widget API please)
    47473. Get Sandbox *Collection Primary key* and enter it in the **Plugin settings**
    48 4. Test payments in the Sandbox **only EUR currency**
     484. Test payments in Sandbox you can **only use EUR currency**
    4949
    5050**IMPORTANT for Rwanda** use `https://momodeveloper.mtn.co.rw` to sign-up and get the keys!
     
    6666* GHS Ghana
    6767* UGX Uganda
    68 * XAF Cameroon
     68* XAF Cameroon / Central African CFA franc
    6969* RWF Rwanda
    70 * XOF Ivory Coast, Benin
    71 * CDF Congo Brazza
     70* XOF Benin / West African CFA franc
     71* XOF Ivory Coast / West African CFA franc
     72* XAF Congo Brazza / Central African CFA franc
    7273* SZL Eswatini/Swaziland
    7374* GNF Guinea-Conakry
     
    7576* ZAR South Africa
    7677* LRD Liberia
     78
     79** IMPORTANT Do not forget to select your country and the currency in WooCommerce settings **
    7780
    7881==== DEMO eShop - in Sandbox mode ====
     
    135138* 256700908XXX - Uganda
    136139* 268782XXXXX - Eswatini
     140* 24206422XXXX - Congo B
    137141
    138142No "+" in front and always with the country code!
     
    150154
    151155== Changelog ==
     156
     157= 1.0.3 =
     158* Fixed setup issues for AWS Lightsail
     159* Fixed XAF currency support in Cameroon and Congo Brazza
    152160
    153161= 1.0.2 =
  • pay-with-mtn-momo-woocommerce/trunk/mtn-momo-pay.php

    r2504769 r2549536  
    33* Plugin Name: MTN MoMo for WooCommerce
    44* Plugin URI: https://www.clickon.ch
    5 * Description: Accept payments over MTN MoMo in WooCommerce
     5* Description: Accept payments with MTN MoMo in WooCommerce
    66* Version: 1.0.2
    77* Author: mstonys
     
    2828
    2929
    30 if ( !in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins') ) ) ) {
    31     return;
    32 };
     30/**
     31 * Check if WooCommerce is activated
     32 */
     33if ( ! function_exists( 'is_woocommerce_activated' ) ) {
     34    function is_woocommerce_activated() {
     35        if ( class_exists( 'woocommerce' ) ) { return true; } else { return false; }
     36    }
     37}
    3338
    3439if(!function_exists('woo_momo_pay_admin_assets')) {
Note: See TracChangeset for help on using the changeset viewer.