Member-only story

Online payment using Stripe, Angular, and Spring boot

Hamdi Bouallague
5 min readApr 19, 2021

What is Stripe?

Stripe is a suite of payment APIs that powers commerce for online businesses of all sizes.

Create an account:

Navigate to the stipe website Here

Enter your info and click create account button.

Then you will receive an activation email. After activating your account, log in.

Get the API key :

On the Stripe, dashboard click on Developers

Then click on the API key and copy the Publishable key we will use it later.

Create an Angular application :

Open a terminal and run :

ng new stripe

After creating the project, we will install stripe-js and Angular Material :

npm install @stripe/stripe-js
ng add @angular/material

--

--

Hamdi Bouallague
Hamdi Bouallague

Written by Hamdi Bouallague

I'm Hamdi, a software engineer 👨‍💻, and writer 📝

Responses (4)