Closed joeynelson42 closed 6 years ago
I have the same problem when trying to call processPaymentUsingUI within a swift file.
I'm not able to reproduce the same behavior in my Swift sample app so a couple of questions:
I think #3 might be our issue, we have a somewhat complex UI structure. I'll let you know how things go! Thanks!
So before I had a tab bar hidden in my app and even when not hiding it I am getting the same problem. Is there any way you could send me your swift sample app? Whenever a signature is required it shows the signature view with the modal already on top of it and you can't navigate anywhere with it.
Also this only happens when a signature is required could I be missing another element for that?
As long as the SDK UI is being presented from the top view of your hierarchy, with nothing else in the way, it should be fine. I can share my very simple sample, sure, but I need to clean it up first because there's a done of random commented code. I'll see if I can get some time to do that today sometime.
@jnwagstaff attached is a zip of my very simple sample app. It was an app put together through an online Swift course and not all of the functionality of the app itself works (the pictures don't xfer in the segue because I broke it somehow) but the PayPal Here portion definitely works just fine. Also, don't make fun of my coding skills - I'm a rookie yet. :)
The merchant loads on the first page, invoice is created when the second page loads, and you click the Buy Now link at the bottom of the second page to activate the reader to show payment options.
Thanks so much! I was able to solve my problem
Thanks for the update @jnwagstaff.
@joeynelson42 were you able to get your UI all configured correctly?
I did! Thanks @ppmtscory!
When using processPaymentUsingUI a transaction with a chip reader in swift, the next screen that shows up is frozen and doesn't allow me to do anything. I am returning the correct navigation controller and everything. Is there a solution for this?