Giter VIP home page Giter VIP logo

payumoney-ios-sdk's Introduction

THIS IS AN UNMAINTAINED REPOSITORY AND SUPPORT FOR THE SAME IS DEPRECATED. Please connect with PayU's mobile support team here - [email protected]

payumoney-ios-sdk's People

Contributors

honey-lakhani avatar rajvinderpayu avatar shubhgar avatar viswashsingh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

payumoney-ios-sdk's Issues

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber compare:]: nil argument'

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

iOS SDK NSUserDefault issue

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?

Swift 3, Not redirecting back to our app post payment success/failure.

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.

Is Swift 3 documentation or sample code or sample app available?

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?

PayU Saved Cards Error

The following steps produces a "Some error occur!" alert:

  1. Login to PayU Money from SDK
  2. Select Saved Cards
  3. Select a saved card (in my case I've used the test creditcard provided by PayU Money)
  4. The cell with the Card number is highlighted
  5. After 10-15 seconds, it throws an error that says "Some error oocur"

Any workaround possible to get this to work?
I'm using the Objective-C version!

Crash issue in payment screen

Hello PayUTeam,

The app is crashing when I click the back button on the payment screen.

Please find the attached file for the crashing screen.
Simulator Screen Shot - iPhone 8 - 2020-11-24 at 10 54 11

Please help me with this.

** Terminating app due to uncaught exception 'NSObjectNotAvailableException', reason: 'UIAlertView is deprecated and unavailable for UIScene based applications, please use UIAlertController!'

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

Random crash in payUMoney SDK

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)

iOS Build for testflight using test credentials

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.
screen shot 2017-02-08 at 11 40 09 pm
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?

App crash while press back button before load merchant details ? (Swift 4.0)

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...

[NSKeyedUnarchiver initForReadingWithData:]: data is NULL PayUMoney IOS

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

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

paymet_realted_details_for_mobile_sdk hash is invalid..

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?

Swift 5 and ios 13.6 getting Error.

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

Hash mismatch error

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?

Prevent interactive dismissal of Payment View Controller(PlugNPlay SDK) in iOS 13 and above

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.

is that possible to change its appearance ?

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

Do we need to set ITSAppUsesNonExemptEncryption to false?

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 ??

SDK Version 3.8.2 - Getting Error 'Something went wrong with parameters'

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.

CitrusGraphics Framework not found in PayUMoney IOS SDK

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?

Expiry Date i can't enter

when i trying to enter expiry date, its not selecting in ios. instead of i can only select CVV number filed.

PayU Moeny iOS SDK issue

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

Success Delegate does not call.

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];

}

iOS App is Crashing when moving back immediately from PayUmoney landing page.

Hello,
I am facing an issue while integrating PayUmoney in iOS application :
Issue

  1. Being on PayUmoney screen if we press back button the dialogue get appear & when the yes option is tapped, the application gets crashed. It is a fast process in which the data doesn't get loads in the background, the application get crashed meanwhile the loader appears on the previous screen.
  2. Response is coming slow due to which loader is not visible on payUmoney screen in ios application.

Url used :- https://developer.payumoney.com/ios/#prerequisites
Type used :- pod 'PayUmoney_PnP'

PayU SDK Crashing .. Same Crash in Sample Application. Please have a look this.

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

Unable to find saved cards

Saved cards are not there on checkout page in iOS but on website I can see that saved cards are there , but not working in mobile.
Screen Shot 2020-06-26 at 3 14 25 PM
Screen Shot 2020-06-26 at 3 14 40 PM

Need to change Continue Shopping button title

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
simulator screen shot - iphone 6 plus - 2018-03-12 at 18 00 22

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.
simulator screen shot - iphone 6 plus - 2018-03-13 at 11 59 48

But when I tap on paynow button again I got the below screen with its on default color.

simulator screen shot - iphone 6 plus - 2018-03-12 at 18 00 22

Paynow button is not working

Please fine the attachment i am not able to click on the pay now button why ? i am using credit/Debit card part

screen shot 2017-07-08 at 1 51 43 pm

Hash mismatch: iOS 13 xcode 11

Hi,
I am getting error hash mismatch in iOS 13 while doing payment, its working properly in iOS 12.
i also attached screenshot, please check the issue.
Error_ScreenShot

PayU Crashing on payment..

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

Screenshot 2019-03-26 at 4 11 36 PM

Getting Error of 'Key is not valid' for SWIFT version of iOS SDK

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.
simulator screen shot may 25 2017 3 15 15 pm

Latest pod version Payment Mode via NB,CC, DC not working

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];

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.