Im在我的應用程序中使用PayTm SDK。我在設置時出現以上錯誤。錯誤=錯誤域= NSCocoaErrorDomain代碼= 3840「結束時的垃圾。」
mc.checksumGenerationURL = @"My URL";
mc.checksumValidationURL = @"My URL ";
//這裏林通過我的服務器URL //第3步:創建要添加任何PARAMS的順序。但是,請確保您有商家強制PARAMS
NSMutableDictionary *orderDict = [NSMutableDictionary new];
//Merchant configuration in the order object
orderDict[@"MID"] = @""; //Passes my Id
orderDict[@"CHANNEL_ID"] = @"WAP";
orderDict[@"INDUSTRY_TYPE_ID"] = @"Retail";
orderDict[@"WEBSITE"] = @""; Passed my website
//Order configuration in the order object
orderDict[@"CUST_ID"] = @"123456";
orderDict[@"ORDER_ID"] = [ViewController generateOrderIDWithPrefix:@""];
orderDict[@"TXN_AMOUNT"] = @"1";
orderDict[@"REQUEST_TYPE"] = @"DEFAULT";
PGOrder *order = [PGOrder orderWithParams:orderDict];
//Step 4: Choose the PG server. In your production build dont call selectServerDialog. Just create a instance of the
//PGTransactionViewController and set the serverType to eServerTypeProduction
PGTransactionViewController *txnController = [[PGTransactionViewController alloc] initTransactionForOrder:order];
txnController.serverType =eServerTypeStaging ;
// txnController.loggingEnabled = YES;
// txnController.sendAllChecksumResponseParamsToPG = YES;
txnController.merchant = mc;
txnController.delegate = self;
[self showController:txnController];
請幫助我.. 謝謝...
你好,同樣的問題是如果你解決這個請給我答案... Thanx – sohil
@sohil請檢查我的答案,它會幫助你。 –