Reputation: 5982
Is there any way to create your own form to handle Stripe payments. (Without using the default Stripe popup?)
Upvotes: 3
Views: 6344
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
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