Sunnysideup\Ecommerce\Model\Money\EcommercePayment::processPayment
Perform payment processing for the type of payment. For example, if this was a credit card payment type, you would perform the data send off to the payment gateway on this function for your payment subclass.
* This function can be called from either an OrderForm (standard checkout) or OrderFormPayment (order confirmation page, eg first payment failed)
Signature
public function processPayment(array
$data,
Form
$form )
Parameters
$data
— array- The form request data - see OrderForm
$form
— SilverStripe\Forms\Form- The form object submitted on