Hello!
https://support.wix.com/en/article/corvid-tutorial-processing-payments
I implemented the wix Pay api in my website with this tutorial but things weren’t working as desired, so I opened the chrome developer tools and saw that, in the JavaScript of my page, the then method of startPayment is triggering right after the form opens, and it’s set to undefined, so it throws an error, because you can’t have result.status if result is undefined.
The tutorial insted says that the .then ia triggered when the user completes the form, which is not happening to me in my page.
Anything to help would be so much appreciated!
Thanks