• Resolved mopixdave

    (@mopixdave)


    My website has been unable to process Stripe payments since March 1st.

    The issue is with the payment descriptors. Apparently they no longer comply with Stipe policy
    When a customer places an order it appears in WooCommerce as Failed and this message appears: “The statement_descriptor parameter is not supported for the payment_method_type card. To continue supporting payment_method_type card, please pass in statement_descriptor_suffix or remove the statement_descriptor parameter altogether. Please see https://support.stripe.com/questions/use-of-the-statement-descriptor-parameter-on-paymentintents-for-card-charges for additional details. Order status changed from Pending payment to Failed.” In the document it says: “As of 01/02/2024, Stripe no longer supports the statement_descriptor parameter on the PaymentIntent API for PaymentIntents in which one of the supported payment_method_types is card. Attempting to set a statement_descriptor on a PaymentIntent with a card as one of the payment_method_types will result in a 400 error code. For these requests, please use the statement_descriptor_suffix instead.”
    Also:
    “Use of the statement_descriptor parameter on PaymentIntents for card charges Statement descriptors explain charges or payments on bank statements. Using clear and accurate statement descriptors can reduce chargebacks and disputes. Banks and card networks require the inclusion of certain types of information that help customers understand their statements, and statement descriptors provide this information. Read our documentation for more detailed information regarding statement descriptors. As of 01/02/2024, Stripe no longer supports the statement_descriptor parameter on the PaymentIntent API for PaymentIntents in which one of the supported payment_method_types is card. Attempting to set a statement_descriptor on a PaymentIntent with a card as one of the payment_method_types will result in a 400 error code. For these requests, please use the statement_descriptor_suffix instead. If you encounter any issues related to statement_descriptors, please contact Stripe Support for assistance.”
    I contacted Stripe support but they say this is a WooComm issue.
    I have the latest version of the plugin installed but cannot see anywhere to make changes to payment descriptor other than the standard field.
    Can you help please?

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

Viewing 10 replies - 16 through 25 (of 25 total)
  • Thread Starter mopixdave

    (@mopixdave)

    Hi. I reinstalled the plugin – now I’m getting a different error. Here is the message

    ‘There was an error processing the payment: No such customer: ‘cus_PgKicjmmvveyoq’@ . Here is the error log

    ====Start Log==== Error: stdClass Object ( [error] => stdClass Object ( [code] => resource_missing [doc_url] => https://stripe.com/docs/error-codes/resource-missing [message] => No such customer: 'cus_PgKicjmmvveyoq' [param] => customer [request_log_url] => https://dashboard.stripe.com/logs/req_ASDbb48dUUpV85?t=1709651464 [type] => invalid_request_error

    What does this mean please?

    Thread Starter mopixdave

    (@mopixdave)

    hi

    thanks for getting back to me

    Ticket #7825798?

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @mopixdave,

    Thank you for the additional details. I’ve reviewed it, and I see you chatted with one of our Happiness Engineers earlier today.

    They’re reviewing this issue and they’ll reach out to you over email soon with more details. We’ll be closing this thread as the support is now moved to the internal ticket system. Please be patient while our Happiness Engineers review this and get back to you!

    Thanks!
    Omar

    Thread Starter mopixdave

    (@mopixdave)

    update. I rolled back to previous version and payments began working again. Seems like there’s an issue with 8. please confirm

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @mopixdave,

    I’m glad to hear that rolling back to a previous version has temporarily resolved your payment issue.

    please confirm

    I’m unable to confirm any issues as your issue is unique, and we haven’t had any users report a similar case so far.

    Thank you for your understanding.

    Thread Starter mopixdave

    (@mopixdave)

    All I know is that 8.0.0 caused the Stripe payments to be denied, I have no idea why others aren’t experiencing the same issues but for us there is a problem

    cullen90

    (@cullen90)

    I’ve been having the exact same issue just FYI – a rollback to 7.9.2 worked for me for now.

    Afzal (woo-hc)

    (@afzalpansuvi)

    Hi @cullen90,

    Thank you for contacting WooCommerce support. Since all websites are built differently and run in different environments. Therefore, as per our Support Policy, I will suggest you create a new topic so we can assist you separately.

    I appreciate your understanding. ??

    Afzal (woo-hc)

    (@afzalpansuvi)

    Hi @mopixdave,

    Thanks for getting back to us. It’s great to hear that rolling back to the previous version has resolved the issue for you temporarily. This suggests that the problem might be specific to the 8.0.0 version however we are not able to confirm it yet.

    In the meantime, you can keep an eye on our GitHub issues page for any similar issues reported by other users and for possible solutions.

    Let us know if there’s anything else we can help you with.

    Plugin Author Diego

    (@diegocwp)

    Hey @mopixdave!

    We are aware that there are a few edge cases in which the statement descriptor does not behave as expected, and we are currently working on a fix for this.

    In the meantime, it seems that a snippet like this would fix your problem:

    add_filter( 'wc_stripe_generate_create_intent_request', function ( $request, $order, $prepared_source ) {
    	$request[ 'statement_descriptor_suffix' ] = WC_Stripe_Helper::get_dynamic_statement_descriptor_suffix( $order );
    	unset( $request[ 'statement_descriptor' ] );
    	return $request;
    }, 10, 3 );
Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘Stripe Descriptor Error’ is closed to new replies.