Stripe checkout not working in local development installation

Thank you very much for the reply. I was following exactly same as you described but the issue was something else.
I am on Windows. The issue in not in the steps actually the issue is in the windows command prompt or my adaptation of the command in Windows environment.
If anyone face this problem in future, for them the following explanation.

When I was using the following command

WEBHOOK_SECRET=whsec_xxxxxxxxxxxxxxxxxxxxxxx ghost start

The Windows cmd was showing the following error

'WEBHOOK_SECRET' is not recognized as an internal or external command, operable program or batch file.

Then I was using the command as follows

ghost start WEBHOOK_SECRET=whsec_xxxxxxxxxxxxxxxxxxxxxxx 

Probably this was the reason.

Now the solution:
After multiple failure I have tried using git bash terminal, and the command in following structure worked.

WEBHOOK_SECRET=whsec_xxxxxxxxxxxxxxxxxxxxxxx ghost start

So If you are on windows and trying to use stripe CLI with ghost, then do one of these 2

  1. Use git bash terminal which understand linux like command
  2. Or in windows command prompt use the command in following format
set WEBHOOK_SECRET=whsec_xxxxxxxxxxxxxxxxxxxxxxx && ghost start