Problem/Motivation
Many sites have some sort of "Invoice" payment method, that maybe generates a PDF or so or also possibly doesn't do anything at all. The order won't be paid yet, but the customer needs to be able to "finish" the checkout.
Right now, if you define an empty payment gateway plugin that implements neither onsite nor offsite payment then you can select that but you are stuck on the PaymentProcess pane, which doesn't know how to handle this.
Proposed resolution
As a quickfix, I just added an else that continues to the next page, but not sure how something like a PDF-generating/mail-sending gateway would work then.
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #2
berdirCan make a PR, just uploading this as a patch for now so I can apply it.
Comment #3
sumanthkumarc commented@berdir, this https://www.drupal.org/node/2831952 can be used for printing an order invoice and issue has instructions for attaching order details pdf to an email.
Comment #4
bojanz commented#2 won't hurt, so I'll commit it.
Comment #6
bojanz commentedThanks!