cal/packages
Joe Au-Yeung ea0a64624c
fix: saving credential id for payment apps (#12251)
## What does this PR do?

<!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. -->

This PR adds the `credentialId` to payment app data. This fixes a bug where team installed payment apps were not working with team events.

Fixes # (issue)

<!-- Please provide a loom video for visual changes to speed up reviews
 Loom Video: https://www.loom.com/
-->

## Requirement/Documentation

<!-- Please provide all documents that are important to understand the reason of that PR. -->

- If there is a requirement document, please, share it here.
- If there is ab UI/UX design document, please, share it here.

## Type of change

<!-- Please delete bullets that are not relevant. -->

- [x] Bug fix (non-breaking change which fixes an issue)

## How should this be tested?

<!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration. Write details that help to start the tests -->

- Install Stripe for the individual user
- Enable it for the individual's event type
- The `credentialId` should be saved to the metadata
- Install Stripe to the user's team
- Enable it in the team's event type
- The `credentialId` should be saved to the metadata

## Mandatory Tasks

- [ ] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

## Checklist

<!-- Remove bullet points below that don't apply to you -->

- I haven't checked if new and existing unit tests pass locally with my changes
2023-11-15 19:59:43 -07:00
..
app-store fix: saving credential id for payment apps (#12251) 2023-11-15 19:59:43 -07:00
app-store-cli refactor: Use template literal instead of '+' operator (#11444) 2023-10-03 11:52:19 -07:00
atoms refactor: rename `AtomsProvider` to `CalProvider` (#12375) 2023-11-15 16:14:37 +00:00
config feat: km-localization-cambodia 🇰🇭 (#12027) 2023-10-23 12:02:45 +00:00
core feat: booking errors logging (#12325) 2023-11-15 12:52:19 -07:00
dayjs Add changesets/cli to release embed (#8126) 2023-05-13 08:22:31 +00:00
debugging chore: prettier 2023-08-15 11:59:16 -07:00
emails chore: [CAL-2654] Broken Icons in org invitation email (#12119) 2023-10-31 20:00:07 +00:00
embeds fix: Embed: data-cal-origin not used by modal(which is used by both element click popup and floating button popup) (#12075) 2023-11-02 19:39:58 +00:00
eslint-plugin Add changesets/cli to release embed (#8126) 2023-05-13 08:22:31 +00:00
features chore: Insights readonly DB client (#12373) 2023-11-15 14:50:20 -07:00
lib feat: booking errors logging (#12325) 2023-11-15 12:52:19 -07:00
prisma chore: Insights readonly DB client (#12373) 2023-11-15 14:50:20 -07:00
trpc chore: Insights readonly DB client (#12373) 2023-11-15 14:50:20 -07:00
tsconfig We're not ready for this yet 2022-11-22 20:02:40 -07:00
types feat: Stripe paid apps flow (#12103) 2023-11-15 09:29:41 -03:00
ui feat: Stripe paid apps flow (#12103) 2023-11-15 09:29:41 -03:00