When a logged-in user has an existing/saved payment method, clicking on PayPal and then decide to use their existing payment method.
The submit button stays disabled.

Current behaviour:

Step 1:
step 1
Step 2:
step 2
Step 3:
step 3

Expected:

Step 1:
step 1
Step 2:
step 2
Step 3:
step 3

There are already cases in the hosted-fields.js and paypal.js where the button switches between disabled true/false. But there is no code for switching back to an existing/saved payment method when the other payment methods are detached.

Comments

Martijn de Wit created an issue. See original summary.

martijn de wit’s picture

Added patch and update issue summary.

martijn de wit’s picture

Issue summary: View changes
lisastreeter’s picture

Status: Needs review » Reviewed & tested by the community

I confirmed the bug exists exactly as described in the issue. The patch applied cleanly. The "Continue to review" button is functioning properly now in the following scenarios:

1. Select PayPal or PayPal credit. Button is disabled.

2. Switch selection to stored payment method. Button is enabled and can proceed to next step.

3. Select PayPal or PayPal credit and click paypal button, launching modal. Close modal without completing payment selection. The button is correctly disabled. Then select stored payment method. Button is then enabled and can proceed to next step.

martijn de wit’s picture

Thank you for reviewing this!

  • bojanz committed f9395ca on 8.x-1.x authored by Martijn de Wit
    Issue #3041529 by Martijn de Wit, lisastreeter:  User can't proceed when...
bojanz’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.