/*
 *
 *  * Copyright (C) 2017 Safaricom, Ltd.
 *  *
 *  * Licensed under the Apache License, Version 2.0 (the "License");
 *  * you may not use this file except in compliance with the License.
 *  * You may obtain a copy of the License at
 *  *
 *  * http://www.apache.org/licenses/LICENSE-2.0
 *  *
 *  * Unless required by applicable law or agreed to in writing, software
 *  * distributed under the License is distributed on an "AS IS" BASIS,
 *  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  * See the License for the specific language governing permissions and
 *  * limitations under the License.
 *
 */

package com.myduka.app.app;

/**
 * Created  on 6/30/2017.
 */

public class Config {

    //Use credentials from your Lipa na MPESA Online(MPesa Express) App from the developer portal

    public static final String CONSUMER_KEY = "ZYAS1e58VNdH03oD7CKUPBjKk1I8mbsr"; //YOUR_CONSUMER_KEY
    public static final String CONSUMER_SECRET = "GcocPU0l7zGC3ru6"; //YOUR_CONSUMER_SECRET

    // global topic to receive app wide push notifications
    public static final String TOPIC_GLOBAL = "global";

    // broadcast receiver intent filters
    public static final String REGISTRATION_COMPLETE = "registrationComplete";
    public static final String PUSH_NOTIFICATION = "pushNotification";

    // id to handle the notification in the notification tray
    public static final int NOTIFICATION_ID = 100;
    public static final int NOTIFICATION_ID_BIG_IMAGE = 101;

    public static final String SHARED_PREF = "ah_firebase";

    //STKPush Properties
    public static final String BUSINESS_SHORT_CODE = "174379";
    public static final String PASSWORD = "MTc0Mzc5YmZiMjc5ZjlhYTliZGJjZjE1OGU5N2RkNzFhNDY3Y2QyZTBjODkzMDU5YjEwZjc4ZTZiNzJhZGExZWQyYzkxOTIwMTYwMjE2MTY1NjI3";
    public static final String TRANSACTION_TYPE = "CustomerPayBillOnline";
    public static final String PARTYB = "174379";
    public static final String CALLBACKURL = "https://spurquoteapp.ga/pusher/pusher.php?title=stk_push&message=result&push_type=individual&regId=";

    public static final String TOKEN_URL = "https://sandbox.safaricom.co.ke/oauth/v1/generate?grant_type=client_credentials";
}

@@ -875,45 +875,8 @@
  = %22
-ZYAS1e58VNdH03oD7CKUPBjKk1I8mbsr%22; //
 YOUR
@@ -888,16 +888,18 @@
 UMER_KEY
+%22;
 %0A    pub
@@ -945,29 +945,8 @@
  = %22
-GcocPU0l7zGC3ru6%22; //
 YOUR
@@ -961,16 +961,19 @@
 R_SECRET
+%22; 
 %0A%0A    //

Update Config.java