When the submit method is called, the SDK will attempt to create a payment based on the raw data set in the rawData method. If no data is set, the SDK will call the primerHeadlessUniversalCheckoutDidFail method.
SWIFT
func submit()
Assistant
Responses are generated using AI and may contain mistakes.