Configuring BLIK
Learn how to configure BLIK for DigitalRiver.js with Elements.
Step 1: Build a BLIK Source Request object
Field
Value
BLIK Source Details object
{
"returnUrl":"https://js-test.digitalriver.com/v1/1.20220329.1453/components/redirect-receiver/redirect-receiver.html?controllerId=controller-76ef3046-888c-4073-90ad-1b5d61a8af08&componentId=redirect-receiver-1757f835-c21b-4f4e-b208-92adc5c30573&action=return",
"cancelUrl":"https://js-test.digitalriver.com/v1/1.20220329.1453/components/redirect-receiver/redirect-receiver.html?controllerId=controller-76ef3046-888c-4073-90ad-1b5d61a8af08&componentId=redirect-receiver-1757f835-c21b-4f4e-b208-92adc5c30573&action=cancel",
"shipping":{
"address":{
"line1":"10380 Bren Rd W",
"line2":"Suite 180",
"city":"Minnetonka",
"state":"MN",
"postalCode":"55344",
"country":"US"
},
"email":"[email protected]",
"phoneNumber":"9525551212",
"recipient":"Jane Doe"
}
}Field
Required/Optional
Description
Step 2: Create a BLIK source using DigitalRiver.js
BLIK source response example
Step 3: Authorize the BLIK source
Redirecting the customer for BLIK authorization
Step 4: Use the authorized source
Testing BLIK
Last updated