Storing Customer Information – The Tokenization Process

What is Tokenization?

When you store a payment method:

  1. Raw card number (e.g., 4242 4242 4242 4242) is sent to gateway
  2. Gateway securely transmits to processor
  3. Processor returns a “token” (e.g., “tok_abc123xyz”)
  4. Gateway stores the token, NOT the actual card number
  5. For future charges, gateway uses the token

Security Advantages:

  • Merchant never stores raw card data
  • Breach of merchant database reveals no usable card numbers
  • Reduces PCI compliance burden
  • Meets industry security standards

What Gets Stored in Customer Profiles:

Contact Information:

  • Full name
  • Email address
  • Phone number
  • Company name (optional)

Billing Address:

  • Street address
  • City
  • State/Province
  • ZIP/Postal code
  • Country

Shipping Address:

  • Can store multiple shipping addresses per customer
  • Useful for customers who ship to multiple locations

Payment Methods (Wallet):

  • Multiple payment methods per customer
  • Each payment method includes:
    • Card type (Visa, MC, Amex, Discover)
    • Last 4 digits of card (for customer identification)
    • Expiration date
    • Billing zip code
    • Tokenized reference
  • Can mark one payment method as “default”

Additional Data:

  • Customer number (auto-assigned or manually set)
  • Tags/labels for categorization
  • Custom fields
  • Internal notes (not visible to customer)
  • Transaction history (automatic)