yf_shop__order_validate_do_payment user module

Fileplugins/shop/modules/shop/yf_shop__order_validate_do_payment.class.php
Usemodule('shop__order_validate_do_payment'), URL ?object=shop__order_validate_do_payment

Public properties

PropertyDefaultDescription
None declared in this class.

Public methods 1

None without a leading underscore.

Methods starting with _ hooks and helpers; not routable as page actions

public function _order_validate_do_payment()

Order validation.

    public function _order_validate_do_payment()
    {
        module('shop')->_order_validate_select_payment();
        if (empty($_POST['order_id'])) {
            _re('Missing order ID');
        }
        if (empty($_POST['total_sum'])) {
            _re('Missing total sum');
        }
    }