Configuring SEPA Direct Debit
Learn how to configure SEPA Direct Debit for DigitalRiver.js with Elements.
Last updated
Was this helpful?
Learn how to configure SEPA Direct Debit for DigitalRiver.js with Elements.
Last updated
Was this helpful?
If you're using, you can create a payment method for your app or website in four easy steps:
You can find an example of integration .
Build the SEPA Direct Debit Source Request and Details objects.
A SEPA Direct Debit Source Request object requires the following fields.
type
directDebit
sessionId
The payment session identifier.
owner
directDebit
The SEPA Direct Debit Source Details object requires the following fields.
returnUrl
Required
If you choose to use the full redirect flow, this is where you will redirect your customer to after authorizing or canceling within the SEPA Direct Debit experience.
Use the DigitalRiver.js library to create and mount elements to the HTML container.
When you create a SEPA Direct Debit source, the customer is required to authorize the charge through their payment provider. You can accomplish this by redirecting the customer to their payment provider.
To redirect your customer for authorization, use the redirectUrl
parameter in your createSource
response.
The payment provider will present the customer with the transaction details where they can authorize or cancel the transaction. A successful authorization redirects the customer to the SEPA Direct Debit Return URL parameter you specified when you created the source.
An .
A that includes the details of the transaction.
The address
object must contain postal code and state/province data that using the state
attribute. Note that the state
attribute listed below corresponds to the countrySubdivision
attribute used when providing address information. The payment session manages the correct field name on the backend.
Once authorized, you can use the source by or .
See for testing instructions.