Setting up a Payment Gateway

Could anyone please tell me:

  • Can you use Wix Code to set up a payment gateway?
    If so:
  • Is it possible to link it to a Database Collection & a Custom Form to create and pay for an order?
  • Is it possible to create an order breakdown? I’m thinking to install a ‘Calculate’ button on the Form which takes a customer to the order breakdown showing the components of the order with the costs of each and a total cost. I need to know how to do this (in layman’s language!)
  • I’d like to install a ‘Proceed to Payment’ button on the ‘Calculate’ page. Is this doable?
  • Is there a ‘how to’ video or information page?

Many thanks.