Hello,
How can i integrate payment system in WordPress as a backend.
You do that by writing your own WordPress plugin which does transactions using the Square API to collect payment. You then have to work out how to record the sale appropriately in your own system.
While the API is simple enough to use, it’s probably not for beginners, and I guess the same could be said about WordPress plugins.
For example. I’ve developed a WordPress plugin that interoperates with my cinema system to sell cinema tickets live. it’s been running for some time now, maybe something like 2 years, and seems to work pretty solidly. The cinema in question also uses a Square Terminal as well to sell live tickets to walkin customers, as opposed to selling tickets over the web.
If you’re using WooCommerce, there’s already a square driver that you can just load onto your site and use. I haven’t checked it out yet but believe it’s in fairly constant use.
The other option might be to use one of Square’s online methods of giving people a URL for checkout which manages the sale through themselves, with them providing the webpages. I don’t know how this works as I haven’t used it myself, but one of Square’s helpful people on here might be able to comment on that options in a little more detail? I suggest it because it’s probably less code.
Yes
I have created custom plugin but now i found this error
can you check this?
[23-May-2022 13:42:16 UTC] PHP Fatal error: Uncaught Error: Interface ‘Square\ConfigurationInterface’ not found in D:\xampp\htdocs\racing-emporium-wp-api\wp-content\plugins\racing-emporium\includes\vendor\square\square\src\SquareClient.php:12
Stack trace:
What’s your application doing when getting this error? Are there any details in the error message? Also it looks like the stack trace wasn’t included?
I have implement square payment from receive payment from Application side
So i have started implement but i found this error
[24-May-2022 09:47:47 UTC] PHP Fatal error: Uncaught Error: Interface ‘Square\ConfigurationInterface’ not found in D:\xampp\htdocs\racing-emporium-wp-api\wp-content\plugins\racing-emporium\includes\vendor\square\square\src\SquareClient.php:12
I believe this error is happening cause the client isn’t found which has the configurations in it. Is your client correctly configured?