Published at: 2026-10-12

Configure online order payment


Before you begin

❗
  • Applicable scope: ShareOrder Professional Edition.
  • Role and permission: Use an admin account with ShareOrder management permission.
  • Prerequisites: Prepare test accounts, products, and price data.

Steps

Online Pay configuration (dedicated Mini Program only)

Associate WeChat and Alipay with the enterprise wallet

If downstream dealers need Online Pay after placing an order, bind the enterprise WeChat and Alipay merchant accounts in the Enterprise wallet app. By default, one enterprise can bind one WeChat account and one Alipay account.
Find Enterprise wallet in more apps and follow the guide to bind the merchant accounts.
NOTE: WeChat and Alipay charge fees. See their official documentation.

Dedicated Mini Program hosting is required

To enable Online Pay, upgrade the enterprise to a dedicated Mini Program. WeChat Online Pay requires the Mini Program entity and the WeChat Pay entity to match.
See the dedicated Mini Program hosting guide.
NOTE: If you only need QR Code Payment or Online Pay on web, you can skip this step.

Configuration guide

Order-based Online Pay

Standard configuration steps
  1. Turn on the switch.
Turn on Online Pay in admin:
alt text Setup > In-process trading management > Related Documents configuration > Enable online payment
  1. Configure the layout: after the switch is on, show the Payment method field on the Sales Order Form Page layout:
To use Online Pay on the order list, add the Online payment button to the Sales Order list PC layout:
Result:
After Enable online payment is on, selecting Online Pay when creating an order launches the payment component:
alt text Payment and payment transactions are generated in the background.
Customize the Online Pay button and payment conditions
Path: Setup > Standard Object > Sales Order > Buttons > Online payment
You can define Visibility Conditions for the button (standard PaaS capability):

Payment-based Online Pay

After WeChat or Alipay is bound (in 1&N mode, the WeChat Mini Program can use only WeChat Pay; web can use WeChat or Alipay), enable online payment on Payment.
After online payment is enabled, the Payment object (new Payment) gets a Payment method field and preset Online payment and QR Code Payment buttons. When creating Payment, users can choose online payment.
alt text When creating Payment on web or Mini Program, set Payment method to online payment. The button shows Online payment, then opens the WeChat Pay page. After payment, Payment is created.
Online Pay is supported from the order list, order details, or a standalone Payment create page.

Online top-up

For Prepaid Deposit or deposit scenarios, users can top up directly. When creating Payment, set payment method to Online Pay and set Payment Collection Purpose to Prepaid Deposit:
Customer Fund Account balances update after a successful top-up. Button order follows the layout configuration.

Expected results

Use a test account to confirm the saved settings take effect on the related pages and records.

Undo or roll back

Return to the configuration entry, restore the previous switch, layout, or rule values, and re-verify with a test account.

Related topics

Submit Feedback