startPaymentFlow
Starts the payment flow for the vaulted payment method. You can get the id
from any instance of PrimerHeadlessUniversalCheckout.VaultedPaymentMethod
returned by fetchVaultedPaymentMethods.
Additionally you may pass vaultedPaymentMethodAdditionalData
, which might be required by some payment methods (e.g.
you might need to pass CVV which can be recommended to increase auth rates).
Make sure that vaultedPaymentMethodAdditionalData
is validated before being passed to this method.
Upon a successful invocation of this function, the SDK will automatically trigger the standard payment delegate methods.
SWIFT
Parameters
Example
It’s provided that you have started PrimerHeadlessUniversalCheckout
with a client token, and you know
the vaulted payment method id.
Without additional data
SWIFT
With additional data
SWIFT