PhoneApplicationFrame not working with PayPal SDK

2 posts, 1 answers
  1. KI performance
    KI performance avatar
    13 posts
    Member since:
    Jun 2013

    Posted 19 Aug 2013 Link to this post

    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
  2. Answer
    Todor
    Admin
    Todor avatar
    778 posts

    Posted 22 Aug 2013 Link to this post

    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.
  3. DevCraft banner
Back to Top