Could not able to integrate paypal in Live environment
<p>I integrated paypal in my android app when i worked with sandbox environment its working fine but when i changed to live environment with new appid given by client its not working i think its not able to initialize the PayPal library`</p>

<pre><code>Handler hRefresh = new Handler(){
    @Override
    public void handleMessage(Message msg) {
        switch(msg.what){
            case INITIALIZE_SUCCESS:
                setupButtons();
                break;
            case INITIALIZE_FAILURE:
                showFailure();
                break;
        }
    }
};
    Thread libraryInitializationThread = new Thread() {
        public void run() {
            initLibrary();

            // The library is initialized so let's create our CheckoutButton and update the UI.
            if (PayPal.getInstance().isLibraryInitialized()) {
                Log.e("oncreate","oncreate");
                hRefresh.sendEmptyMessage(INITIALIZE_SUCCESS);
            }
            else {
                Log.e("oncreate1","oncreate1");
                hRefresh.sendEmptyMessage(INITIALIZE_FAILURE);
            }
        }
    };  libraryInitializationThread.start();
    //Library initilization
private void initLibrary() {
    PayPal pp = PayPal.getInstance();

    if(pp == null) {
        try{
        pp = PayPal.initWithAppID(this, appID, server);
        Log.e("initapp","initapp1");

        pp.setLanguage("en_US");
        pp.setFeesPayer(PayPal.FEEPAYER_PRIMARYRECEIVER); 

        pp.setShippingEnabled(true);

        pp.setDynamicAmountCalculationEnabled(false);
        }catch(Exception e){
            e.printStackTrace();
        }
    }
}
</code></pre>
