c3f03c8000
fix: stripe connect atom for teams ( #17294 )
...
* add teamId
* add team app credentials method
* add handler to get all user admin teams
* update stripe logic to handle teams
* enable teamId for stripe connect
* update stripe module
* implement PR feedback
* update stripe module
* add method to get credential by team id
* handle check for teamId
* abstract team and individual stripe connection checks into two separate parts
* hide badge for platform user
* update typing
* add logic to handle team stripe integration
* bump platform libraries
* bump platform libraries
---------
Co-authored-by: Morgan Vernay <morgan@cal.com >
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2024-10-30 15:28:26 +02:00
5f6032131b
feat: payments tab for event types atom ( #16892 )
...
* update translations
* add payments tab to event types platform
* payments tab for event types platform wrapper
* update event types props
* fix icon
* add stripe form
* update event type platform wrapper
* testing EventTypeAppCard component
* update atoms module
* add endpoint to get app integration based on slug
* input dtos for atoms app integration endpoint
* update platform libraries
* add queries for app integration endpoint
* chore: fixup
* custom hook to get app integration
* export TeamsQuery type to use for platform
* update props for stripe atom
* update payments tab
* update platform libraries in local (temperory)
* fix merge conflicts
* fixup
* resolve merge conflicts
* fixup
* Update package.json
* update platform libraries
* fix imports
* resolve merge conflicts
* more import paths fixes
* fixup
* cleanup comments
* include payments tab
* resolve merge conflicts
* fixup
* Update package.json
* revert yarn.lock
* Update yarn.lock
---------
Co-authored-by: Somay Chauhan <somaychauhan98@gmail.com >
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2024-10-21 18:49:35 +05:30
c88811aeee
feat: stripe connect atom ( #16190 )
...
* update stripe service
* init endpoints for stripe connect atom
* update stripe controller
* update stripe service
* add generic function to create app credential
* update stripe controller
* update stripe service
* add handler to construct redirectUrl
* restructure files for better readibility
* better naming
* replace STRIPE_PRIVATE_KEY with STRIPE_API_KEY
* fix naming
* remove unused query param
* frontend for stripe connect atom
* custom hooks for stripe connect atom
* abstract response schema into separate file
* fixup
* input dto for stripe controller
* update stripe module
* update endpoints module to include stripe module
* updatte stripe module
* fixups and add check endpoint to stripe controller
* add method to check stripe account
* add helper fn to get on error return value
* update stripe connect atom
* custom hook to check user stripe credentials
* add stripe connect to atom exports
* update stripe connect styling
* add qs stringify package
* translations for stripe connect atom
* updaet typing
* update output dtos for stripe endpoints
* add error message
* fix merge conflicts
* add stripe connect atom to atom exports
* add query param for error rediect link
* add handler for onCheck success and error redirect link
* update index value
* fix merge conflicts
* fixup
* resolve merge conflicts
* war with merge conflicts
* update examples app
---------
Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com >
2024-09-30 19:56:22 +05:30