Debug for plugin payment

Question:
Debug for plugin payment

Product:
Wix Studio Editor

What are you trying to achieve:
I’m creating a payment plugin and I would want to know how to debug it.

What have you already tried:

  • console.log doesn’t work in browser console
  • nothing in Wix logs
  • wix dev console shows a message saying “You’ve reached the end of the checkout preview. To see what the checkout process looks like, go to your published site.” when I click on Checkout (!!)

Thank you for your help !!