• Resolved Huzefa Malim

    (@huzefamalim)


    we faced a WooCommerce payment plugin error.
    error :”Invalid payment method. Please input a new card number.”
    payment not working if user select woo commerce payment getaway
    in log show like this :

    2022-08-04T10:55:12+00:00 INFO Items in the cart have unsupported product type ( Payment Request button disabled )
    2022-08-04T10:55:13+00:00 INFO Items in the cart have unsupported product type ( Payment Request button disabled )
    2022-08-04T10:55:13+00:00 INFO Items in the cart have unsupported product type ( Payment Request button disabled )
    2022-08-04T10:55:24+00:00 INFO ENVIRONMENT: array (
      'WP_User' => 'Support',
      'HTTP_REFERER' => 'https://reynopoly.co.uk/checkout/',
      'HTTP_USER_AGENT' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36 Edg/103.0.1264.77',
      'REQUEST_URI' => '/?wc-ajax=wcpay_create_payment_intent',
      'DOING_AJAX' => true,
      'DOING_CRON' => false,
      'WP_CLI' => false,
    )
    2022-08-04T10:55:24+00:00 INFO REQUEST POST https://public-api.wordpress.com/wpcom/v2/sites/%s/wcpay/intentions
    2022-08-04T10:55:24+00:00 INFO HEADERS: array (
      'Content-Type' => 'application/json; charset=utf-8',
      'User-Agent' => 'WooCommerce Payments/4.5.0',
      'Idempotency-Key' => '07c4c83e-b758-41fa-8eee-16fa62497e44',
    )
    2022-08-04T10:55:24+00:00 INFO BODY: array (
      'test_mode' => true,
      'amount' => 19368,
      'currency' => 'gbp',
      'description' => 'Online Payment for reynopoly.co.uk blog_id 208180490',
      'payment_method_types' => 
      array (
        0 => 'card',
      ),
      'capture_method' => 'automatic',
      'metadata' => 
      array (
        'fraud_prevention_data_shopper_ip_hash' => '671dc839ac57da43bf199635ab9834161a094fa93c59167be8c9c2d66d31e3fef9e9c32862b766cc0cb6bc52e02b071ea6c94e0bd69062fe5dd2b0738a29fe7e',
        'fraud_prevention_data_shopper_ua_hash' => '207417fad078630c1263dbc1e116876adaa132a4f121c734c613b9f3d23fcaef3bf47ba09aa16f381b285fcb6f6adbd73fa537b64981d485c5c79f1c5abae11f',
        'fraud_prevention_data_available' => true,
      ),
    )
    2022-08-04T10:55:25+00:00 INFO RESPONSE: array (
      'id' => 'pi_3LT1i52Hl1l3TP0I1kIAhgye',
      'object' => 'payment_intent',
      'amount' => 19368,
      'amount_capturable' => 0,
      'amount_details' => 
      array (
        'tip' => 
        array (
        ),
      ),
      'amount_received' => 0,
      'amount_subtotal' => 19368,
      'application' => 'ca_Ex84e31yMTLaNU5ozQvi5woLclpIDVpX',
      'application_fee_amount' => 291,
      'automatic_payment_methods' => NULL,
      'canceled_at' => NULL,
      'cancellation_reason' => NULL,
      'capture_method' => 'automatic',
      'charges' => 
      array (
        'object' => 'list',
        'data' => 
        array (
        ),
        'has_more' => false,
        'total_count' => 0,
        'url' => '/v1/charges?payment_intent=pi_3LT1i52Hl1l3TP0I1kIAhgye',
      ),
      'client_secret' => '(redacted)',
      'confirmation_method' => 'automatic',
      'created' => 1659610525,
      'currency' => 'gbp',
      'customer' => NULL,
      'description' => 'Online Payment for reynopoly.co.uk blog_id 208180490',
      'invoice' => NULL,
      'last_payment_error' => NULL,
      'level3' => NULL,
      'livemode' => false,
      'metadata' => 
      array (
        'fraud_prevention_data_available' => '1',
        'fraud_prevention_data_shopper_ip_hash' => '671dc839ac57da43bf199635ab9834161a094fa93c59167be8c9c2d66d31e3fef9e9c32862b766cc0cb6bc52e02b071ea6c94e0bd69062fe5dd2b0738a29fe7e',
        'fraud_prevention_data_shopper_ua_hash' => '207417fad078630c1263dbc1e116876adaa132a4f121c734c613b9f3d23fcaef3bf47ba09aa16f381b285fcb6f6adbd73fa537b64981d485c5c79f1c5abae11f',
      ),
      'next_action' => NULL,
      'on_behalf_of' => NULL,
      'payment_method' => NULL,
      'payment_method_options' => 
      array (
        'card' => 
        array (
          'installments' => NULL,
          'mandate_options' => NULL,
          'network' => NULL,
          'request_three_d_secure' => 'automatic',
        ),
      ),
      'payment_method_types' => 
      array (
        0 => 'card',
      ),
      'processing' => NULL,
      'receipt_email' => NULL,
      'review' => NULL,
      'setup_future_usage' => NULL,
      'shipping' => NULL,
      'source' => NULL,
      'statement_descriptor' => NULL,
      'statement_descriptor_suffix' => NULL,
      'status' => 'requires_payment_method',
      'total_details' => 
      array (
        'amount_discount' => 0,
        'amount_tax' => 0,
      ),
      'transfer_data' => NULL,
      'transfer_group' => NULL,
      'fee_history' => 
      array (
        0 => 
        array (
          'type' => 'base',
          'percentage_rate' => 0.014,
          'fixed_rate' => 20,
          'currency' => 'gbp',
        ),
      ),
    )

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Woocommerce payments, the card payment is not working it is getting failed.’ is closed to new replies.