• Resolved smnurulislam

    (@smnurulislam)


    Hi,

    I’m facing an issue with Easy Digital Downloads. When I try to purchase any product as a visitor/customer who is not logged in, I’m unable to complete the order because I receive a “Password Confirmation Error.”

    This happens when attempting to complete the checkout process as a guest/visitor. I would like to understand why the password confirmation is being required and how I can fix this issue so visitors can successfully complete their purchases.

    I have recorded a video showing the issue and the steps to reproduce it. Please watch the video for more details:

    Website: https://karenjamesyoga.co.uk/

    Could you please advise me on what might be causing this error and how I can resolve it?

    Thank you for your help.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter smnurulislam

    (@smnurulislam)

    FYI: I am running latest version
    Version3.7.0

    Plugin Contributor Mihai Joldis

    (@misulicus)

    Hey @smnurulislam

    Thank you for the report! We will have this fixed in the next release that is currently in the works. For now, please add the code snippet below to your website as a MU plugin to resolve the issue until the next release:

    add_action( 'edd_pre_process_purchase', function () {
    // Block checkout submits the confirmation as
    edd_user_pass2,
    // but checkout validation reads edd_user_pass_confirm.
    if ( empty( $_POST['edd_user_pass_confirm'] ) && ! empty( $_POST['edd_user_pass2'] ) ) {
    $_POST['edd_user_pass_confirm'] = $_POST['edd_user_pass2'];
    }
    } );

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.