iDEAL element
Learn how to use the iDEAL element.
Last updated
Learn how to use the iDEAL element.
Last updated
You can create an iDEAL element that will automatically get a user's agreement and for single-use and recurring transactions.
To create an iDEAL element, use the createElement
function exposed through the DigitalRiver Object. This object follows the same pattern and allows for the same and as other elements.
The iDEAL element also requires an additional ideal
object which accepts:
sessionId
The Payment Session ID
Required
Call this function to place the created iDEAL element on your page.
If your session is not recurring, nothing will display, and the payment source created will not be able to be used for subscription usage.
If your session is recurring, the element will display a checkbox asking the user to authorize recurring subscription payments.
If the user does not check the box, the payment source created will not be able to be used for subscription usage.
If the user selects the checkbox, they will be required to enter their IBAN number, and the payment source created will be able to be used for subscriptions.
Call this function to remove the iDEAL element from your page. The element may be re-added to your page by calling mount()
.
Call this function to remove the iDEAL element and its functionality from your page. You cannot re-add the destroyed element to your page via mount()
.
Use this functionality to monitor events that can be used to build and enhance your purchase flow.
ready
The created element is loaded.
change
The element's state has changed.
The Ready event triggers when the iDEAL Element has loaded.
A change event triggers when the iDEAL element's state has changed. When using this element, you will only receive this event when the customer agrees to recurring billing and has entered an IBAN number.
elementType
The element type
iban
An iban object containing the status of the IBAN field when it is present.
complete
Whether the IBAN field is in a complete state.
empty
Whether the IBAN field is empty.
error
An error object (if applicable).
In this flow, you can use the createSource() method to create a source using the iDEAL element.