[ad_1]
Hi,
Thanks for the detailed message.
1. The payment framework of Vik Booking was coded with the exact intent of making it extendable through custom and native WordPress plugins that simply declare the proper hooks which will be triggered by Vik Booking. In our official website you can find the technical documentation that shows how to create a custom payment plugin for Vik Booking. Such payment plugin will not be compatible with any other WordPress plugin except for ours (Vik Booking, Vik Rent Car, Vik Rent Items, Vik Appointments, Vik Restaurants etc..). This means that no Square integration for WooCommerce or other WordPress plugins would work with Vik Booking as we have developed our own payment framework.
Just for your information, we do have a commercial add-on for Square which was obviously developed by our company. You can find it in the Payments section on our website. That’s a plugin that works with Vik Booking and all our Vik plugins. It is what you should code on your own if you wanted to be able to process and collect payments through Square.
Please notice that payment plugins will run only in the front-end section of your website, when guests visit their booking details page, and a payable amount is due. It would not be possible to display the interface of a payment method in the admin section of your website. Only refunds could be implemented in the payment plugins for Vik Booking, and these would work also for manual refund transactions via admin (back-end).
2. You should not rely on Zapier to handle the payment process, as that’s a feature that requires a specific payment plugin to be available. However, the Pro (commercial) version of Vik Booking comes with a pre-installed Cron Job called “Webhook Notification”, which relies on the WordPress WP-Cron core framework.
Thanks to this Cron Job, you could post JSON data to any remote URL, trigger custom hooks or run custom PHP code. This is how you could interface Vik Booking with Zapier, but as we said, this integration should not really be used to handle payments.
We hope this helps!
The VikWP Team
