Ask or search…
K
Links

Flows by payment type

Understand the flows by payment type.
Each payment method must follow a specific payment flow to ensure a seamless payment process. The payment flows and corresponding payment methods outlined below follow Digital River's recommended best practices.

Standard payment flow

Use the following flow for standard payments: Apple Pay, credit cards, and Google Pay.

Delayed payment flow

Submit a Konbini payment flow

Use the following flow for delayed payments, such as Konbini.
  1. 1.
    Get the store details.
  2. 2.
    Create a source using DigitalRiver.js. The source state is pending_funds.
  3. 3.
    The customer transfers the funds to the Konbini payment provider.
  4. 4.
    The source state changes to chargeable when the funds are received.

Submit a Boleto payment flow

To use Boleto as a payment method:
  1. 2.
    Optional. Set the locale and currency. curl --location --request GET 'https://{host}/v1/shoppers/me.json? locale=pt_BR&currency=BRL' --header 'Content-Type: application/json'--header 'authorization: bearer ***\
  2. 3.
    Optional. Set the cart address to the BR address.
  3. 4.
    Attach the tax ID to the cart. The action inserts the tax ID into the payment session.
  4. 5.
    Create a source using DigitalRiver.js with a payment session ID. Note that the tax ID is required when creating the Boleto source. The payment session ID provides the tax ID.

Submit a Wire Transfer payment flow

Use the following flow for delayed payments, such as Wire Transfer.
  1. 3.
    Create a source using DigitalRiver.js. The source state is chargeable.
  2. 6.
    The shopper receives the payment details and completes the payment. After the shopper finalizes the payment, the updated order status will appear in Global Commerce.

Redirect then submit (RTS) payment flow

Submit then redirect (STR) payment flow

  1. 4.
    Attach the source to the cart. The session state is requires_confirmation.
  2. 5.
    Submit the cart. The session state is pending_redirect.
  3. 6.
    Complete redirect authorization. The session state is chargeable.
  4. 7.
    Resume cart to complete post-order processing.