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 2:

Step 3:

Expected:
Step 1:

Step 2:

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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | can-not-proceed-when-switching-from-paypal-to-existing-payment-3041529.patch | 608 bytes | martijn de wit |
| step-3.png | 63.61 KB | martijn de wit | |
| step-2.png | 68.71 KB | martijn de wit | |
| step-1.png | 58.55 KB | martijn de wit |
Comments
Comment #2
martijn de witAdded patch and update issue summary.
Comment #3
martijn de witComment #4
lisastreeter commentedI 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.
Comment #5
martijn de witThank you for reviewing this!
Comment #7
bojanz commentedCommitted, thanks!