cal/packages/app-store/alby
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
..
api feat: Alby integration (#11495) 2023-09-28 12:03:01 +00:00
components chore: [app dir bootstrapping 4] check nullability of navigation hook return values (#12005) 2023-10-20 16:47:05 -07:00
lib feat: booking errors logging (#12325) 2023-11-15 12:52:19 -07:00
pages/setup chore: [app dir bootstrapping 4] check nullability of navigation hook return values (#12005) 2023-10-20 16:47:05 -07:00
static fix: alby logo on payment component (#11678) 2023-10-03 16:14:54 +00:00
config.json feat: Alby integration (#11495) 2023-09-28 12:03:01 +00:00
DESCRIPTION.md feat: getalby.com app (#11347) 2023-09-14 08:35:13 -03:00
index.ts feat: Alby integration (#11495) 2023-09-28 12:03:01 +00:00
package.json feat: Alby integration (#11495) 2023-09-28 12:03:01 +00:00
zod.ts fix: saving credential id for payment apps (#12251) 2023-11-15 19:59:43 -07:00