Working API CHARGING!

This commit is contained in:
2025-09-20 15:33:25 -04:00
parent b77e5b4b9d
commit 279f0d9deb
10 changed files with 1794 additions and 124 deletions

View File

@@ -140,7 +140,7 @@
<CreditCards
:cards="credit_cards"
:count="credit_cards_count"
:user_id="customer.user_id || 0"
:user_id="customer.id"
:auth_net_profile_id="customer.auth_net_profile_id"
@edit-card="editCard"
@remove-card="removeCard"
@@ -1025,7 +1025,7 @@ onSubmitSocial(commentText: string) {
},
addCreditCard() {
// Redirect to add card page
this.$router.push({ name: 'cardadd', params: { customerId: this.customer.id } });
this.$router.push({ name: 'cardadd', params: { id: this.customer.id } });
},
showDeleteAccountModal() {
this.isDeleteAccountModalVisible = true;