\UserDefinedFormWithPayPal_Controller
Controller for the {@link UserDefinedFormWithPayPal} page type.
Synopsis
class UserDefinedFormWithPayPal_Controller
extends UserDefinedForm_Controller
{
- // members
- protected SubmittedForm $mostLikeLySubmission = NULL;
- // methods
- public Redirection process()
- public void getnotification()
- public ViewableData finished()
- public ViewableData paymentmade()
- protected void getSubmittedFormValue()
- protected String getCustomCode()
Hierarchy
Extends
- UserDefinedForm_Controller
Members
protected
- $mostLikeLySubmission — SubmittedForm
Methods
protected
- getCustomCode() — returns the unique identifier for the transaction we include the page ID and Version in case we need it.
- getSubmittedFormValue() — Checks for a list of fields in the submitted values to see if it is part of the submitted form e.g. if the user enters an Email in the form then we can pass this on to Paypal.
public
- finished() — This action handles rendering the "finished" message, which is customisable by editing the ReceivedFormSubmission.ss template.
- getnotification() — Handle notification from PAYPAL to be completed.
- paymentmade() — This is the new finished method;
- process() — Process the form that is submitted through the site