Sunnysideup\Ecommerce\Forms\Validation\EcommercePaymentFormSetupAndValidation::processPaymentFormAndReturnNextStep
Process payment form and return next step in the payment process.
Steps taken are: 1. create new payment 2. save form into payment 3. return payment result.
Signature
Parameters
$order
— Sunnysideup\Ecommerce\Model\Order- - the order that is being paid
$data
— array- - Array of data that is submittted
$form
— SilverStripe\Forms\Form- - the form that is being submitted
Returns
- bool
- - if successful, this method will return TRUE