This is a migrated thread and some comments may be shown as answers.

PhoneApplicationFrame not working with PayPal SDK

1 Answer 29 Views
PhoneApplicationFrame
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
KI performance
Top achievements
Rank 1
KI performance asked on 19 Aug 2013, 10:19 AM
Hi,

I investigated an issue with the RadPhoneApplicationFrame in combination with the PayPal SDK
When I try to perform a transaction with the PayPal SDK, the NavigationFailed event by the root frame gets fired with the following exception:

{System.NullReferenceException: Object reference not set to an instance of an object.
   at PayPal.Phone.WebFlow.NavigationStopped_Handler(Object sender, NavigationEventArgs e)
   at System.Windows.Navigation.NavigationService.RaiseNavigationStopped(Object content, Uri uri, NavigationMode mode)
   at System.Windows.Navigation.NavigationService.Navigate(Uri source)}

Works fine if I turn the RadPhoneApplicationFrame back into a PhoneApplicationFrame though. 

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Todor
Telerik team
answered on 22 Aug 2013, 08:50 AM
Hello Sascha,

Thank you for writing.

It seems like the issue happens on the PayPal side, when the navigation is canceled by the RadPhoneApplicationFrame. By default, we cancel the navigation in order to wait for the end of the exit transition and then perform a new navigation which seems to be the cause for the issue. You can use the RadPhoneApplicationFrame's HoldNavigationUntilExitTransitionIsFinished property and set it to false. This way the navigation will not be canceled and you shouldn't have this issue.

I hope this information helps.
 
Regards,
Todor
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
PhoneApplicationFrame
Asked by
KI performance
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or