Payment flow with offline payment methods

The following payment methods are supported for the offline payment flow: Purchase Order flow, Wire, Check, and Boleto / Pix

Availability

Available for all 2Checkout accounts.

How eWallet payments work

Offline payment methods are payment methods where the order is registered by 2Checkout, however, the shopper finalizes the payment offline.

This type of payment methods include payments done via bank transfers (Purchase Orders, Wire) or in-store payments like Boleto/Pix.

Since these payments take longer to process than online payments, once an order is placed it will remain in 'status = Pending' until the order status is updated by the payment provider. Once the payment is processed by them, then the order status will be updated to 'Complete' in the 2Checkout system.

Purchase Order flow

The Purchase Order flow payment method is available only for payments done by companies. The Purchase order (PO) flow is similar to the Wire payment method, as the data needed for the completion of the payment will be available both in the API response, as well as in the email sent to the email address used in the Billing Details object.

Payment method object structure

Parameter
Type / Description

Company

Required (string)

The name of the company.

AutoApprove

Optional (boolean)

Use AutoApprove = true when you want the order to be automatically approved by the merchant. If false, the order needs to be approved manually from the Merchant Control Panel. Default value: false.

InternalPONumber

Optional (string)

Internal unique ID.

Request sample

After the order is placed, it will remain in 'status = Pending' until the payment is completed.

The additional information needed by the shopper to finalize the payment is provided in the PaymentDetails node.

Wire

Payment method object structure

There are no specific payment method data that is mandatory or optional.

Request sample

After the order is placed, it will remain in 'status = Pending' until the payment is completed.

The additional information needed by the shopper to finalize the payment is provided in the PaymentDetails node.

Check

Payment method object structure

There are no specific payment method data that is mandatory or optional.

Request sample

After the order is placed, it will remain in 'status = Pending' until the payment is completed.

The additional information needed by the shopper to finalize the payment is provided via email.

Integration test cases

  1. Build a request with all the relevant information to place a new order. Make sure that when the order is sent in the API the response contains an order object (order was placed successfully).

  2. Make sure that you display the information needed by the shopper to finalize the payment.

  3. If you have any additional webhook integrations, make sure that the webhooks are correctly configured and that the notifications are received and processed successfully.

Last updated

Was this helpful?