"Unknown error" if users do not have "CiviCRM: access CiviCRM backend and API"
Once updating to the latest updates users without "CiviCRM: access CiviCRM backend and API" in WordPress Access Control are unable to make credit card transactions. When they click the review order button it pre-auth but then get an error of "Unknown error". I gave a test users every access control except that and they were not able to do it. As soon as they got the backend API they can process transactions. When the error occurs I can see in Stripe that the /v1/payment_methods API goes though but none of the others so the payment is never captured. When I look in the Civicrm event logs I don't see any logs for this.
When javascript debugging is enabled here is the output 2023-06-14T16:18:30.600Z stripe: StripePaymentintent.Process done (paymentIntent) 2023-06-14T16:18:30.600Z CRM.payment: error: Unknown error 2023-06-14T16:18:30.600Z CRM.payment: Firing Event: crmBillingFormNotValid
When looking at the browsers network tools I can see the POST API it makes when I click review your order button returns a status of 302. The redirect goes the the wp-login.php login page.
Wordpress: 6.2.2 CiviCRM: 5.62.0 Stipe Plugin: 6.8.2