@@ -103,7 +103,6 @@ discard block |
||
| 103 | 103 | * process_subscription_payment function. |
| 104 | 104 | * @param mixed $order |
| 105 | 105 | * @param int $amount (default: 0) |
| 106 | - * @param string $stripe_token (default: '') |
|
| 107 | 106 | * @param bool initial_payment |
| 108 | 107 | */ |
| 109 | 108 | public function process_subscription_payment( $order = '', $amount = 0 ) { |
@@ -160,6 +159,8 @@ discard block |
||
| 160 | 159 | /** |
| 161 | 160 | * Process the pre-order |
| 162 | 161 | * @param int $order_id |
| 162 | + * @param boolean $retry |
|
| 163 | + * @param boolean $force_customer |
|
| 163 | 164 | * @return array |
| 164 | 165 | */ |
| 165 | 166 | public function process_pre_order( $order_id, $retry, $force_customer ) { |
@@ -256,7 +257,7 @@ discard block |
||
| 256 | 257 | |
| 257 | 258 | /** |
| 258 | 259 | * Don't transfer Stripe fee/ID meta to renewal orders. |
| 259 | - * @param int $resubscribe_order The order created for the customer to resubscribe to the old expired/cancelled subscription |
|
| 260 | + * @param integer $renewal_order |
|
| 260 | 261 | */ |
| 261 | 262 | public function delete_renewal_meta( $renewal_order ) { |
| 262 | 263 | delete_post_meta( ( $this->wc_pre_30 ? $renewal_order->id : $renewal_order->get_id() ), 'Stripe Fee' ); |