richnologies / ngx-stripe

Angular 6+ wrapper for StripeJS
MIT License
219 stars 77 forks source link

Example to create charge or customer #29

Closed Lospepes closed 6 years ago

Lospepes commented 6 years ago

Hello,

I am a beginners with Stripe and I don't wan't to do something wrong with my customers payments informations. I'm doing a monthly subscription, do you have a simple example to create a charge or a customer with your API to understand what I need to do with the token ? Please

Thank a lot

Lospepes commented 6 years ago

I found the solution, I did it with my backend :

https://stackoverflow.com/questions/45680700/creating-a-stripe-charge-with-javascript