Plugin Build - Payment Gateway

I am busy building a PayGate plugin.

I have managed to get quite far, but I am stuck with trying to do the Javascript side of the plugin where the “action” happens.

The PayGate API docs give PHP examples in their documentation, so I think it would really be a case of translating that into Javascript functions.

Below are links to:

  1. API docs for the PayGate (all examples are in PHP)
  2. Postman link
  3. GitHub examples in various programming languages

I have included a screencast of how I currently have the API working using workflows, but I need this all to work inside the plugin. I have also already created all the necessary fields which can be quite time consuming if building from scratch.


Many thanks

btw which endpoints you want to implement?