Accessing Backend Files with HTML

Hey Guys,

I know you can’t use PHP with wix code but if you place a php file in the backend can you access it from the HTML component?
I’m asking because I would like to use Square as my payment processor, but you cannot do this strickly with HTML. I realize Wix supports Square in conjunction with the Wix Store App, but I can’t use the App for what I am doing. Subsequently, I can only use the Square Payment or Checkout API.
Any and all input would be greatly appreciated. Thanks!

Square Checkout API: https://docs.connect.squareup.com/payments/sqpaymentform/sqpaymentform-setup

Wix Code does not support PHP. Not in the frontend code (client side), and not in the backend (server side). Only Wix Code (Javascript) is supported.

You might be able to adapt the Stripe Payment example for your use.

Dang. Appreciate the response Yisreal!