In case it helps your debugging and searching for the answer, I’ve been having the same weird error:
“Something went wrong. Please try again or choose another payment source.”
but only when I have the PayPal Card Processing enabled, and I am trying to process a regular PayPal account payment (not a card payment) on subsequent orders to a first order. (PayPal account payments work fine with Card Processing turned off, as it’s a totally different button.)
With Card Processing enabled, I have found that if I place a first order and pay with PayPal account it will work – I have to log into the PayPal pop up window, and it processes.
Subsequent orders however, don’t even get as far as opening the PayPal pop up, they just give the error above. It presents as the gold pill PayPal button holding onto the email address of the test PayPal account I used from the first order (creepy). If I click this, it fails every time with the error above.
(Aside: I wish it did not remember this person’s PayPal account after the first order.)
So, this new special PayPal Pill button (that ONLY shows when Card Processing is enabled), has a drop down that has an option to “Pay with a different account” – If I choose this option I do not get the error. It works to pop up the PayPal window, and allows me to log in using the same PayPal account.
Subsequent orders will fail, unless I chose “Pay with a different account” every time, from the Pill buttons’ drop down.
Now… If I turn OFF “Paypal Card Processing”, I get the old, reliable, PayPal pill button (with no drop down to change accounts) and this button works fine for processing PayPal orders. No problems at all. Subsequent orders process no problem and there is no “holding onto” the user’s PayPal account email in the button. I have to log into PayPal to complete each order. Which is great! I just wish introducing the Card Processing Option didn’t come with this PayPal session-button combo.
I do not use Vaulting. I tried clearing the browser cache, the local and session storage. Could not get that PayPal button to forget the email address of the PayPal account that was used on my store. Which is bad. I don’t want their personal PayPal email address showing up on my site, where they signed up with a different email address. That looks really really bad, from an optics perspective.
Using Storefront Theme latest, PHP 8.0, Latest version 1.5.1 of the PayPal Payments Plugin, Latest version of WordPress.