I am using paypal Sdk(https://github.com/paypal/PayPal-iOS-SDK) in my iPhone app.I was successfully integrated and tested in sandbox mode. I have given client for production in appdlegate file.I changed the environment to "PayPalEnvironmentProduction". I have some doubts regarding while changing to live.
[PayPalMobile initializeWithClientIdsForEnvironments:@{PayPalEnvironmentProduction : @"YOUR_CLIENT_ID_FOR_PRODUCTION",
PayPalEnvironmentSandbox : @"YOUR_CLIENT_ID_FOR_SANDBOX"}];
what is the use of "endpoint" and "secret" in my app credentials (because i used Only client id)
shall i need to submit the app to paypal to get any other credentials from paypal or directly to Appstore
will my app is approved by apple if i use paypal
what is the use of below code (even though i removed code )payment process is working
_payPalConfig = [[PayPalConfiguration alloc] init]; _payPalConfig.acceptCreditCards = YES; _payPalConfig.languageOrLocale = @"en"; _payPalConfig.merchantName = @"Awesome Shirts, Inc."; _payPalConfig.merchantPrivacyPolicyURL = [NSURL URLWithString:@"https://www.paypal.com/webapps/mpp/ua/privacy-full"]; _payPalConfig.merchantUserAgreementURL = [NSURL URLWithString:@"https://www.paypal.com/webapps/mpp/ua/useragreement-full"];
If it is necessary to submit the app to paypal first what are the necessary steps to taken and any detailed expalanation may be helpful.what is difference between paypalSdk and MPL, which is better?