Skip to content

Commit

Permalink
Fix php linting
Browse files Browse the repository at this point in the history
  • Loading branch information
hsingyuc committed Dec 29, 2023
1 parent cd6a9b1 commit e3a81d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion includes/class-wc-payment-gateway-wcpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -1263,7 +1263,8 @@ public function process_payment_for_order( $cart, $payment_information, $schedul
$intent_meta_order_id = is_numeric( $intent_meta_order_id_raw ) ? intval( $intent_meta_order_id_raw ) : 0;
if ( $intent_meta_order_id !== $order_id ) {
throw new Intent_Authentication_Exception(
__( 'We\'re not able to process this payment. Please try again later. WooPayMeta: intent_meta_order_id: ' . $intent_meta_order_id . ', order_id: ' . $order_id, 'woocommerce-payments' ),
/* translators: %s: metadata. We do not need to translate WooPayMeta */
printf(__( 'We\'re not able to process this payment. Please try again later. WooPayMeta: intent_meta_order_id: %s, order_id: %s' , 'woocommerce-payments' ), $intent_meta_order_id, $order_id ),
'order_id_mismatch'
);
}
Expand Down

0 comments on commit e3a81d7

Please sign in to comment.