Skip to content

Commit

Permalink
fix: ensured that the initialized and complete are also set to false …
Browse files Browse the repository at this point in the history
…when validation is skipped
  • Loading branch information
austinzani committed Dec 13, 2024
1 parent f0f6e00 commit 7571b9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/field-set/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ export const tokenizePaymentMethod = async (
if (elements.length) {
const transactingElement = elements[0] as PayTheoryHostedFieldTransactional;
transactingElement.session = newSessionId;
transactingElement.initialized = false;
transactingElement.complete = false;
}
}
}
Expand Down

0 comments on commit 7571b9b

Please sign in to comment.