| @@ -13,8 +13,9 @@ | ||
| 13 | 13 | * The payments submodule calls this function. |
| 14 | 14 | * This function exists so payments can be refunded when Authorize.Net is active. |
| 15 | 15 | * |
| 16 | 16 | * @param int $payment_id |
| 17 | + * | |
| 17 | 18 | * @return bool |
| 18 | 19 | */ |
| 19 | 20 | public static function refund_payment( $payment_id ) { |
| 20 | 21 | if ( ! class_exists( 'FrmStrpLiteConnectApiAdapter' ) ) { |
| @@ -27,8 +28,9 @@ | ||
| 27 | 28 | * The payments submodule calls this function. |
| 28 | 29 | * This function exists so subscriptions can be cancelled when Authorize.Net is active. |
| 29 | 30 | * |
| 30 | 31 | * @param string $sub_id |
| 32 | + * | |
| 31 | 33 | * @return bool |
| 32 | 34 | */ |
| 33 | 35 | public static function cancel_subscription( $sub_id ) { |
| 34 | 36 | if ( ! class_exists( 'FrmStrpLiteConnectApiAdapter' ) ) { |