Configuring Wire Transfer
Learn how to configure Wire Transfer for DigitalRiver.js with Elements.
If you're using DigitalRiver.js with Elements, you can create an Wire Transfer payment method for your app or website in four easy steps:
Step 1: Build a Wire Transfer source request object
Build a Wire Transfer Source Request object. A Wire Transfer Source Request object requires the following fields.
Field | Value |
---|---|
|
|
| The payment session identifier. |
| An Owner object. |
| A Wire Transfer object. (This is currently empty) |
Step 2: Create a Wire Transfer source using DigitalRiver.js
Use the DigitalRiver.js library to create and mount elements to the HTML container.
The address
object must contain postal code and state/province data that adheres to a standardized format 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.
Wire Transfer Source response example
Step 3: Use the authorized source
Once authorized, you can use the source by attaching it to a cart.
Step 4: Direct your customer to go to their banking institution
Once the customer submits the order, the source remains in the pending_funds
state. Direct your customer to go to their banking institution to wire the money to the account details listed in the wireTransfer
block of your source.
Last updated