Sunnysideup\Ecommerce\Forms\Validation\EcommercePaymentFormSetupAndValidation::validatePayment
Signature
Parameters
$order
— object- - the order that is being paid
$data
— array- - Array of data that is submittted
$form
— object- - the form that is being submitted
Returns
- bool
- - true if the data is valid