I have an angular application that uses Stripe to save customer payment card info.
I include this script in my index.html
<script src="https://js.stripe.com/v3/"></script>
this script provides a "Stripe" object that I can use like this:
<script> var stripe = Stripe('pk_XXXXXXXXXXX') </script>
the question is: How can I access the Stripe object from my angular typescript code?
Try this npm: ngx-stripe-checkout
With this you can integrate stripe checkout easily in angular.
For more details : https://www.npmjs.com/package/ngx-stripe-checkout.