LLMS_Payment_Gateway_Manual::handle_payment_source_switch( obj $order, array $form_data = array() )
Called when the Update Payment Method form is submitted from a single order view on the student dashboard
Description Description
Gateways should do whatever the gateway needs to do to validate the new payment method and save it to the order so that future payments on the order will use this new source
Parameters Parameters
- $order
-
(Required) Instance of the LLMS_Order
- $form_data
-
(Optional) Additional data passed from the submitted form (EG $_POST)
Default value: array()
Return Return
(void)
Source Source
File: includes/class.llms.gateway.manual.php
Changelog Changelog
Version | Description |
---|---|
3.10.0 | Introduced. |