client_secret does not match#
Error Message#
The client_secret provided does not match the client_secret associated with the PaymentIntent.
Result#
Ensure you have updated the proper Webhook Secret Keys.
BuddyBoss#
When the Private Rest APIs checkbox is enabled in the BuddyBoss Platform Plugin, you may see the following error when attempting to connect Stripe:
{"code":"bb_rest_authorization_required","message":"Only authenticated users can access the REST API.","data":{"status":401}}
The solution is uncheck this field in the BuddyBoss plugin settings:

BuddyBoss Private REST APIs