@@ -134,7 +134,6 @@ discard block |
||
134 | 134 | * process_subscription_payment function. |
135 | 135 | * @param mixed $order |
136 | 136 | * @param int $amount (default: 0) |
137 | - * @param string $stripe_token (default: '') |
|
138 | 137 | * @param bool initial_payment |
139 | 138 | */ |
140 | 139 | public function process_subscription_payment( $order = '', $amount = 0 ) { |
@@ -179,7 +178,6 @@ discard block |
||
179 | 178 | * @todo refactor to avoid DRY. |
180 | 179 | * @param mixed $order |
181 | 180 | * @param int $amount (default: 0) |
182 | - * @param string $stripe_token (default: '') |
|
183 | 181 | * @param bool initial_payment |
184 | 182 | */ |
185 | 183 | public function retry_subscription_payment( $order = '', $amount = 0 ) { |
@@ -232,7 +230,7 @@ discard block |
||
232 | 230 | |
233 | 231 | /** |
234 | 232 | * Don't transfer Stripe fee/ID meta to renewal orders. |
235 | - * @param int $resubscribe_order The order created for the customer to resubscribe to the old expired/cancelled subscription |
|
233 | + * @param integer $renewal_order |
|
236 | 234 | */ |
237 | 235 | public function delete_renewal_meta( $renewal_order ) { |
238 | 236 | delete_post_meta( ( WC_Stripe_Helper::is_pre_30() ? $renewal_order->id : $renewal_order->get_id() ), 'Stripe Fee' ); |
@@ -474,6 +472,8 @@ discard block |
||
474 | 472 | /** |
475 | 473 | * Process the pre-order |
476 | 474 | * @param int $order_id |
475 | + * @param boolean $retry |
|
476 | + * @param boolean $force_save_source |
|
477 | 477 | * @return array |
478 | 478 | */ |
479 | 479 | public function process_pre_order( $order_id, $retry, $force_save_source ) { |