yf_shop__order_validate_do_payment user module| File | plugins/shop/modules/shop/yf_shop__order_validate_do_payment.class.php |
|---|---|
| Use | module('shop__order_validate_do_payment'), URL ?object=shop__order_validate_do_payment |
| Property | Default | Description |
|---|---|---|
| None declared in this class. | ||
None without a leading underscore.
_ hooks and helpers; not routable as page actionspublic 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');
}
}