MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / persistBillingProfileNonSensitive

Function persistBillingProfileNonSensitive

static/js/payment.js:732–743  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

730}
731
732function persistBillingProfileNonSensitive() {
733 const data = collectBillingFormData();
734 storage.set(BILLING_STORAGE_KEY, {
735 billing_name: data.billing_name,
736 country_code: data.country_code,
737 currency: data.currency,
738 address_line1: data.address_line1,
739 address_city: data.address_city,
740 address_state: data.address_state,
741 postal_code: data.postal_code,
742 });
743}
744
745function restoreBillingProfileNonSensitive() {
746 const saved = storage.get(BILLING_STORAGE_KEY, null);

Callers 2

fillBillingFormFunction · 0.85
bindBillingEventsFunction · 0.85

Calls 1

collectBillingFormDataFunction · 0.85

Tested by

no test coverage detected