Stripe

Stripe Payments is an online payment platform toolkit that eliminates the need for a separate merchant account, payment gateway, and one-off integrations.

Stripe Payments

Goto https://stripe.com.

Create a testing/production account 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 can't be used in test mode. Instead, use any of the following test card numbers, a valid expiration date in the future, and any random CVV number, to create a successful payment. Each test card's billing country is set to the 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.

Last updated