Skip to main content
WebSDK-based browser tokenization should be treated as legacy. New card integrations should use Payment Element.

Mapping

Legacy approachNew approach
custom browser tokenizationhosted card field
manual token create flowelements.submit()
ad hoc 3DS handlingbuilt-in next action orchestration
mixed card UI logiccleaner field lifecycle events

Migration order

  1. Keep your backend POST /v2/transactions contract stable.
  2. Replace the frontend tokenization layer first.
  3. Verify 3DS and webhook handling in sandbox.
  4. Remove legacy browser scripts after cutover.