Configuring TreviPay
Learn how to configure TreviPay for DigitalRiver.js with Elements.
Step 1: Build the TreviPay object
Field
Value
TreviPay source details object
{
"returnUrl": "https://mypage.com",
"cancelUrl": "https://mypage.com/cancel",
}Field
Required/Optional
Description
Step 2: Create a TreviPay agreement source using DigitalRiver.js
TreviPay source response example
Step 3: Authorize a TreviPay source
Redirecting the customer to TreviPay for authorization
Step 4: Use the authorized source
Last updated