Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
WC_Payment_Gateway
process_payment
WC_Payment_Gateway::process_payment PHP Method
WC_Payment_Gateway Class Documentation
Datei anzeigen
Open project: woocommerce/woocommerce
process_payment()
public
method
Process the payment. Override this in your gateway. When implemented, this should. return the success and redirect in an array. e.g: return array( 'result' => 'success', 'redirect' => $this->get_return_url( $order ) );
public
process_payment
(
integer
$order_id
) :
array
$order_id
integer
return
array
public function process_payment($order_id) { return array(); }
WC_Payment_Gateway
admin_options
credit_card_form
get_description
get_icon
get_method_description
get_method_title
get_new_payment_method_option_html
get_order_total
get_return_url
get_saved_payment_method_option_html
get_title
get_tokens
get_transaction_url
has_fields
init_settings
is_available
payment_fields
process_payment
process_refund
save_payment_method_checkbox
saved_payment_methods
set_current
supports
tokenization_script
validate_fields