Skip to content

Commit

Permalink
Remove resolved TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
a-danae committed Nov 21, 2023
1 parent 1903089 commit 8098d58
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1584,8 +1584,6 @@ private function get_address_data_for_payment_request( $order ) {
* @return array An array containing the payment information for processing a payment intent.
*/
private function prepare_payment_information_from_request( WC_Order $order ) {
// TODO: throw exception if any required information is missing.

$payment_method = sanitize_text_field( wp_unslash( $_POST['wc-stripe-payment-method'] ?? '' ) ); // phpcs:ignore WordPress.Security.NonceVerification.Missing
$selected_payment_type = sanitize_text_field( wp_unslash( $_POST['wc_stripe_selected_upe_payment_type'] ?? '' ) ); // phpcs:ignore WordPress.Security.NonceVerification.Missing
$capture_method = empty( $this->get_option( 'capture' ) ) || $this->get_option( 'capture' ) === 'yes' ? 'automatic' : 'manual'; // automatic | manual.
Expand Down

0 comments on commit 8098d58

Please sign in to comment.