简体   繁体   English

当我从iOS 10中的BrainTree付款页面点击Paypal时打开空白页面

[英]Blank page open when I tap on Paypal from BrainTree payment page in iOS 10

I have integrated BRAINTREE SDK into my app. 我已将BRAINTREE SDK集成到我的应用程序中。 Also I have following all the steps of PayPal/Client-Side Implementation . 另外,我还遵循了PayPal /客户端实施的所有步骤。

It is working perfectly in iOS 9. But PAYPAL functionality is not working in iOS 10 only. 它在iOS 9中可以完美运行。但是,PAYPAL功能仅在iOS 10中不能使用。 When I tap on the PAYPAL button from the below 1st screen, blank page has been opened as shown in below 2nd image. 当我从下面的第一个屏幕上点击“付款”按钮时,空白页面已打开,如下图第二个图像所示。

在此处输入图片说明

在此处输入图片说明

But when I want to pay with PAYPAL in iOS 9, then it is redirecting following page same as below image, but not working in iOS 10 Devices. 但是,当我想在iOS 9中使用PAYPAL付款时,它会重定向与下图相同的下一页,但在iOS 10设备中不起作用。

在此处输入图片说明

I am not sure why this happens for iOS 10 only. 我不确定为什么仅在iOS 10上会发生这种情况。

Also I have added this issue on GitHub . 另外,我还在GitHub上添加了此问题

Any help would be appreciated. 任何帮助,将不胜感激。

Finally, got the solution. 最后,找到解决方案。 It happens due to UITabBarController which is implemented into my app. 它的发生是由于UITabBarController已实现到我的应用程序中。

So earlier I was presenting payment screeen (BTDropInViewController) same as below :- 因此,较早前,我介绍了与以下相同的付款屏幕(BTDropInViewController):

[self presentViewController:navigationController animated:YES completion:nil];

So Now I am using this instead of above line, 所以现在我用它代替上面的线,

[APPDELEGATE.navigationController presentViewController:navigationController animated:YES completion:nil];

//#define APPDELEGATE ((AppDelegate *)[[UIApplication sharedApplication] delegate]) //Global object of AppDelegate
//@property (strong, nonatomic) UINavigationController *navigationController; //which is declared into AppDelegate.h

Hope, this is what you're looking for. 希望这就是您要寻找的。 Any concern get back to me. 如有任何疑问,请联系我。 :) :)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 通过Braintree PayPal付款始终无法通过iOS - Payment via Braintree PayPal always fails iOS 在Swift iOS 10上使用Facebook登录时浏览器页面空白 - Blank browser page when using Facebook login on swift ios 10 InAppBrowser在iOs 10上打开空白页 - InAppBrowser opens a blank page on iOs 10 从iOS应用程序打开PayPal应用程序并开始付款交易 - Open PayPal app from iOS app and start payment transaction IOS10 Firebase 动态链接显示带有打开按钮的空白页面。 但为什么? - IOS10 Firebase Dynamic Link Show a Blank Page with Open Button. But Why? 当我添加Cookie进行请求时,iOS UIWebView的页面为空白 - iOS UIWebView has a blank page when I add cookies to request 从 XCode 构建时的离子电容器(角)空白页 ios - Ionic Capacitor (Angular) blank page ios when building from XCode IOS PayPal:如何允许用户在PayPal的付款页面上输入任何金额 - IOS PayPal: How to allow user to Enter any amount on payment page of PayPal 获得权限后的Facebook登录让Safari空白页打开,而不是重定向到iOS 10和iOS 11中的我的应用程序 - Facebook login after get permissions let Safari blank page open instead of redirect to my app in iOS 10 and iOS 11 当我在Xamarin iOS中添加点按缩放视图(图像)功能时,整个页面的Scrollview无法正常工作 - Scrollview of whole page is not working when I added Tap to zoom view(Image) functionality in xamarin iOS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM