Step 0: IOS Configuration
Step 1: Merchant configuration
SDK identifies each Merchant by PGMerchantConfiguration object. You can configure this anywhere in the code before the first transaction with necessary parameters. It requires only one time configuration. Since it is singleton Class, you may utilize the same for any transaction within your application.
Objective – C
Step 2: Order Creation:
Create the order with the mandatory parameters, as given below in the code snippet. In addition to this, you may add other optional parameters as needed.
Objective – C
Step 3:
Choose the PG server. In your production build don’t call selectServerDialog. Just create an instance of the PGTransactionViewController and set the serverType to eServerTypeProduction
Objective – C
Step 4: Implement The PGTransactionDelegate protocol.
The following code snippet shows how the callback will be handled.
Objective-C
Note: kindly add the dependency in your project SystemConfiguration.framework
http://paywithpaytm.com/developer/paytm_sdk_doc/
http://paywithpaytm.com/developer/paytm_sdk_doc?target=how-paytm-sdk-works
http://paywithpaytm.com/developer/paytm_sdk_doc?target=steps-for-ios-integration
https://github.com/Paytm-Payments/Paytm_App_Checksum_Kit_PHP
https://github.com/Paytm-Payments/Paytm_App_Checksum_Kit_JAVA
https://github.com/Paytm-Payments/Paytm_App_Checksum_Kit_Python
https://github.com/Paytm-Payments/Paytm_App_Checksum_Kit_Ruby
https://github.com/Paytm-Payments/Paytm_App_Checksum_Kit_NodeJs
https://github.com/Paytm-Payments/Paytm_App_Checksum_Kit_DotNet
http://paywithpaytm.com/developer/paytm_api_doc?target=txn-status-api