richnologies / ngx-stripe

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

No Iban? #38

Closed dadifairman closed 5 years ago

dadifairman commented 6 years ago

Hello, Will you provide the 'iban' element soon? Regards

pradt commented 6 years ago

Hi I'm looking for an IBAN option as well. Did you get through this ?

dadifairman commented 6 years ago

Nope I don't get through and using the common library for IBAN et ngx-stripe for credit card is not easy. Maybe the solution is to fork this project and adding the IBAN option.

pradt commented 6 years ago

Ok, did you just import the Stripe's library and try and use that ? You wouldn't have any sample code that I could reference do you ?

dadifairman commented 6 years ago

Yes I tried to integrate the stripe service but with Angular6 it was difficult so i give up. I also tried the node module for stripe but it doesn't provide the same services like the ngx module. I removed all the code because i just poc it fast then i revert all the code. sorry

pradt commented 6 years ago

Ok no problem, I've managed to get it to work - however, I'm getting an error from Stripe regarding providing a type. Not sure whether it is due to the way I have implemented it, I'm still working through it. If you (or anyone reading this) is interested let me know.

aliasbody commented 5 years ago

I've added support for SEPA IBAN in a fork I'm adapting: https://github.com/Blog-Ecommerce/ngx-stripe (this URL can change in the future)

richnologies commented 5 years ago

Thanks for the addition @aliasbody, i just remerge your changes into the project.

BRO-mesdocteurs commented 5 years ago

Hi, i'm having trouble trying using IBAN element with ngx-stripe. Is there an equivalent to "@ViewChild(StripeCardComponent) card: StripeCardComponent" for IBAN ? Can you, please, give a snipet on the ts file side ?