Create an testing/production account in order to test the Stripe Payment Gateway. You will need to verify your Stripe account is in 'test' mode, and get test API credentials. You can find Test Secret Key& _Test Publishable Key in your Stripe Account in Dashboard > API section.
PasteTest Secret Key& _Test Publishable Key under src > pages > checkout > checkout.ts.
Genuine card information cannot be used in test mode. Instead, use any of the following test card numbers, a valid expiration date in the future, and any random CVC number, to create a successful payment. Each test card's billing country is set to U.S. If you need to create test card payments using cards for other billing countries, use our international test cards.
You have successfully added stripe payments to your project.