Florian Ludewig
Florian Ludewig

Reputation: 5982

Custom Stripe Checkout form with Angular 6 and NodeJs

Is there any way to create your own form to handle Stripe payments. (Without using the default Stripe popup?)

Upvotes: 3

Views: 6344

Answers (1)

shan kulkarni
shan kulkarni

Reputation: 855

Apart from popup(checkout), Stripe provides stripe elements which offer custom UI.

https://stripe.github.io/elements-examples/

To implement in Angular just add the js

https://js.stripe.com/v3/

and use stripe variable by declaring it as any.

Example

   let element =  (window as any).stripe.elements(); 

For more info on how to use stripe element with angular. Please refer https://alligator.io/angular/stripe-elements/

Upvotes: 2

Related Questions