# Stripe configs

1/ Frans uses Stripe in Pre-auth mode. Make sure your localhost environment also uses Pre-auth mode. In config, change `Payment action` to `Authorize Only`:

[![image.png](https://frdocs.socalappsolutions.com/uploads/images/gallery/2024-11/scaled-1680-/image.png)](https://frdocs.socalappsolutions.com/uploads/images/gallery/2024-11/image.png)

2/ To debug local stripe connect (local webhook):  
Install Stripe CLI  
In command line, enter `stripe listen --forward-to http://sfran/stripe/webhooks`

Stripe cli will inform the webhook secret, such as:  
```  
&gt; Ready! You are using Stripe API Version \[2016-02-23\]. Your webhook signing secret is whsec\_9980a4bbbf158f30d3288c6ea85d8f085123456c97bea7abe35a8adc62e4b8d4 (^C to quit)  
```

Copy that secret into table stripe\_webhooks, column secret. Make sure that table only has 1 row; to avoid confusion.