関数
Points::usePoints()
Apply points and return $_SESSION['usces_entry']['order']
戻り値 戻り値
ファイル: src/API/Points.php
public function usePoints() { global $usces; $error_message = $usces->point_check($usces->cart->get_entry()); if (!empty($error_message)) { return ['error' => $error_message]; } (new Fees())->setFees(); return (new WelcartEntries())->getOrder(); }