Seeing some weird behavior with the WixPay frontend library, specifically when connecting to PayPal. What’s happening is that when I select PayPal as my payment method, I get redirected to a 2nd modal window for PayPal authentication. If I click outside of that modal, both the PayPal window and the WixPay windows close, and the “wixPay.startPayment” method returns a payment result of “pending”. In any other scenario (i.e regular credit card), when I click outside of the payment modal, the method returns a response of “cancelled”, which is what I would expect.
Any ideas on how to handle this? It’s not a major issue, but does cause confusion, because our frontend handles a status of pending much differently than a status of cancelled in terms of how we redirect and notify.
Thanks for the feedback. I’ve submitted a bug report to Velo Feedback in the editor. I’m not 100% sure it’s an actual bug or intended behavior that I need to account for. How can I track if there is any movement on the submission?