I assume this should be possible, but it wasn't obvious how you might add pay form items to a completely custom form?
Are there any docs or examples around on this subject.
I assume this should be possible, but it wasn't obvious how you might add pay form items to a completely custom form?
Are there any docs or examples around on this subject.
Comments
Comment #1
allie mickaThere's some documentation in the source code of pay.module, but I don't think that anyone has added it somewhere responsible, such as a handbook page (do i hear a volunteer?)
The code that generates a payment form "from scratch" is located in pay.module:pay_form().
If adding pay-ness to a form of your own, you'd minimally implement the following 2 lines of code: