createPayment results undefined

I am having a problem in the WIX editor. When testing the Wix.createpayment, the results.status is always “undefined”. No problem in the production environment. But I am concerned about publishing any changes… Will this issue impact production system with wix payments?? Anyone else having this issue?