Skip to content

Commit 1c01316

Browse files
committed
Fix typo in subscriptions integration
1 parent b9990d3 commit 1c01316

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function add_support() {
8282
add_action( 'wc_payment_gateway_' . $this->get_gateway()->get_id() . '_add_transaction_data', array( $this, 'save_payment_meta' ), 10, 2 );
8383

8484
// process renewal payments
85-
add_action( 'woocommerce_scheduled_subscription_payment_' . $this->get_gateway()->get_id(), array( $this, 'process_renewal_payment' ), 10, 3 );
85+
add_action( 'woocommerce_scheduled_subscription_payment_' . $this->get_gateway()->get_id(), array( $this, 'process_renewal_payment' ), 10, 2 );
8686

8787
// update the customer/token ID on the subscription when updating a previously failing payment method
8888
add_action( 'woocommerce_subscription_failing_payment_method_updated_' . $this->get_gateway()->get_id(), array( $this, 'update_failing_payment_method' ), 10, 2 );
@@ -272,7 +272,7 @@ public function get_order( $order ) {
272272
* object. Generally the subscription object should not have any order-specific
273273
* meta (aside from `payment_token` and `customer_id`) as they are not
274274
* copied during the upgrade (see do_not_copy_order_meta_during_upgrade()), so
275-
* this method is more of a fallback in case meta accidentially is copied.
275+
* this method is more of a fallback in case meta accidentally is copied.
276276
*
277277
* @since 4.1.0
278278
* @param array $order_meta order meta to copy

0 commit comments

Comments
 (0)