I am developing an iphone app, i want to integrate it with PayPal which will use rest API.
I downloaded SDK 1.0.4 for iOS from this.
https://github.com/paypal/PayPal-iOS-SDK
There is a sample code given by PayPal. But in this app i need to change PayPal client id and email address.
define kPayPalClientId @"YOUR CLIENT ID HERE"
define kPayPalReceiverEmail @"[email protected]"
how to get PayPal client id? and how can i test it if money is transfered or not with the single PayPal account?
The Client ID (cid) is a unique identifier for a browser–device pair that helps Google Analytics link user actions on a site. By default, Google Analytics determines unique users using this parameter. However, what in Google Analytics reports are called users would be worth calling browsers.
To find the merchant ID of your PayPal account, log in to your PayPal account at paypal.com, click on the Settings icon, click on Business information and look for PayPal Merchant ID. To find the merchant ID of a sandbox account, follow the same instructions on sandbox.paypal.com. Your client ID.
You can obtain your PayPal API credentials, including Client ID, by visiting the Applications page on the PayPal Developer site and logging in with your PayPal account.
Once logged in on this page, you will be assigned a sandbox Client ID, which will let you test your iOS integration against the PayPal sandbox. In your code, set the receiver email to a business sandbox account email address, then use a personal sandbox account email and password to log in to PayPal in the UI of your app. You can create business and personal sandbox accounts on the Sandbox accounts page.
To obtain your live Client ID, you will need to have a business account. If you don't yet have a business account, there is a link at the bottom of that same Applications page that will get you started. For live transactions, use your PayPal email address as the receiver email.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With