payu-intrepos / payumoney-ios-sdk Goto Github PK
View Code? Open in Web Editor NEWEasy to integrate SDK for iOS to facilitate fast mobile checkout
Home Page: https://www.payumoney.com/
License: MIT License
Easy to integrate SDK for iOS to facilitate fast mobile checkout
Home Page: https://www.payumoney.com/
License: MIT License
For Xamarin iOS developer go with webview
I did sample here
https://logeshpalani.blogspot.com/2020/07/xxamarin-ios-payumoney-payment.html
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber compare:]: nil argument'
*** First throw call stack:
(
0 CoreFoundation 0x000000010ebd8f65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x00000001139f2deb objc_exception_throw + 48
2 CoreFoundation 0x000000010ebd8e9d +[NSException raise:format:] + 205
3 CoreFoundation 0x000000010eae9e91 -[__NSCFNumber compare:] + 81
4 PayUMoneyCoreSDK 0x000000011386283a +[PUMUtils validateAmount:] + 404
5 PayUMoneyCoreSDK 0x000000011385644a +[PayUMoneyCoreSDK initWithTxnParam:error:] + 466
6 PlugNPlay 0x000000011394d590 +[PlugNPlay presentPaymentViewControllerWithParams:onViewController:WithCompletionBlock:] + 237
7 PlugNPlay 0x000000011394d410 +[PlugNPlay presentPaymentViewControllerWithTxnParams:onViewController:withCompletionBlock:] + 147
8 HeadsUp7 0x000000010d2237e7 __44-[AppDelegate openPayUMoney:withController:]_block_invoke + 231
9 HeadsUp7 0x000000010d1e724d __60+[SAHelperClass generateHashFromServer:withCompletionBlock:]_block_invoke + 285
10 HeadsUp7 0x000000010d2163ac __59+[PUSAWSManager getWebServiceResponse:withCompletionBlock:]_block_invoke + 300
11 CFNetwork 0x0000000111cf7a25 __75-[__NSURLSessionLocal taskForClass:request:uploadFile:bodyData:completion:]_block_invoke + 19
12 CFNetwork 0x0000000111d0a35e __49-[__NSCFLocalSessionTask _task_onqueue_didFinish]_block_invoke + 302
13 Foundation 0x0000000112423873 NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 7
14 Foundation 0x000000011235f5d5 -[NSBlockOperation main] + 101
15 Foundation 0x0000000112342556 -[__NSOperationInternal _start:] + 646
16 Foundation 0x0000000112342167 __NSOQSchedule_f + 194
17 libdispatch.dylib 0x0000000114b1749b _dispatch_client_callout + 8
18 libdispatch.dylib 0x0000000114afd988 _dispatch_queue_drain + 2215
19 libdispatch.dylib 0x0000000114afcea9 _dispatch_queue_invoke + 601
20 libdispatch.dylib 0x0000000114affaf2 _dispatch_root_queue_drain + 1420
21 libdispatch.dylib 0x0000000114aff561 _dispatch_worker_thread3 + 111
22 libsystem_pthread.dylib 0x0000000114e485a2 _pthread_wqthread + 1299
23 libsystem_pthread.dylib 0x0000000114e4807d start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Dear PayU iOS Development Team,
It seems the is some problem in iOS SDK, I have write a code to present payment screen(PUMMainVController) It got presented fine. But one problem I have seen, Once I have click on the back button to dismiss the controll. I saw all the NSUserDefault data got removed. I am checking on simulator not sure why this problem raised.
Can any one please provide the resolution on urgent basis?
Hello,
I'm developing iOS app using Swift 3. Everything goes well except after making payment transaction is not getting redirected back to our application. It just gets stuck on blank page. I'm using following success and failure urls:
requestParams.surl = "https://www.payumoney.com/mobileapp/payumoney/success.php"
requestParams.furl = "https://www.payumoney.com/mobileapp/payumoney/failure.php"
Please revert back, I'm not getting response from your support team. I'm trying to sync with them since last 3 days. We are not able go live only because of this issue.
I'm trying to integrate payu into my iOS app written in Swift 3. I didn't find any sample app or sample code for swift. I'm using bridging header with this sdk but not able to convert Obj-C code to Swift and make it work.
Can we expect swift version anytime soon?
The following steps produces a "Some error occur!" alert:
Any workaround possible to get this to work?
I'm using the Objective-C version!
When i click paynow button before payment method load.
Xcode : Version 11.3.1 (11C504)
iOS : 13
Swift 5.0
*** Terminating app due to uncaught exception 'NSObjectNotAvailableException', reason: 'UIAlertView is deprecated and unavailable for UIScene based applications, please use UIAlertController!'
*** First throw call stack:
(
0 CoreFoundation 0x000000010de66bde __exceptionPreprocess + 350
1 libobjc.A.dylib 0x000000010d684b20 objc_exception_throw + 48
2 CoreFoundation 0x000000010de66a1c +[NSException raise:format:] + 188
3 UIKitCore 0x00000001167cd463 -[UIAlertView initWithFrame:] + 417
4 UIKitCore 0x00000001167cdad0 -[UIAlertView initWithTitle:message:delegate:cancelButtonTitle:otherButtonTitles:] + 218
5 朵朵一家 0x0000000109fe5cf0 +[MLeaksMessenger alertWithTitle:message:delegate:additionalButtonTitle:] + 304
6 朵朵一家 0x0000000109fe4ba9 +[MLeakedObjectProxy addLeakedObject:] + 857
7 朵朵一家 0x0000000109fe6152 -[NSObject(MemoryLeak) assertNotDealloc] + 146
8 朵朵一家 0x0000000109fe609e __35-[NSObject(MemoryLeak) willDealloc]_block_invoke + 46
9 libdispatch.dylib 0x000000010f393d64 _dispatch_client_callout + 8
10 libdispatch.dylib 0x000000010f3966d6 _dispatch_continuation_pop + 552
11 libdispatch.dylib 0x000000010f3a9a8f _dispatch_source_invoke + 2205
12 libdispatch.dylib 0x000000010f3a1c53 _dispatch_main_queue_callback_4CF + 1043
13 CoreFoundation 0x000000010ddc9699 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
14 CoreFoundation 0x000000010ddc42f9 __CFRunLoopRun + 2329
15 CoreFoundation 0x000000010ddc36b6 CFRunLoopRunSpecific + 438
16 GraphicsServices 0x000000011064bbb0 GSEventRunModal + 65
17 UIKitCore 0x0000000117246a67 UIApplicationMain + 1621
18 朵朵一家 0x0000000109e7baad main + 125
19 libdyld.dylib 0x000000010f41bcf5 start + 1
20 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
@RajvinderPayU `PlugNPlay.presentPaymentViewController(withTxnParams:params, on:self, withCompletionBlock:{,,_ in (paymentResponse:[AnyHashable: Any],error:Error?,extraParam: Any).self
//Response callback
})`
How to display UI after getting & called txnparam. I'm following this link: https://test.payumoney.com/dev-guide/mobilecheckout/ios.html#initiate-transaction
Please help me, I'm stuck .
I am doing my project in swift 4. when i called presentPaymentViewControllerWithTxnParams function to launch payment gateway interface, no action is performed
I am using payUmoney for my project and it is getting crashed sometimes and below is the stacktrace when i got crash.
2018-03-30 11:52:29.380876+0530 FunBook[19790:4407301] -[__NSCFNumber length]: unrecognized selector sent to instance 0xbffffffffffffff3
2018-03-30 11:52:29.383212+0530 FunBook[19790:4407301] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber length]: unrecognized selector sent to instance 0xbffffffffffffff3'
*** First throw call stack:
(
0 CoreFoundation 0x00000001136ea12b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x0000000112634f41 objc_exception_throw + 48
2 CoreFoundation 0x000000011376b024 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x000000011366cf78 forwarding + 1432
4 CoreFoundation 0x000000011366c958 _CF_forwarding_prep_0 + 120
5 UIKit 0x000000011011a8e2 -[UILabel _setText:] + 136
6 PlugNPlay 0x000000010e6ae3fc -[PopUpView addMessageLabel:] + 293
7 PlugNPlay 0x000000010e6ae196 -[PopUpView initWithHeaderImage:bottomButtonTitle:messageFont:message:title:] + 209
8 PlugNPlay 0x000000010e6bd37b -[PnPPopUpViewController addPopUpViewWithHeaderImage:bottomButtonTitle:messageFont:message:title:] + 160
9 PlugNPlay 0x000000010e6bcf32 -[PnPPopUpViewController initWithHeaderImage:bottomButtonTitle:messageFont:message:title:] + 148
10 PlugNPlay 0x000000010e6c104b +[PnPUtility handleFailureWithViewC:message:title:] + 219
11 PlugNPlay 0x000000010e6c0cdd +[PnPUtility handlePaymentData:error:success:viewC:] + 848
12 PlugNPlay 0x000000010e69b390 -[PnPWalletPayViewController transactinFailedWithResponse:errorDescription:tag:] + 60
13 PlugNPlay 0x000000010e6ad5fe __43-[PnPAddCardViewController proccessPayment]_block_invoke + 674
14 PayUMoneyCoreSDK 0x000000010e5bf9b0 -[PayUMoneyCoreSDK transactinFailedWithResponse:errorDescription:tag:] + 347
15 PayUMoneyCoreSDK 0x000000010e5ba31a -[PUMWebVC paymentFailedWithResponse:errorDescription:] + 240
16 PayUMoneyCoreSDK 0x000000010e5b9d06 __71-[PUMWebVC requestVerifyPayment:isPost:body:tag:isAccessTokenRequired:]_block_invoke + 371
17 PayUMoneyCoreSDK 0x000000010e5aed56 __124-[PUMRequestManager hitWebServiceForURLWithPostBlock:isAccessTokenRequired:webServiceURL:withBody:andTag:completionHandler:]_block_invoke + 215
18 CFNetwork 0x0000000112ec8454 __75-[__NSURLSessionLocal taskForClass:request:uploadFile:bodyData:completion:]_block_invoke + 19
19 CFNetwork 0x0000000112ec7cad __49-[__NSCFLocalSessionTask _task_onqueue_didFinish]_block_invoke + 147
20 Foundation 0x000000011204822f NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 7
21 Foundation 0x0000000112048091 -[NSBlockOperation main] + 68
22 Foundation 0x000000011204654e -[__NSOperationInternal _start:] + 778
23 libdispatch.dylib 0x000000011522333d _dispatch_client_callout + 8
24 libdispatch.dylib 0x00000001152289f3 _dispatch_block_invoke_direct + 592
25 libdispatch.dylib 0x000000011522333d _dispatch_client_callout + 8
26 libdispatch.dylib 0x00000001152289f3 _dispatch_block_invoke_direct + 592
27 libdispatch.dylib 0x0000000115228783 dispatch_block_perform + 109
28 Foundation 0x000000011204255c __NSOQSchedule_f + 342
29 libdispatch.dylib 0x000000011522333d _dispatch_client_callout + 8
30 libdispatch.dylib 0x000000011522e5f9 _dispatch_main_queue_callback_4CF + 628
31 CoreFoundation 0x00000001136ace39 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
32 CoreFoundation 0x0000000113671462 __CFRunLoopRun + 2402
33 CoreFoundation 0x0000000113670889 CFRunLoopRunSpecific + 409
34 GraphicsServices 0x0000000116d409c6 GSEventRunModal + 62
35 UIKit 0x000000010fe5a5d6 UIApplicationMain + 159
36 FunBook 0x000000010c3223c7 main + 55
37 libdyld.dylib 0x000000011529fd81 start + 1
38 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
Hi, I integrated the SDK and followed sample app to link to my Swift code, integration was successful and i was able to launch PayU in simulator and iPhone too. But when i tried to upload the same for testflight/app store i am getting errors.
I couldn't find any related issues in payu, how ever found it in some other frameworks but no real fixes.
How can i fix this?
Hello PayUTeam,
I have facing one issue in Swift 4.0 Project.
After present payumoney screen through this method PlugNPlay.presentPaymentViewController merchant details is not loaded in screen and user press back button at that time alert is coming and press yes on that alert screen. PayUMoney screen dismiss successfully but then after received EXC_BAD_ACCESS error.
PlugNPlay.setDisableWallet(false);
PlugNPlay.presentPaymentViewController(withTxnParams: objPayU, on: self?.navigationController){ (dict, error, response) in
print("PayUMoney Response : \(String(describing: response))")
print("PayUMoney Data : \(String(describing: dict) )")
if(error != nil){
print("ERROR PayUMoney : \(String(describing: error?.localizedDescription))")
}else{
if let dictObj = dict!["result"] as? NSDictionary{
}
}
}
Let me know any solution from your side...
I have integrated Payumoney framework in the iOS app.
Every time i present PUMMainVController, log showed
***** -[NSKeyedUnarchiver initForReadingWithData:]: data is NULL**
thus found out data of shared preference / NSUserdefault was lost [ 'null]'.
I searched through the net for the solution and synchronized user defaults where ever required instead relying on automatic synchronization but it didn't work.
App will crash when i click back button before payment method load.
Xcode : Version 11.3.1 (11C504)
iOS : 13,12.4.2
Swift 5.0
Terminating app due to uncaught exception 'NSDecimalNumberOverflowException', reason: 'NSDecimalNumber overflow exception'
*** First throw call stack:
(0x1cf3fe190 0x1ce5d39f8 0x1cf3083b0 0x1cfea5084 0x1cfea4300 0x1cfea42a4 0x1023f88b4 0x1023f0854 0x1023f563c 0x1029476f4 0x102948c78 0x1029566fc 0x1cf38fb30 0x1cf38aa68 0x1cf389fc4 0x1d158b79c 0x1fbd12c38 0x100d469c4 0x1cee4a8e0)
libc++abi.dylib: terminating with uncaught exception of type NSException
Hi ,
I integrated your kit in my application .. With the test key's from back end they genearted the hash key.. this key working properly in android but when come to ios it is showing paymet_realted_details_for_mobile_sdk hash is invalid... can you please help me in this?
After open the bank page. back button taped its getting.
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Application tried to present modally an active controller <UIViewController: 0x7fe473a91c90>.'
*** First throw call stack:
(
0 CoreFoundation 0x000000010e55ce6e __exceptionPreprocess + 350
1 libobjc.A.dylib 0x000000010da459b2 objc_exception_throw + 48
2 UIKitCore 0x000000011530843a -[UIViewController _presentViewController:withAnimationController:completion:] + 5218
3 UIKitCore 0x000000011530a8fa __63-[UIViewController _presentViewController:animated:completion:]_block_invoke + 98
4 UIKitCore 0x000000011530ae03 -[UIViewController _performCoordinatedPresentOrDismiss:animated:] + 511
5 UIKitCore 0x000000011530a858 -[UIViewController _presentViewController:animated:completion:] + 187
6 UIKitCore 0x000000011530aac4 -[UIViewController presentViewController:animated:completion:] + 155
7 PayUMoneyCoreSDK 0x000000010dc93ae7 -[PUMAlertController showAnimated:] + 433
8 PayUCustomBrowser 0x000000010dd6559f __38-[PUCBWebVC shouldRemoveVCOnBackPress]_block_invoke + 52
9 libdispatch.dylib 0x00000001123b0f11 _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00000001123b1e8e _dispatch_client_callout + 8
11 libdispatch.dylib 0x00000001123bfd97 _dispatch_main_queue_callback_4CF + 1149
12 CoreFoundation 0x000000010e4c0869 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
13 CoreFoundation 0x000000010e4bb3b9 __CFRunLoopRun + 2041
14 CoreFoundation 0x000000010e4ba8a4 CFRunLoopRunSpecific + 404
15 GraphicsServices 0x0000000119de5bbe GSEventRunModal + 139
16 UIKitCore 0x00000001159a1968 UIApplicationMain + 1605
17 PayUGateWay 0x000000010d7cb05b main + 75
18 libdyld.dylib 0x000000011243d1fd start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Hi I'm using test key, salt found in sample app and setting type to test and using
{
let hashSequence : NSString = "(params.key!)|(params.txnid!)|(params.amount!)|(params.productinfo!)|(params.firstname!)|(params.email!)|||||||||||(self.salt)" as NSString
let data :NSString = utils.createSHA512(hashSequence as String!) as NSString
params.hashValue = data as String!
startPaymentFlow()
}
to generate hash. But i get hash mismatch error.
the hashSequence is printed like this
40747T|CFS2771911|14373.85|CFSProduct|hemanth|[email protected]|||||||||||eCwWELxi
Am i doing anything wrong?
I'm collecting payment from customer using Pay-U-Money in following way...
PlugNPlay.presentPaymentViewController(withTxnParams: txnParam, on: parentVC) { (response, error, extraParam) in
//code goes here
}
PlugNPlay is sub class of NSObject
Cocoa Pod used:
pod 'PayUmoney_PnP'
So when I present the payment view controller, user can dismiss view controller by dragging down the view controller.
It is by default enabled for every presented view controller > iOS 13 versions
So how can I disable integrative dismissal of view controller?
Yes, I know that I can set modalPresentationStyle property over view controller but in PayUmoney SDK I did't found any UIViewController's sub class.
I'm working on integrating Swift Based SDK implementation in my project, but it is not giving Card validation methods. And even unable to use Swift Based Objects in Objective-C Class even I'm importing like @PayU_coreSDK_Swift;
. It is not giving PayUModelPaymentParams
objects like cardNumber, expiryMonth in Objective-C.
Module compiled with Swift 4.0 cannot be imported in Swift 3.2.3: /Pods/PayUmoney_PnP/PlugNPlay/PlugNPlay.framework/Mo
I have read PayUMoney's docs and integrated the iOS SDK . I just want to know, is that possible to change its appearance ? . i haven't got any other tutorials for customizing. if any one knows please help me . thanks in advance
module compiled with Swift 4.0 cannot be imported in Swift 4.0.2: /Pods/PayUmoney_PnP/PlugNPlay/PlugNPlay.framework/Modules/PlugNPlay.swiftmodule/arm64.swiftmodule
My application does not have as such any encryption / cryptographic function implemented in it. However, we have integrated payUmoney in our app and you might be using any cryptographic functions in the payUmoney framework. So should we be setting <> to NO or YES ??
We are integrating SDK version 3.8.2 but getting error 'Something went wrong with parameters'. Parameters passed as as below.
txnid: LDIST119
key: gtKFFx
amount: 10.00
productinfo: Mobile App - Topup RDS
firstname: Deval
email: [email protected]
phone: 0091-07940022741
surl: http://192.168.0.90/tripntripperdev/pgresponse.aspx
curl: http://192.168.0.90/tripntripperdev/pgresponse.aspx
furl: http://192.168.0.90/tripntripperdev/pgresponse.aspx
udf1: 119-119-404
udf2:
udf3:
udf4:
udf5:
hash: faec94d06ca773e73d53f51af2979287463583ab98e65d37b25582207e55a412f0f65f5b7bf5964acba8d4e198992f2301a7e561279cf25efc4a6f0f48a37e9a
MobileSDKHash: 7da0f4fef5bab0e5034f37f9503bdcbede00cc2cd0cf6cbb4e43baa9d57f05680305885199e2b0d38e8cf12895fd06f4d3dd3fb422535feeb555adc58e2cf3cc
PaymentSDKHash: 110f85b862578214e5c38637762a6fce9c34bd5e2d78bc34a486f0ee2e3e5d0fada221795de4b67952ec2cff6b4d0fe8877506e7a5480bbdbfdf9045521d8523
Even the test app is giving the same error.
Iam trying to integrate PayUMoney Payment gateway in swift. When installing pod 'PayUmoney_PnP', it asks for username and password. then i try to clone the repository but
CitrusGaphics framework is not there , CitrusGaphics folder is showing empty . It's not there in the git too -- https://github.com/citruspay/citruspay-ios-sdk/tree/f69a3c0a6335b78bfade7a6d641b2459e0c40a4e
is it possible to integrate PayUMoney without CitrusGaphics framework?
I have tried with IP address with Port number for Success Url like
But it returns "Surl is invalid" message. Please help me to solve this issue
when i trying to enter expiry date, its not selecting in ios. instead of i can only select CVV number filed.
iOS PayU moeny SDK issue,
pod 'PayUmoney_PnP'
its crashing while payment proceed.
NSScanner: nil string argument
2019-03-26 17:27:00.960657+0530 BASIYN[310:21125] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]'
*** First throw call stack:
(0x19c1bdea4 0x19b38da50 0x19c135384 0x19c0bb870 0x19c1bd580 0x19c0c0118 0x102340398 0x102348698 0x1020194e4 0x102005d90 0x1033cf824 0x1033d0dc8 0x1033dea78 0x19c14dce4 0x19c148bac 0x19c1480e0 0x19e3c1584 0x1c935cc00 0x10042f914 0x19bc06bb4)
libc++abi.dylib: terminating with uncaught exception of type NSException
2019-03-26 17:33:00.877681+0530[310:21208] Task .<1> finished with error - code: -1001
Hello,
transactionCompletedWithResponse method does not call once make a payment successfully.
#pragma mark - Completeion callbacks (METHOD DOES NOT CALL)
-(void)transactionCompletedWithResponse:(NSDictionary*)response
errorDescription:(NSError* )error {
[self dismissViewControllerAnimated:YES completion:nil];
[self showAlertViewWithTitle:@"Message" message:@"congrats! Payment is Successful"];
[self.navigationController popViewControllerAnimated:true];
ProfileVC *vProfile = [[ProfileVC alloc] init];
[self.navigationController pushViewController:vProfile animated:YES];
}
Hello,
I am facing an issue while integrating PayUmoney in iOS application :
Issue
Url used :- https://developer.payumoney.com/ios/#prerequisites
Type used :- pod 'PayUmoney_PnP'
setIndicatorTintColor property doesn't work in swift 4
like PlugNPlay.setIndicatorTintColor(UIColor.red) doesn't do anything.
ame crash occuring in my LIVE Application.
I tried it in demo application , its crashing while payment proceed. Same thing happen in my application.
2019-03-26 16:07:22.994102+0530 PlugNPlayFrameworkExample[16185:177309] Hash output --------- <9288bd23 17fe19d5 85440e04 ce819d1e f5716915 5e4df96f 71fc41b0 50371a97 8d1278c6 e29c295f 60702637 caef55f7 1b4c00fd a1453f54 f8f639bb 59f513c4>
2019-03-26 16:07:23.427141+0530 PlugNPlayFrameworkExample[16185:177309] NSScanner: nil string argument
2019-03-26 16:07:24.262108+0530 PlugNPlayFrameworkExample[16185:177309] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]'
*** First throw call stack:
(
0 CoreFoundation 0x000000010b3751bb __exceptionPreprocess + 331
1 libobjc.A.dylib 0x000000010a913735 objc_exception_throw + 48
2 CoreFoundation 0x000000010b2c14ec _CFThrowFormattedException + 194
3 CoreFoundation 0x000000010b3e4541 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 321
4 CoreFoundation 0x000000010b370c4b __createDictionary + 43
5 CoreFoundation 0x000000010b370bff +[NSDictionary dictionaryWithObject:forKey:] + 47
6 PlugNPlay 0x000000010a0c2630 -[PUMFetchUserDataAPI getSCAndWalletDetails] + 69
7 PlugNPlay 0x000000010a0cb2bf __46-[PnPWalletPayViewController fetchUserDataAPI]_block_invoke + 193
8 PayUMoneyCoreSDK 0x000000010a1a8cbb __56-[PayUMoneyCoreSDK fetchUserDataAPIWithCompletionBlock:]_block_invoke + 308
9 PayUMoneyCoreSDK 0x000000010a1952cb __136-[PUMRequestManager hitWebServiceForURLWithPostBlock:isAccessTokenRequired:webServiceURL:urlCategory:withBody:andTag:completionHandler:]_block_invoke_2 + 159
10 libdispatch.dylib 0x000000010e290595 _dispatch_call_block_and_release + 12
11 libdispatch.dylib 0x000000010e291602 _dispatch_client_callout + 8
12 libdispatch.dylib 0x000000010e29e99a _dispatch_main_queue_callback_4CF + 1541
13 CoreFoundation 0x000000010b2da3e9 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
14 CoreFoundation 0x000000010b2d4a76 __CFRunLoopRun + 2342
15 CoreFoundation 0x000000010b2d3e11 CFRunLoopRunSpecific + 625
16 GraphicsServices 0x0000000112d991dd GSEventRunModal + 62
17 UIKitCore 0x0000000110cec81d UIApplicationMain + 140
18 PlugNPlayFrameworkExample 0x0000000109dbf2a0 main + 112
19 libdyld.dylib 0x000000010e307575 start + 1
20 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
I am using surl like http://mybackned.org:5000/api/v1/Payment/callback?orderId=3e583e2b6ad24c7
but it's not working if I use -, : or ? across url.
Same URL is working fine in Android.
Integration[10208:326633] -[NSURL init] called; this results in an NSURL instance with an empty URL string. Please use one of the documented NSURL initialization methods instead (initWithString:, initFileURLWithPath:, etc.). This message shown only once.
I am using iOS PnP SDK.
Test account credentials are used to test the payment.
Once the payment got success I got the below screenshot having a Continue Shopping button
This button gets redirect to the viewcontroller page where the payment started while taps.
So I want to change the Continue Shopping button title now.
How can I change this?
I have customized the color also.
But when I tap on paynow button again I got the below screen with its on default color.
Same crash occuring in my LIVE Application.
I tried it in demo application , its crashing while payment proceed. Same thing happen in my application.
2019-03-26 16:07:22.994102+0530 PlugNPlayFrameworkExample[16185:177309] Hash output --------- <9288bd23 17fe19d5 85440e04 ce819d1e f5716915 5e4df96f 71fc41b0 50371a97 8d1278c6 e29c295f 60702637 caef55f7 1b4c00fd a1453f54 f8f639bb 59f513c4>
2019-03-26 16:07:23.427141+0530 PlugNPlayFrameworkExample[16185:177309] NSScanner: nil string argument
2019-03-26 16:07:24.262108+0530 PlugNPlayFrameworkExample[16185:177309] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]'
*** First throw call stack:
(
0 CoreFoundation 0x000000010b3751bb __exceptionPreprocess + 331
1 libobjc.A.dylib 0x000000010a913735 objc_exception_throw + 48
2 CoreFoundation 0x000000010b2c14ec _CFThrowFormattedException + 194
3 CoreFoundation 0x000000010b3e4541 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 321
4 CoreFoundation 0x000000010b370c4b __createDictionary + 43
5 CoreFoundation 0x000000010b370bff +[NSDictionary dictionaryWithObject:forKey:] + 47
6 PlugNPlay 0x000000010a0c2630 -[PUMFetchUserDataAPI getSCAndWalletDetails] + 69
7 PlugNPlay 0x000000010a0cb2bf __46-[PnPWalletPayViewController fetchUserDataAPI]_block_invoke + 193
8 PayUMoneyCoreSDK 0x000000010a1a8cbb __56-[PayUMoneyCoreSDK fetchUserDataAPIWithCompletionBlock:]_block_invoke + 308
9 PayUMoneyCoreSDK 0x000000010a1952cb __136-[PUMRequestManager hitWebServiceForURLWithPostBlock:isAccessTokenRequired:webServiceURL:urlCategory:withBody:andTag:completionHandler:]_block_invoke_2 + 159
10 libdispatch.dylib 0x000000010e290595 _dispatch_call_block_and_release + 12
11 libdispatch.dylib 0x000000010e291602 _dispatch_client_callout + 8
12 libdispatch.dylib 0x000000010e29e99a _dispatch_main_queue_callback_4CF + 1541
13 CoreFoundation 0x000000010b2da3e9 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
14 CoreFoundation 0x000000010b2d4a76 __CFRunLoopRun + 2342
15 CoreFoundation 0x000000010b2d3e11 CFRunLoopRunSpecific + 625
16 GraphicsServices 0x0000000112d991dd GSEventRunModal + 62
17 UIKitCore 0x0000000110cec81d UIApplicationMain + 140
18 PlugNPlayFrameworkExample 0x0000000109dbf2a0 main + 112
19 libdyld.dylib 0x000000010e307575 start + 1
20 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Hi,
we are getting 404 Error after bank/card details enter and click pay.
before showing success transaction message.
But we are doing success transaction client to merchant and receiving success response.
Every thing working fine.
We have implemented the swift version of iOS SDK, but at in the PayU screen it is giving error of 'Key is not valid'.
We are passing the test environment key which we have used for Android SDK. In Android it is working proper.
Key passed for testing is 'gtKFFx'
In case any one has idea about this error, please let us know.
Hello,
Payment Mode in:
Netbanking (NB)
Debit Card(DC)
Credit Card(CC)
With latest version in your pod below lines are not working.. Why?
[PlugNPlay setDisableCards:NO];
[PlugNPlay setDisableNetbanking:NO];
[PlugNPlay setDisableWallet:YES];
Please Add Swift version of PayUMoney APp.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.