New paypal ios sdk in not working in device - iphone

I am developing one application.In that i am using New Latest pay pal API. Whenever i tried to that one,i got one alert like"There was a problem with communicating with server". And i didn't mention any customer id.Is it creating this problem? If not then how to connect pay pal server.My xcode version is 4.5,Base SDK is ios 6,target deployment is 5.0 and device OS version is ios 5.

You should mention client ID and write below code:
[PayPalPaymentViewController prepareForPaymentUsingClientId:kPayPalClientId];

The merchant account must be a US account. I don't know if sandbox will work for non-US merchant accounts or not.
For sandbox, you must also set [PayPalPaymentViewController setEnvironment:PayPalEnvironmentSandbox]; and #define kPayPalClientId <YOUR CLIENT ID> with the client ID that you get for sandbox from https://developer.paypal.com
Note also that the only tested configuration is for USD, thought that will change soon.

Related

Auto renewable subscription in my app in app store no longer works

I accepted the new license agreement and I think it doesn't work anymore after that. Anyone know about that?
I can not make a purchase because I used it as a test device before. You can try to purchase from a device that you do not use as a tester.

How to get user payment details in iTunes on developer side?

I have recently submitted my app in Appstore with in-app-purchase feature,
it is work fine in live server but, some customer pay the payment in my IOS app not updated his profile in my server database,
Can i get User Payment details in my iTunes account on developer side for checking payment based on orderID.
If it is possible where i can get details in iTunes account or any other possibility.
Thanks for your help.
It's not possible to get any sales related data for us developers, like Apple ID, form of payment, Credit Card details etc.
Please clarify, what you want to do exactly.
The only thing you can do it "Receipt Validation", from within the app: https://developer.apple.com/library/ios/releasenotes/General/ValidateAppStoreReceipt/Introduction.html

PayPal Mobile SDK Classic API

Two main questions
Using the PayPal Mobile SDK for iOS
Have have the following two lines
[PayPalMobile initializeWithClientIdsForEnvironments:#{PayPalEnvironmentSandbox : #"APP-11111111111"}];
[paypalConfig setMerchantName:#"ABC Co"];
1) What else is needed to assign the sandbox payment to the app / account
2) I have processed two sandbox payments got a state = approved , but where do you check where that money is waiting ? The payment has been "made" so where is it pending ?
Thanks in advance
The new v2 mSDKs no longer use an AppID to connect. The only information used to connect to your account would be your Client ID. The latest version of the iOS SDK can be found here.
Once you process a payment with the mSDK and it's approved in the sandbox, the funds should be showing in your -facilitator sandbox account.

testing none-free items from itunesconnect in sandbox mode?

I am testing in app purcahsement by phonegap IAP plugin. the plugin works well and
I've done for testing free-subscribe items. However, I need to test none-free items too.
from manage in app purchases section on itunesconnect, I only can add free-subscribe items only.
there is no buttons for $0.99 or $1.99 but only a button for free-subscribe.
Is it possible to add none-free items from sandbox mode? how developers can be sure
their none-free items works in sandbox mode? is there no way to test none-free item before
submitting an app? any help will be appreciated.
You can only add free subscription items from iTunes Connect because you haven't sign the legal agreements and contracts for In-App Purchases.
From that page:
If a type is missing, make sure you have agreed to all recent contracts. The Legal user must go to the "Contracts, Tax, and Banking" module on iTunes Connect to agree to the latest Paid Applications agreement. You must agree to the Developer Program License Agreement before you can access the Paid Applications agreement.
Your account must me the Agent.

Can I use iOS in app purchases in the development Sandbox before I have a iOS Paid Apps contract in effect

I am getting invalid product identifiers back from the store, however I believe I have set up everthing correctly.
I think this might be due to the fact that I dont have a paid contract in effect.
I was allowed to set up the app's product, in iTunes connect, without the contract completed which suggests to me completing the paid contract might not be needed (I would rather not since this is a proof of concept app).
Does anyone know for sure if you can or can not test in the sandbox before this is set up?
It turns out you only need to request the contract and enter tax information. I.e. you dont need to enter banking info for the Sandbox.
From my experience it worked as followed:
Request the paid apps contract.
You can now set up the in-app-purchase on your apps. However, you will get 'invalid product identifier' back from StoreKit if you try to use it.
Enter tax information.
It now works.
You cannot setup a PAID app without signing the contracts.
So you cannot test the In-App purchase without signing the contract.