Skip to content

Commit

Permalink
replacing | by _ on user when sending to stripe
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciomb97 committed Oct 14, 2024
1 parent 047e706 commit c5f9ef2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pages/pricing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
:pricing-table-id="'prctbl_1Q84prP2aEWXlznlThXwZ00r'"
:publishable-key="'pk_test_51PxqQFP2aEWXlznl5pMNEs2KFFRxQ4k47rGyUjmmdRJpNYIMqdURdAXlnEOdOhXBL9xoiGKiFbCMEXCKOkedfN5v00FdpFFUiL'"
v-if="session && session.user"
:client-reference-id="session.user.id"
:client-reference-id="session.user.id.replace(/\|/g, '_')"
:customer-email="session.user.email"
/>
</div>
Expand All @@ -15,6 +15,4 @@

<script lang="ts" setup>
const { data: session } = useAuth();
</script>

0 comments on commit c5f9ef2

Please sign in to comment.