Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 229/connecting stripe account #230

Open
wants to merge 49 commits into
base: live
Choose a base branch
from

Conversation

ilirhushi
Copy link
Collaborator

In this PR is integrated Stripe Onboarding


Closes: #229 #223

@github-actions
Copy link

github-actions bot commented Nov 12, 2020

Visit the preview URL for this PR (updated for commit 8854943):

https://joie-app--pr230-issue-229-connecting-fwpcrsgr.web.app

(expires Mon, 07 Dec 2020 19:08:28 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

@ilirhushi ilirhushi linked an issue Nov 12, 2020 that may be closed by this pull request
@ilirhushi ilirhushi self-assigned this Nov 12, 2020
@ilirhushi ilirhushi added the enhancement New feature or request label Nov 12, 2020
ilirhushi and others added 24 commits November 13, 2020 10:41
…e-229/connecting-stripe-account

# Conflicts:
#	apps/firebase-cloud-functions/src/interfaces.ts
#	functions/package-lock.json
#	functions/package.json
#	functions/src/interfaces.ts
#	libs/schemes/src/lib/models/interfaces.model.ts
#	package-lock.json
…e-229/connecting-stripe-account

# Conflicts:
#	apps/firebase-cloud-functions/src/stripe.ts
#	package-lock.json
apps/firebase-cloud-functions/src/session.ts Outdated Show resolved Hide resolved
</ng-template>


<ng-template #notSpinning>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apps/joie/src/app/shared/components/payment-source

The above component was responsible adding payment source. It is used outside the scope of account page as well

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yinonov sorry didn't understand this, can you help me understand what should I do here, thanks

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/joie/joie-web-app/blob/live/apps/joie/src/app/shared/components/payment-source/payment-source.component.ts

I mean that this file, payment-source.component.ts, is already doing this work of adding the payment resource, so I'm not sure why it is also happening here in the account banking.

I suggest we bind both -
the original payment-source.component.ts will be responsible to send payment method details and send to stripe, and emit token upon success.
account banking will just use that payment source.

lets discuss it...

apps/joie/src/app/services/stripe/stripe.service.ts Outdated Show resolved Hide resolved
firestore.rules Show resolved Hide resolved
firestore.rules Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Connecting with Stripe Account Collect payments then pay out
2 participants