Skip to content

Commit 90f0955

Browse files
committed
add comments
1 parent e577ed8 commit 90f0955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-wc-payments-order-service.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ public function get_fraud_meta_box_type_for_order( $order ): string {
906906
* @throws Order_Not_Found_Exception
907907
*/
908908
public function attach_intent_info_to_order( WC_Order $order, $intent, $allow_update_on_success = false ) {
909-
// We don't want to allow metadata for a successful payment to be disrupted (except for when changing payment method for subscription).
909+
// We don't want to allow metadata for a successful payment to be disrupted (except for when changing payment method for subscription or renewing subscription).
910910
if ( Intent_Status::SUCCEEDED === $this->get_intention_status_for_order( $order ) && ! $allow_update_on_success ) {
911911
return;
912912
}

0 commit comments

Comments
 (0)