Step 1: Get the SDK

USING COCOAPODS

Open your pod file and add the following

pod 'CashfreePG', '~> 2.0.19'

Execute command in your terminal

 pod install 

Permissions

Open the info.plist file and add the following:

📘

Migrating from 1.. to 2.0.*

Replace "paytm" with "paytmmp"

<key>LSApplicationCategoryType</key>
<string></string>
<key>LSApplicationQueriesSchemes</key>
<array>
  <string>bhim</string>
  <string>paytmmp</string>
  <string>phonepe</string>
  <string>tez</string>
  <string>credpay</string>
</array>

Package Whitelisting

The newest versions of our iOS SDK(2.0.0 and newer) will require your app package/bundle to be whitelisted in cashfree's system to use the SDK Checkout. Whitelisting request can be made from your dashboard Developers>Whitelisting

You can check step-by-step process of making whitelisting request here.

📘

Note

Please ensure you enter correct package for the whitelisting.
iOS Package example -
com.cashfree.merchant (correct)



Subscribe to Developer Updates


What’s Next

Experience the all-new Cashfree Payments Docs! Faster, smarter, and easier to navigate. Check it out here!🎉