Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codediodeio/angular-firebase-stripe
/ functions
Functions
76 in github.com/codediodeio/angular-firebase-stripe
⨍
Functions
76
◇
Types & classes
67
↓ 6 callers
Function
defaultHandler
(promise: Promise<any>, res: any)
functions/src/app/api.ts:74
↓ 5 callers
Function
getUser
(userId: string)
functions/src/app/helpers.ts:26
↓ 3 callers
Method
getCustomer
()
src/app/payment/payment.service.ts:27
↓ 2 callers
Function
attachSource
(userId: string, sourceId: string)
functions/src/app/helpers.ts:53
↓ 2 callers
Method
attachSource
(card: any)
src/app/payment/payment.service.ts:55
↓ 2 callers
Method
cancelSubscription
(planId: string)
src/app/payment/payment.service.ts:76
↓ 2 callers
Method
createCharge
(card: any, amount: number)
src/app/payment/payment.service.ts:44
↓ 2 callers
Method
updateUserData
(user)
src/app/core/auth.service.ts:55
↓ 1 callers
Method
attachSubscription
(sourceId: string, planId: string)
src/app/payment/payment.service.ts:69
↓ 1 callers
Function
createCustomer
(firebaseUser: any)
functions/src/app/helpers.ts:31
↓ 1 callers
Method
customSignIn
(token)
src/app/core/auth.service.ts:86
↓ 1 callers
Method
getCharges
()
src/app/payment/payment.service.ts:34
↓ 1 callers
Function
getCustomer
(userId: string)
functions/src/app/helpers.ts:41
↓ 1 callers
Method
getParagraphText
()
e2e/app.po.ts:8
↓ 1 callers
Function
getSubscription
(userId: string, planId: string)
functions/src/app/helpers.ts:181
↓ 1 callers
Method
getUserIdToken
()
src/app/core/auth.service.ts:73
↓ 1 callers
Function
mintFirebaseToken
(code: string)
functions/src/app/connect.ts:46
↓ 1 callers
Method
navigateTo
()
e2e/app.po.ts:4
↓ 1 callers
Method
oAuthLogin
(provider)
src/app/core/auth.service.ts:40
↓ 1 callers
Function
recurringPayment
(customerId: string, planId: string, hook: string)
functions/src/app/helpers.ts:156
Method
anonymousLogin
()
src/app/core/auth.service.ts:47
Function
authenticateUser
(req, res, next)
functions/src/app/helpers.ts:7
Method
canActivate
( next: ActivatedRouteSnapshot, state: RouterStateSnapshot)
src/app/core/auth.guard.ts:11
Method
cancelHandler
()
src/app/payment/subscription-plan/subscription-plan.component.ts:33
Function
cancelSubscription
(userId: string, planId: string)
functions/src/app/helpers.ts:133
Method
clickHandler
(source: Source)
src/app/payment/user-sources/user-sources.component.ts:24
Method
constructor
(private auth: AuthService, private pmt: PaymentService)
src/app/app.component.ts:16
Method
constructor
(private http: HttpClient)
src/app/payment/payment.service.ts:20
Method
constructor
(private http: HttpClient, private route: ActivatedRoute, public auth: AuthService)
src/app/payment/connect-redirect/connect-redirect.component.ts:16
Method
constructor
(public pmt: PaymentService, public auth: AuthService)
src/app/payment/user-subscriptions/user-subscriptions.component.ts:17
Method
constructor
(private pmt: PaymentService)
src/app/payment/user-sources/user-sources.component.ts:18
Method
constructor
(private pmt: PaymentService)
src/app/payment/user-charges/user-charges.component.ts:15
Method
constructor
(private cd: ChangeDetectorRef, public pmt: PaymentService)
src/app/payment/payment-form/payment-form.component.ts:42
Method
constructor
(public pmt: PaymentService, public auth: AuthService)
src/app/payment/subscription-plan/subscription-plan.component.ts:20
Method
constructor
(private auth: AuthService, private router: Router)
src/app/core/auth.guard.ts:10
Method
constructor
(private afAuth: AngularFireAuth, private afs: AngularFirestore, private router: R
src/app/core/auth.service.ts:19
Method
constructor
(private inj: Injector)
src/app/core/token.interceptor.ts:20
Method
constructor
()
src/app/shared/nav-bar/nav-bar.component.ts:12
Method
constructor
(public auth: AuthService)
src/app/shared/user-login/user-login.component.ts:12
Method
constructor
()
src/app/shared/loading-spinner/loading-spinner.component.ts:12
Method
constructor
()
src/app/demo/charge-card/charge-card.component.ts:10
Method
constructor
()
src/app/demo/save-card/save-card.component.ts:10
Method
constructor
()
src/app/demo/subscription-page/subscription-page.component.ts:14
Method
constructor
()
src/app/demo/read-me/read-me.component.ts:10
Method
constructor
()
src/app/demo/stripe-dashboard/stripe-dashboard.component.ts:10
Method
constructor
(public auth: AuthService)
src/app/demo/connect-page/connect-page.component.ts:11
Function
corsMiddleware
(req, res, next)
functions/src/app/config.ts:6
Function
createCharge
(userId: string, sourceId: string, amount: number, currency? :string)
functions/src/app/helpers.ts:69
Method
createHandler
()
src/app/payment/subscription-plan/subscription-plan.component.ts:26
Function
createSubscription
(userId:string, sourceId:string, planId: string)
functions/src/app/helpers.ts:103
Method
formHandler
()
src/app/payment/payment-form/payment-form.component.ts:57
Function
getUserCharges
(userId: string, limit?: number)
functions/src/app/helpers.ts:88
Method
googleLogin
()
src/app/core/auth.service.ts:35
Method
intercept
(request: HttpRequest<any>, next: HttpHandler)
src/app/core/token.interceptor.ts:22
Method
ngAfterViewInit
()
src/app/payment/payment-form/payment-form.component.ts:44
Method
ngOnDestroy
()
src/app/payment/payment-form/payment-form.component.ts:81
Method
ngOnInit
()
src/app/app.component.ts:18
Method
ngOnInit
()
src/app/payment/connect-redirect/connect-redirect.component.ts:18
Method
ngOnInit
()
src/app/payment/user-subscriptions/user-subscriptions.component.ts:19
Method
ngOnInit
()
src/app/payment/user-sources/user-sources.component.ts:20
Method
ngOnInit
()
src/app/payment/user-charges/user-charges.component.ts:17
Method
ngOnInit
()
src/app/payment/subscription-plan/subscription-plan.component.ts:22
Method
ngOnInit
()
src/app/shared/user-login/user-login.component.ts:15
Method
ngOnInit
()
src/app/demo/save-card/save-card.component.ts:12
Method
ngOnInit
()
src/app/demo/subscription-page/subscription-page.component.ts:16
Method
ngOnInit
()
src/app/demo/read-me/read-me.component.ts:12
Method
ngOnInit
()
src/app/demo/stripe-dashboard/stripe-dashboard.component.ts:12
Method
ngOnInit
()
src/app/demo/connect-page/connect-page.component.ts:13
Function
onPrepare
()
protractor.conf.js:22
Method
setActive
(state: boolean)
src/app/shared/nav-bar/nav-bar.component.ts:18
Method
setSource
(e)
src/app/demo/subscription-page/subscription-page.component.ts:19
Method
signOut
()
src/app/core/auth.service.ts:66
Method
stripeLogin
()
src/app/core/auth.service.ts:82
Method
toggleActive
()
src/app/shared/nav-bar/nav-bar.component.ts:14
Method
transform
(obj: any)
src/app/shared/keys.pipe.ts:7
Method
transform
(value: number)
src/app/shared/stripe.pipe.ts:9