|
Rank: Starting Member
Groups: Registered
Joined: 8/30/2005 Posts: 3 Location: ,
|
Unable to retrieve certficate
I am using following code
//****************************
caller = new CallerServices();
IAPIProfile profile = ProfileFactory.CreateAPIProfile();
profile.APIUsername = "african_ap1.cust.com";
profile.APIPassword = "amitamit";
profile.Environment ="sandbox" ;
caller.APIProfile =profile;
//**************************
and getting the following error
com.paypal.sdk.exceptions.FatalException: Unable to retrieve certficate from user or system keystores for : african_ap1.cust.com at com.paypal.sdk.core.APICaller.GetCertificate(String name) at com.paypal.sdk.core.APICaller.SetupConnection(IAPIProfile cprofile) at com.paypal.sdk.core.APICaller.set_Profile(IAPIProfile value) at com.paypal.sdk.services.CallerServices.set_APIProfile(IAPIProfile value) at BankBusinessLayer.PayPalCreditCardBP.DoDirectPayment() in c:\inetpub\wwwroot\africanexpressbank\bankbusinesslayer\paypalcreditcardbp.cs:line 77 at AfricanExpressBank.TransactionFirst.btnNext_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\africanexpressbank\transactionfirst.aspx.cs:line 91 at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain()
Please tellme the cause of error where the code is wrong...
thanks
AMit
amitamit
|