Recurring transactions with Embed
Embed will automatically try to apply the right flags based on the situation, mainly using the provided paymentSource
property and whether a stored card is used for the transaction.
By default, the flags from the E-commerce scenario are used for a regular card payment. For transactions where the card is stored, Embed applies the properties from the Fast checkout scenario.
A paymentSource
prop can be set when initializing Embed and it can be set to
either installment
or recurring
. In those cases, the card will always be
stored (forcing store=true
) and every transaction is marked as being the first
in a series (is_subsequent_payment=false
).
As a result, with paymentSource
set to installment
or recurring
you will
be provided with a payment method that can be re-used to create
subsequent merchant-initiated subsequent transactions.
Was this page helpful?