I want to develop a Payment Gateway for Drupal Commerce 8. But I don't really understand the difference between a Payment Gateway and a Payment Method. What are the differences? What belongs where and is there any payment module available to see a good example?
I built a form table. Each row has a delete button. In the last row of the table there's an add button. Although the buttons are almost identical, the add button works with ajax, the others don't.