1. Home
  2. Jobster
  3. Payment Gateways API
  4. taketogateway_function()


This function is hooked to the wpjobster_taketo_sample_gateway action, which is called when your gateway is used as payment method on the purchase page.

Usually here you create a form with all the info that you have about the merchant, order and user.
In our example the form is hidden and automatically submitted. It also has a spinning loader as a placeholder until the user is redirected to the gateway with all the necessary info.