Needs work
Project:
Pay
Version:
6.x-1.0-alpha6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Mar 2011 at 14:31 UTC
Updated:
13 Apr 2011 at 15:53 UTC
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: