Implementing a custome payment provider

Hello,

I am trying to implement a custom payment provider for my Wix site.

I have followed the docs and implemented the connect and createTrasanction functions and I have tested the create transaction function with test data on the editor and it performs as expected.

I have also connected to my custom payment provider and it is now available on the checkout page.

the issue I am facing is after I choose my payment method and click the place order button I keep getting this error.

Screenshot from 2024-06-20 19-01-48

the worst part is that I cant even see the debug console logs I have included on the create transaction functions are not even being logged.

is there a way to see what is causing the above error if the create transaction is not being called how can I make sure that after customers choose my payment method and place orders the function will be called.

thank you for any help

1 Like

Have you upgraded your website to a Wix premium plan that allows payments?

yes, I have a premium plan. I can connect and use other online payments as well.

the issue is with my custom provider